Chapter 6 Motion Function Blocks
6.8.7 Homing (NC_Home)
NC_Home
NcChannelNcChannel
Execute Done
UINTUINT
BOOL BOOL
Busy BOOL
Error BOOL
ErrorID WORD
NcAxisUINT
ReferenceNumUINT
Active BOOL
Set the NC channel to make the command.
Start the automatic operation in the rising Edge.
Set the channel axis. (1~10: X=1, Y=2, … B=8, C=9, S=10)
Select the origin type. (1~4: first origin ~ fourth origin)
Indicate the state of motion function block completion.
Indicate that the execution of motion function block is not completed.
Indicate that the current Function Block is controlling the axis.
Indicate whether an error occurs or not.
Output the number of error occurred while motion function block is running.
(1) This motion function block performs homing to the corresponding NC channel under the NC control.
(2) Homing to the 1st origin, 2nd origin, 3rd origin, and 4th origin is executed according to the values set in ReferenceNum. The
origin coordinates can be set for each axis parameters of NC parameters in XG5000.