Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 28

L-force | PLC Designer - SoftMotion
The SoftMotion drive interface
SM_DriveBasic.lib and automatic code generation
28
L
DMS 5.2 EN 03/2011 TD17
Outputs (VAR_OUTPUT)
bDone : BOOL
TRUE as soon as valid data on the outputs.
wState : WORD
Internal state variable of the axis.
bStartingUp : BOOL
Axis group is accelerated, i. e. drives are configured. (0 <= wState <= 99)
bNormalOperation: BOOL
Axis group in normal operation. (wState = 100)
bResetting: BOOL
Axis group is currently reinitialised. (200 <= wState <= 210)
bErrorDuringStartUp: BOOL
An error occurred during acceleration. (wState >= 1000)
pErrorDrive: POINTER TO AXIS_REF
Pointer to the axis causing the error. Only valid if bErrorDuringStartUp = TRUE.
By means of this task the erroneous axis can be deleted from the axis group for the runtime
by setting the variable bDisableDriveInAxisGroup, then the axis group can be reinitialised
via SMC_ResetAxisGroup and continued with the remaining axes that are working
correctly, if the required redundancies within the machine are available