5 smc_disablealldrives, 6 smc_enablealldrives – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 30

Advertising
background image

L-force | PLC Designer - SoftMotion

The SoftMotion drive interface

SM_DriveBasic.lib and automatic code generation

30

L

DMS 5.2 EN 03/2011 TD17

3.2.2.5

SMC_DisableAllDrives
With this function the variable bDisableDriveInAxisGroup of each drive is set. This brings

about that at the next execution of the SMC_ResetAxisGroup function no drive is provided,

but that only the basic communication mechanisms of the axis group are executed.

Inputs (VAR_INPUT)
pAG : POINTER TO SMC_AXIS_GROUP
Pointer to the axis group.
Return value of the function: TRUE

3.2.2.6

SMC_EnableAllDrives

In contrast to SMC_DisableAllDrives, by means of this function all drives are switched on

again and are started up by calling SMC_ResetAxisGroup.

Inputs (VAR_INPUT)
pAG : POINTER TO SMC_AXIS_GROUP
Pointer to the axis group.
Return value of the function: TRUE

Advertising