Chapter 17 Motion control instructions 
 
454  Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 
Arguments 
Parameter  Parameter type  Data type  Description 
EN  Input  BOOL  Function block enable. 
When EN = TRUE, execute current MC_Home computation. 
When EN = FALSE, there is no computation. 
Applies only to LD programs. 
AxisIn  Input  AXIS_REF  See also AXIS_REF data type on page 442. 
Execute  Input  BOOL  When TRUE, starts the motion at the rising edge. 
Position 
 
Input  REAL  Absolute position is set when the reference signal is detected and configured 
Home offset is reached. 
The value range for this input is -0x40000000 – 0x40000000 physical pulse 
after the position is converted from user position unit to PTO pulse. Set the 
Position value within the Soft Limit. 
An invalid input value results in an error.   
Error ID = MC_FB_ERR_PARAM. 
HomingMode  Input  SINT  Enum input for Homing mode   
See Homing modes on page 457. 
BufferMode  Input  SINT  Not used. The mode is always mcAborting. 
ENO  Output  BOOL  Enable out. 
Applies only to LD programs. 
Axis  Output  AXIS_REF  Axis output is read-only in LD programs. 
See also AXIS_REF data type on page 442. 
Done  Output  BOOL  When TRUE, the Homing operation completed successfully and the axis state 
is set to StandStill. 
Busy  Output  BOOL  When TRUE, the function block is not finished. 
Active  Output  BOOL  When TRUE, indicates that the function block has control on the axis. 
CommandAborted  Output  BOOL  When TRUE, command was aborted by another command, or error stop. 
Error  Output  BOOL  When TRUE, an error was detected. 
ErrorID  Output  UNIT  Error identification. 
See also Motion control function block error IDs on page 440.