MAN0878-09-EN_XLE_XLT_UserManual
A u g u s t 2 3 , 2 0 1 8
P a g e 97 | 158
The stepper provides two Boolean registers to provide stepper status
Ready/Done
A high indication on this register (%I30) indicates the stepper sequence can be started
(i.e. not currently busy).
Error
A high indication on this register (%I31) indicates that one of the analog parameters
specified above is invalid or the stepper action was aborted before the operation was
complete. This register is cleared on the next start command if the error was
corrected.
The stepper requires one discrete register (%Q1) to control the stepper action. Setting this
register starts the stepper cycle. This register must remain set to complete the entire cycle.
Clearing this register before the cycle is complete aborts the step sequence and sets the error
bit.
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: Stepper output level may cause damage or be incompatible with some motor driver
inputs. Consult drive documentation to determine if output level and type is compatible.
12.5 PWM functions register map
Table 12.5
–
PWM Function Registers Map
Register
PWM
HSC
Stepper
%AQ1
PWM1 Duty Cycle (32-
bit)
HSC1
Preset Value
Start Frequency
%AQ2
Run Frequency
%AQ3
PWM2 Duty Cycle (32-
bit)
HSC2
Preset Value
Accel Count
(32-bit)
%AQ4
%AQ5
PWM Prescale
(32-bit)
--
Run Count
(32-bit)
%AQ6
%AQ7
PWM Period
(32-bit)
--
Decel Count
(32-bit)
%AQ8
%Q1
--
--
Run
%I30
--
--
Ready/Done
%I31
Error