9 mc_power, Mc_power – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 113

DMS 5.2 EN 03/2011 TD17
L
113
L-force | PLC Designer - SoftMotion
The SM_PLCopen.lib library
POUs for the motion control of individual axes
6.2.9
MC_Power
This program organisation unit from SM_PLCopen.lib controls the ON/OFF switch (power)
and the status of the drive brakes. If a drive has not been switched on in this way, if no
controller enable has been set or if the brake has not been released, motion control will not
be possible on this drive.
Input/output (VAR_IN_OUT)
Axis : AXIS_REF
The structure that is filled with axis data in the Drive Interface (SM_DriveBasic.lib) is shown
here.
Inputs (VAR_IN)
Enable : BOOL (default: FALSE)
As long as this variable is TRUE, the function block is active.
bRegulatorOn : BOOL (default: FALSE)
Switches the regulator on/off.
bDriveStart : BOOL (default: FALSE)
Applies/releases the brake in the drive.
Outputs (VAR_OUT)
Status : BOOL (default: FALSE)
Indicates whether the drive is currently being regulated (TRUE) or not (FALSE).
Error : BOOL (default: FALSE)
TRUE indicates an error in the function block.
ErrorID : SMC_Error (INT );
Error number