MC_HomeWithParameter
The MC_HomeWithParameter instruction sets the homing parameter and operates the motor to deter-
mine home. It uses the limit signals, home proximity signal, and home signal.
Instruction Name
FB/
FUN
Graphic expression ST expression
MC_Home-
WithParame-
ter
Home with
Parameters
FB
MC_HomeWithParameter_instance
Axis Axi
s
HomingParameter HomingParameter
Execute
Error
ErrorID
CommandAborted
MC_HomeWithParameter
Done
Busy
MC_HomeWithParameter_in-
stance (
Axis :=parameter,
HomingParameter :=parameter,
Execute :=parameter,
Done =>parameter,
Busy =>parameter,
CommandAborted =>parameter,
Error =>parameter,
ErrorID =>parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Execute Execute BOOL TRUE or
FALSE
FALSE The instruction is executed when the value
of this variable changes to TRUE.
Output Variables
Name Meaning
Data
type
Valid
range
Description
Done Done BOOL TRUE or
F
ALSE
TRUE when the instruction is completed.
Busy Executing BOOL TRUE or
F
ALSE
TRUE when the instruction is acknowledged.
CommandAborted Command
Aborted
BOOL TRUE or
F
ALSE
TRUE when the instruction is aborted.
Error Error BOOL TRUE or
F
ALSE
TRUE while there is an error.
ErrorID Error Code WORD
*1
Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
*1. The upper four digits of the event code give the error code for ErrorID. Refer to the NY
-series Troubleshooting Manual
(Cat. No. W564) for the event codes.
3 Axis Command Instructions
3-41
NY-series Motion Control Instructions Reference Manual (W561)
MC_HomeWithParameter
3
Variables