HMC7000 Series I/O Module Guide
49
HMC7000 Series I/O Module Guide
49
Configuring PWM Outputs
Reference the tables below when configuring the PWM outputs:
Normal PWM
Function
Register
Description
Output
Y2
Y4
Physical Output
Configuration Register
MWnn24
MWnn30
Value = 1 for this mode
Frequency Setting Register
1
MWnn25
MWnn26
MWnn25
MWnn26
Range = 1 to 10000
ON Duty Setting Register
MWnn27
MWnn28
MWnn31
MWnn32
Range = 0 to 100
Output Enable Flag
MWnn36_0
MWnn36_1
Enabled when ON
ON Duty Setting Error Flag
MWnn29_2
MWnn29_7
ON = error (resets automatically)
Frequency Setting Error Flag
MWnn29_3
MWnn29_3
ON = error (resets automatically)
Note 1: Both PWM outputs must run at the same frequency.
CW/CCW
Function
Register
Description
Output
Y2: CW
Y4: CCW
Physical Output
Configuration Register
MWnn24
Value = 3 for this mode
Frequency Setting Register
MWnn25
MWnn26
Range = -10000 to -1;
1 to 10000
Output Enable Flag
MWnn36_0
Enabled when ON
Frequency Setting Error Flag
MWnn29_3
ON = error (resets automatically)