4 smc_resetaxisgroup – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 29

DMS 5.2 EN 03/2011 TD17
L
29
L-force | PLC Designer - SoftMotion
The SoftMotion drive interface
SM_DriveBasic.lib and automatic code generation
3.2.2.4
SMC_ResetAxisGroup
With this function block a complete axis group can be reinitialised.
Inputs/outputs (VAR_IN_OUT)
AxisGroup : SMC_AXISGROUP_REF
Axis group to be reinitialised.
Inputs (VAR_INPUT)
bExecute: BOOL
If this input is TRUE, the POU starts with the reinitialisation of the axis group.
bKeepRatioSettings: BOOL
If this input is TRUE, the previous gearbox settings (dwRatioTechunitsDenom and
iRatioTechUnitsNum), the modulo value (fPositionPeriod), and the axis type
(iMovementType, linear/rotary) are maintained and are not replaced by the values set in
the control configuration.
Outputs (VAR_OUTPUT)
bDone : BOOL
TRUE if the process has been completed.
bError : BOOL
Error occurred.
nErrorID: SMC_ERROR
Description of the error.