![background image](http://html1.mh-extra.com/html/omron/nj501-1300/nj501-1300_user-manual_742205283.webp)
10-29
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
//MC_GroupEnable
GRP_EN(
AxesGroup
:= MC_Group000,
Execute
:= Grp_En_Ex,
Done
=> Grp_En_D,
Busy
=> Grp_En_Bsy,
CommandAborted
=> Grp_En_Ca,
Error
=> Grp_En_Err,
ErrorID
=> Grp_En_ErrID
);
//MC_MoveLinearAbsolute
MV_LIN_ABS(
AxesGroup
:= MC_Group000,
Execute
:= Mv_Lin_Abs_Ex,
Position
:= Mv_Lin_Abs_Pos,
Velocity
:= Mv_Lin_Abs_Vel,
Acceleration
:= Mv_Lin_Abs_Acc,
Deceleration
:= Mv_Lin_Abs_Dec,
Jerk
:= Mv_Lin_Abs_Jrk,
Done
=> Mv_Lin_Abs_D,
Busy
=> Mv_Lin_Abs_Bsy,
Active
=> Mv_Lin_Abs_Act,
CommandAborted
=> Mv_Lin_Abs_Ca,
Error
=> Mv_Lin_Abs_Err,
ErrorID
=> Mv_Lin_Abs_ErrID
);
//MC_GroupStop
GRP_STP(
AxesGroup
:= MC_Group000,
Execute
:= Grp_Stp_Ex,
Deceleration
:= Grp_Stp_Dec,
Done
=> Grp_Stp_D,
Busy
=> Grp_Stp_Bsy,
Active
=> Grp_Stp_Act,
CommandAborted
=> Grp_Stp_Ca,
Error
=> Grp_Stp_Err,
ErrorID
=> Grp_Stp_ErrID
);
//MC_GroupImmediateStop
GRP_IMD_STP(
AxesGroup
:= MC_Group000,
Execute
:= Grp_Imd_Stp_Ex,
Done
=> Grp_Imd_Stp_D,
Busy
=> Grp_Imd_Stp_Bsy,
CommandAborted
=> Grp_Imd_Stp_Ca,
Error
=> Grp_Imd_Stp_Err,
ErrorID
=> Grp_Imd_Stp_ErrID
);
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...