10 mc_home, Mc_home – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 114

Advertising
background image

L-force | PLC Designer - SoftMotion

The SM_PLCopen.lib library

POUs for the motion control of individual axes

114

L

DMS 5.2 EN 03/2011 TD17

6.2.10

MC_Home

This program organisation unit from SM_PLCopen.lib starts a reference run in the drive.

This is manufacturer-specific and can only be started via the Drive Interface. Once the drive

indicates that the run has been completed successfully, the "Done" output is set.

Inputs (VAR_IN)
Execute : BOOL (default: FALSE)
The drive reference run will be started on a rising edge.
Position : REAL
Indicates the absolute position of the drive when the reference signal is detected.

Outputs (VAR_OUT)
Done : BOOL (default: FALSE)
If this is TRUE, the reference run has been completed and the drive is at standstill again.
CommandAborted : BOOL (default: FALSE)
If this is TRUE, the command was aborted by another.
Error : BOOL (default: FALSE)
TRUE indicates an error in the function block.
ErrorID : SMC_Error (INT )
Error number

Advertising