Name Data type Default Comment
MC_Axis001.MFaultLvl.Active BOOL FALSE TRUE while there is a minor fault level error for
axis 2.
Pwr1_Status BOOL FALSE This variable is assigned to the Status output
variable from the PWR1 instance of the
MC_Power instruction. This variable changes to
TRUE when the Servo is turned ON.
Pwr2_Status BOOL FALSE This variable is assigned to the Status output
variable from the PWR2 instance of the
MC_Power instruction. This variable changes to
TRUE when the Servo is turned ON.
StartPg BOOL FALSE The Servos for the axes in the axes group are
turned ON if this variable is TRUE and Ether-
CA
T process data communications are estab-
lished.
InitFlag BOOL FALSE This variable indicates if it is necessary to set
the input parameters.
Input parameters are set when this variable is
F
ALSE. When setting the input parameters is
completed, this variable changes to TRUE.
Sample Programming
StartPg
Lock1
MC_Axis
000.DrvStatus.Ready
Lock2
MC_Axis001.DrvStatus.Ready
If StartPg is TRUE, check that the Servo Drives for each axis are ready.
PWR1
Erro
r
Axis Axis
Enable Status
Busy
MC_Power
ErrorID
Lock1
MC_Axis000
Pw
r1_Status
Pwr1_Bsy
Pwr1_Err
Pwr1_ErrID
If the Servo Drive is ready, the Servo is turned ON.
PWR2
Erro
r
Axis Axis
Enable Status
Busy
MC_Power
ErrorID
Lock2
MC_Axis001
Pw
r2_Status
Pwr2_Bsy
Pwr2_Err
Pwr2_ErrID
4 Axes Group Instructions
4-63
NY-series Motion Control Instructions Reference Manual (W561)
MC_MoveCircular2D
4
Sample Programming