MC_Power
The MC_Power instruction makes a Servo Drive ready to operate.
Instruction Name
FB/
FUN
Graphic expression ST expression
MC_Power Power Servo FB
MC_Pow
er_instance
Error
Axis Axis
Enable Status
Busy
MC_Power
ErrorID
MC_Power_instance (
Axis :=parameter,
Enable :=parameter,
Status =>parameter,
Busy =>parameter,
Error =>parameter,
ErrorID =>parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Enable Enable BOOL TRUE or
FALSE
FALSE The device is ready for operation when the
value of this variable is TRUE, and not
ready when it is FALSE.
Output Variables
Name Meaning
Data
type
Valid
range
Description
Status Servo ON BOOL TRUE or
F
ALSE
TRUE when the device is ready for operation.
Busy Executing BOOL TRUE or
F
ALSE
TRUE when the instruction is acknowledged.
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.
Output Variable Update Timing
Name Timing for changing to TRUE Timing for changing to FALSE
Status When the specified axis becomes ready for oper-
ation.
• When operation ready status for the specified
axis is cleared.
• When Error changes to TRUE.
Busy When Enable changes to TRUE.
• When Enable changes to F
ALSE.
• When Error changes to TRUE.
3 Axis Command Instructions
3-3
NY-series Motion Control Instructions Reference Manual (W561)
MC_Power
3
Variables