Chapter 6 Motion Function Blocks
6.3.2 Perform the search home (MC_Home)
MC_Home
AxisAxis
Execute Done
UINTUINT
BOOL BOOL
LREAL Position
UINT BufferMode
Busy BOOL
Active BOOL
CommandAborted BOOL
Error BOOL
ErrorID WORD
Specify the axis to be commanded (1~32: real/virtual axis, 33~36: virtual axis)
Start the homing operation in rising Edge.
Specify the absolute position of axis when reference signal is detected.
UINT BufferMode
Specify the sequential operation setting of motion function block.
(Refer to 6.1.4.BufferMode)
Indicate the completion state of motion function block.
Indicate that execution of motion function block is not completed.
Indicate that the current motion function block is controlling the relevant axis.
Indicate that the current motion function block is interrupted by other command.
Indicate whether an error occurs or not.
Output the number of error occurred while motion function block is running.
(1) This motion function block is to give a homing command to the relevant axis.
(2) Homing method is operated as specified in the operation parameter of the relevant axis in advance.
(3) As for Position input, absolute position of axis is specified when Reference Signal is detected or homing is completed.
(4) While this motion function block is running, the axis is 'Homing' state, and when the command is completed, it is switched to
'Standstill'.
(5) The changed parameters can be applied by re-executing the function block (Execute input is On) before the command is
completed. Only Position input can be updated.
(6) Example program
This example shows execution of MC_HOME command when the current command position is 100,000.