
XL7 User Manual
NOTE: Setting the PLC mode to stop while the stepper is in operation causes the stepper output to
immediately drop to zero and the current stepper count to be lost.
NOTE: The stepper output level may cause damage or be incompatible with some motor drive inputs.
Consult drive documentation to determine if output level and type is compatible.
11.6 PWM Functions Register Map
The register assignments for the high speed I/O can be moved via a setting in Cscape. The values shown
are the DEFAULT values and may not match the same starting point as the values shown below.
Table 11.3 – PWM Functions Register Map
PWM 1 Duty Cycle (32-bit)
Start Frequency – Stepper 1
Run Frequency – Stepper 1
Acceleration Count – Stepper 1
Deceleration Count – Stepper 1
PWM 2 Duty Cycle (32-bit)
Start Frequency – Stepper 2
Run Frequency – Stepper 2
Acceleration Count – Stepper 2
Deceleration Count – Stepper 2
11.7 PWM Examples
To get a 50% Duty Cycle @ 10 kHz
waveform on PWM1:
Set %AQ421-422 = 16,000 Set %AQ423-424 = 10,000
To get a 50% Duty Cycle on PW1 and
90 % Duty Cycle on PWM2 @ 1 kHz
waveform:
Set %AQ421-422 = 16,000
Set %AQ431-432 = 28,800
(duty cycle (32000 * 0.9))
Set %AQ423-424 = 1,000
Set %AQ433-434 = 1,000
To turn PWM 1 output ON all the time
Set %AQ423-424 = Any Value
To turn PWM 1 output OFF all the
time
Set %AQ421-422 = 0 Set %AQ423-424 = Any Value
Page 51 of 110
Kommentare zu diesen Handbüchern