Event trigger examples – Yaskawa SMC–4000 User Manual
Page 317

307
SMC–4000 User Manual
Event Trigger Examples:
Event Trigger - Multiple Move Sequence
The AM trippoint is used to separate the two PR moves. If AM is not used, the controller returns a ? for
the second PR command because a new PR cannot be given until motion is complete.
In the above example, the AM trippoint is used to separate the two PR moves. If AM is not used, the
controller returns a ? for the second PR command because a new PR cannot be given until motion is
complete.
MR X or Y or Z or W
(A or B or C or D or E or F or G or
H)
Halt program execution until after reverse motion
reached absolute position. Only one axis may be
specified. If position is already past the point, then MR
will trip immediately.
WT n
Halts program execution until specified time in msec has
elapsed.
#TWOMOVE
Label
PR 2000
Position Command
BGX
Begin Motion
AMX
Wait for Motion Complete
PR 4000
Next Position Move
BGX
Begin 2nd move
EN
End program
Command
Function