Omron NY532-1500 User Manual page 301

Ny-series ipc machine controller industrial panel pc / industrial box pc
Hide thumbs Also See for NY532-1500:
Table of Contents

Advertisement

After home is defined for axis 0 and axis 1, the axes group is enabled.
Hm1_D Hm2_D
MC_Group000.Status.Disabled
The input parameters for the MC_MoveLinearAbsolute and MC_GroupStop instructions are set.
InitFlag
If the axes group is enabled, linear interpolation is executed.
MC_Group000.Status.Ready
If the external button turns ON (i.e., StopOn changes to TRUE) during execution of linear interpolation,
the MC_GroupStop instruction is executed to decelerate the axes to a stop.
StopOn MC_Group000.Status.Moving
If the Error or CommandAborted output variable of the MC_GroupStop instruction is TRUE,
the MC_GroupImmediateStop instruction is executed to stop immediately.
Grp_Stp_Err
Grp_Stp_Ca
NY-series Industrial Panel PC / Industrial Box PC Motion Control User's Manual (W559)
MC_GroupEnable
MC_Group000
AxesGroup
Execute
1
// Parameters for MC_MoveLinearAbsolute
2
Mv_Lin_Abs_Pos [0]
3
Mv_Lin_Abs_Pos [1]
4
Mv_Lin_Vel
5
Mv_Lin_Abs_Acc
6
Mv_Lin_Abs_Dec
7
Mv_Lin_Abs_Jrk
8
// Parameters for MC_GroupStop
9
Grp_Stp_Dec
10
Grp_Stp_Jrk
11
InitFlag:=TRUE;
// InitFlag is made TRUE.
MV_LIN_ABS
MC_MoveLinear
MC_Group000
AxesGroup
Execute
Mv_Lin_Abs_Pos
Position
Mv_Lin_Abs_Vel
Velocity
Mv_Lin_Abs_Acc
Acceleration
Mv_Lin_Abs_Dec
Deceleration
Mv_Lin_Abs_Jrk
Jerk
Mv_Lin_Abs_Cs
CoordSystem
Mv_Lin_Abs_Bm
BufferMode
Mv_Lin_Abs_Tm
TransitionMode
MC_GroupStop
MC_Group000
AxesGroup
Execute
Grp_Stp_Dec
Deceleration
Jerk
BufferMode
GRP_IMD_STP
MC_GroupImmediateStop
MC_Group000
AxesGroup
Execute
10 Sample Programming
GRP_EN
AxesGroup
Done
Busy
Grp_En_Bsy
CommandAborted
Grp_En_Ca
Error
Grp_En_Err
ErrorID
Grp_En_ErrID
:= LREAL#3000
:= LREAL#3000
:= LREAL#1000
:= LREAL#1000
:= LREAL#1000.0;
:= LREAL#1000.0;
:= LREAL#1000.0;
:= LREAL#1000.0;
AxesGroup
Done
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
GRP_STP
AxesGroup
Done
Busy
Grp_Stp_Bsy
Active
Grp_Stp_Act
CommandAborted
Grp_Stp_Ca
Error
Grp_Stp_Err
ErrorID
Grp_Stp_ErrID
AxesGroup
Done
Busy
Grp_Imd_Stp_Bsy
CommandAborted
Grp_Imd_Stp_Ca
Error
Grp_Imd_Stp_Err
ErrorID
Grp_Imd_Stp_ErrID
Grp_En_D
10
Mv_Lin_Abs_D
Grp_Stp_D
Grp_Imd_Stp_D
10-25

Advertisement

Table of Contents
loading

Table of Contents