10-25
10 Sample Programming
NJ-series CPU Unit Motion Control User’s Manual (W507)
10-2 Basic Pr
o
g
ram
m
in
g
Samples
10
10-2-8 Stop
ping a
n Ax
es Group in Coo
rdinated Motion
Ladder Diagram
StartPg
Lock0
_EC_PDSlavTbl[MC_Axis000.Cfg.NodeAddress]
_EC_CommErrTbl[MC_Axis000.Cfg.NodeAddress
PWR1
Error
Axis
Axis
Enable
Status
Busy
MC_Power
ErrorID
Lock0
MC_Axis000
Pwr1_Status
Pwr1_Bsy
Pwr1_Err
Pwr1_ErrID
FaultHandler
MC_Axis000.MFaultLvl.Active
FaultHandler
EN
HM1
Axis
Axis
Execute
Error
ErrorID
CommandAborted
MC_Home
Done
Busy
MC_Axis000
Pwr1_Status
Hm1_D
Hm1_Bsy
Hm1_Ca
Hm1_Err
Hm1_ErrID
MC_Axis000.Details.Homed
StartPg
Lock1
_EC_PDSlavTbl[MC_Axis001.Cfg.NodeAddress]
_EC_CommErrTbl[MC_Axis001.Cfg.NodeAddress
PWR2
Error
Axis
Axis
Enable
Status
Busy
MC_Power
ErrorID
Lock1
MC_Axis001
Pwr2_Status
Pwr2_Bsy
Pwr2_Err
Pwr2_ErrID
MC_Axis001.MFaultLvl.Active
MC_Group000.MFaultLvl.Active
HM2
Axis
Axis
Execute
Error
ErrorID
CommandAborted
MC_Home
Done
Busy
MC_Axis001
Pwr2_Status
Hm2_D
Hm2_Bsy
Hm2_Ca
Hm2_Err
Hm2_ErrID
MC_Axis001.Details.Homed
The Servo for axis 0 is turned ON if process data communications for axis 0 are active and normal.
When
StartPg
is TRUE, the status of process data communications of axis 0 is checked to see if communications are active and normal.
If a minor fault level error occurs for the axes group, the error handler for the device (FaultHandler) is executed.
Program the FaultHandler according to the device.
If the Servo is ON for axis 0 and home is not defined, the MC_Home instruction is executed.
When
StartPg
is TRUE, the status of process data communications of axis 1 is checked to see if communications are active and normal.
The Servo for axis 1 is turned ON if process data communications for axis 1 are active and normal.
If the Servo is ON for axis 1 and home is not defined, the MC_Home instruction is executed.
Summary of Contents for NJ501-1300
Page 12: ...Sections in this Manual 10 NJ series CPU Unit Motion Control User s Manual W507...
Page 18: ...16 NJ series CPU Unit Motion Control User s Manual W507 CONTENTS...
Page 22: ...Read and Understand this Manual 20 NJ series CPU Unit Motion Control User s Manual W507...
Page 34: ...Revision History 32 NJ series CPU Unit Motion Control User s Manual W507...
Page 86: ...3 Configuring Axes and Axes Groups 3 28 NJ series CPU Unit Motion Control User s Manual W507...
Page 122: ...5 Motion Control Parameters 5 24 NJ series CPU Unit Motion Control User s Manual W507...
Page 158: ...6 Motion Control Programming 6 36 NJ series CPU Unit Motion Control User s Manual W507...
Page 166: ...7 Manual Operation 7 8 NJ series CPU Unit Motion Control User s Manual W507...
Page 182: ...8 Homing 8 16 NJ series CPU Unit Motion Control User s Manual W507...
Page 346: ...10 Sample Programming 10 92 NJ series CPU Unit Motion Control User s Manual W507...
Page 422: ...Appendices A 18 NJ series CPU Unit Motion Control User s Manual W507...
Page 423: ...Index 1 NJ series CPU Unit Motion Control User s Manual W507 I Index...
Page 430: ...Index 8 NJ series CPU Unit Motion Control User s Manual W507 Index...