2) sequence program, A-14 (2) sequence program – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual
Page 335

Appendices
B.1 Programs for Controlling Motion Program Execution
A-14
(2) Sequence Program
No MSEE command can be embedded in sequence programs.
In this case, embed an MSEE command in the H drawing.
"---------------------------------------
" Servo ON command
"---------------------------------------
OB80000 = IB00000;
"Axis 1 servo ON"
"---------------------------------------
" Control signal
"---------------------------------------
DB000010 = PON(IB00001 MB000000); " Program start "
DB000011 = IB00002;
" Pause "
DB000012 = IB00003;
" Program stop "
DB000015 = IB00004;
" Alarm reset "
"---------------------------------------
" Stops the motion program operation
"---------------------------------------
IF NON(DB000000 MB000001) == 1;
" Program operation OFF? "
;
" Process when the program
operation stops
"
IEND;
END;
The servo turns ON
when IB00000 turns
ON.
The motion program starts running
when IB00001 turns ON.
IMPORTANT