![background image](http://html1.mh-extra.com/html/omron/nj501-1300/nj501-1300_user-manual_742205275.webp)
10-21
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-7 Stop
ping Ax
es dur
ing Single-axis Oper
atio
n
FaultHandler
MC_Axis000.MFaultLvl.Active
FaultHandler
EN
HM
Axis
Axis
Execute
Error
ErrorID
CommandAborted
MC_Home
Done
Busy
MC_Axis000
Pwr_Status
Hm_D
Hm_Bsy
Hm_Ca
Hm_Err
Hm_ErrID
MC_Axis000.Details.Homed
BufferMode
MV_ABS
Deceleration
Active
Axis
Axis
Execute
Done
Position
Busy
Acceleration
Error
Jerk
Direction
MC_MoveAbsolute
Velocity
CommandAborted
ErrorID
MC_Axis000
Hm_D
_eMC_DIRECTION#_mcPositiveDirection
LREAL#10000.0
LREAL#500.0
LREAL#500.0
LREAL#500.0
Mv_Abs_Bsy
Mv_Abs_Act
Mv_Abs_Ca
Mv_Abs_Err
Mv_Abs_ErrID
Mv_Abs_D
BufferMode
STP
Deceleration
Active
Axis
Axis
Execute
Done
Busy
Error
Jerk
MC_Stop
CommandAborted
ErrorID
MC_Axis000
StopOn
LREAL#5000.0
Stp_Bsy
Stp_Act
Stp_Ca
Stp_Err
Stp_ErrID
Stp_D
IMD_STP
StopMode
Axis
Axis
Execute
Done
Busy
Error
MC_ImmediateStop
CommandAborted
ErrorID
MC_Axis000
Stp_Err
_eMC_STOP_MODE#_mcFreeRunStop
Imd_Stp_Bsy
Imd_Stp_Ca
Imd_Stp_Err
Imd_Stp_ErrID
Imd_Stp_D
Stp_Ca
If the
Error
or
CommandAborted
output variable from the MC_Stop instruction changes to TRUE,
the MC_ImmediateStop instruction is executed to stop immediately.
If a minor fault level error occurs for axis 0, 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 for axis 0.
After homing is completed for axis 0, the MC_MoveAbsolute (Absolute Positioning) instruction is executed.
If
StopOn
is TRUE, the MC_Stop instruction is executed.
Содержание NJ501-1300
Страница 12: ...Sections in this Manual 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 18: ...16 NJ series CPU Unit Motion Control User s Manual W507 CONTENTS...
Страница 22: ...Read and Understand this Manual 20 NJ series CPU Unit Motion Control User s Manual W507...
Страница 34: ...Revision History 32 NJ series CPU Unit Motion Control User s Manual W507...
Страница 44: ...1 Introduction to the Motion Control Function Module 1 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 58: ...2 Motion Control Configuration and Principles 2 14 NJ series CPU Unit Motion Control User s Manual W507...
Страница 86: ...3 Configuring Axes and Axes Groups 3 28 NJ series CPU Unit Motion Control User s Manual W507...
Страница 98: ...4 Checking Wiring from the Sysmac Studio 4 12 NJ series CPU Unit Motion Control User s Manual W507...
Страница 122: ...5 Motion Control Parameters 5 24 NJ series CPU Unit Motion Control User s Manual W507...
Страница 158: ...6 Motion Control Programming 6 36 NJ series CPU Unit Motion Control User s Manual W507...
Страница 166: ...7 Manual Operation 7 8 NJ series CPU Unit Motion Control User s Manual W507...
Страница 182: ...8 Homing 8 16 NJ series CPU Unit Motion Control User s Manual W507...
Страница 346: ...10 Sample Programming 10 92 NJ series CPU Unit Motion Control User s Manual W507...
Страница 422: ...Appendices A 18 NJ series CPU Unit Motion Control User s Manual W507...
Страница 423: ...Index 1 NJ series CPU Unit Motion Control User s Manual W507 I Index...
Страница 430: ...Index 8 NJ series CPU Unit Motion Control User s Manual W507 Index...