3 Axis Command Instructions
MC_Home
The MC_Home instruction operates the motor to determine home. It uses the limit signals, home prox-
imity signal, and home signal.
Instruction
Name
MC_Home
Home
Variables
Input Variables
Name
Meaning
Execute
Execute
Output Variables
Name
Meaning
Done
Done
Busy
Executing
CommandAborted
Command
Aborted
Error
Error
ErrorID
Error Code
* Refer to the NY-series Troubleshooting Manual (Cat. No. W564).
3-16
FB/FUN
Graphic expression
FB
MC_Home_instance
Axis
Execute
Data type
Valid range
BOOL
TRUE or FALSE
Data type
Valid range
BOOL
TRUE or FALSE
BOOL
TRUE or FALSE
BOOL
TRUE or FALSE
BOOL
TRUE or FALSE
WORD
*
NY-series Motion Control Instructions Reference Manual (W561)
MC_Home
Axis
Done
Busy
CommandAborted
Error
ErrorID
Default
FALSE
The instruction is executed when Exe-
cute changes to TRUE.
Description
TRUE when the instruction is completed.
TRUE when the instruction is acknowledged.
TRUE when the instruction is aborted.
TRUE while there is an error.
Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
ST expression
MC_Home_instance (
Axis :=parameter,
Execute :=parameter,
Done =>parameter,
Busy =>parameter,
CommandAborted
=>parameter,
Error =>parameter,
ErrorID =>parameter
);
Description