![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
);
Содержание 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...