![YASKAWA JEPMC-MP2300S-E Скачать руководство пользователя страница 160](http://html.mh-extra.com/html/yaskawa/jepmc-mp2300s-e/jepmc-mp2300s-e_user-manual_907071160.webp)
5.2 User Programs
5.2.3 Sequence Program
5-28
5.2.3 Sequence Program
A sequence program is a program described with motion language of text format.
The following table shows two types of sequence programs.
The program numbers of sequence programs are managed in the same manner as the motion program num-
bers. Assign a different number for each program number.
• Motion program MPM
: Program number of MPS
• Sequence program SPM
: Program number of SPS
( 1 ) How to Run a Sequence Program
A sequence program is executed by registering it in the M-EXECUTOR program execution definition.
Sequence programs are executed in ascending numeric order.
The following figure shows an execution example.
When the execution type is set to “
Sequence Program (H scan)
” or “
Sequence Program (L scan)
”, the program is
executed at the time the definition is saved. When the execution type is set to
Sequence Program (Start)
, the program
is executed when the power supply is turned ON again next time.
Category
Designation
Method
Features
Number of Programs
Main program
SPM
(
=
1 to 256)
Calling from the M-EXECUTOR
program execution definition
Up to 256 programs of the following types can
be created:
• Main motion program
• Sub motion program
• Main sequence program
• Sub sequence program
Sub program
SPS
(
=
1 to 256)
Calling from the main program
EN
D
EN
D
R
ET
EN
D
SPM003
SPS101
SPM001
Sequence
program
M
-EXE
CU
T
OR
program
execut
i
on
def
i
n
i
t
i
on
SPM002
SS
EE
SPS101
Subrout
i
ne
IF
MW000
<
32767
;
MW000
=
MW000
+
1
;
EL
S
E;
MW000
;
IEN
D
;
Содержание JEPMC-MP2300S-E
Страница 14: ...MEMO ...
Страница 24: ...MEMO ...
Страница 114: ...MEMO ...
Страница 132: ...MEMO ...
Страница 154: ...5 2 User Programs 5 2 2 Motion Programs 5 22 2 Example using a ladder program ...
Страница 156: ...5 2 User Programs 5 2 2 Motion Programs 5 24 2 Example using a ladder program ...
Страница 190: ...MEMO ...
Страница 280: ...MEMO ...
Страница 300: ...7 3 Operation 7 3 5 How to Determine Input Error 7 20 Continued from the previous page ...
Страница 302: ...7 3 Operation 7 3 5 How to Determine Input Error 7 22 Application Example Continued on the next page ...
Страница 306: ...7 3 Operation 7 3 6 Management to Resume Slave CPU Synchronization 7 26 Application Example Continued on the next page ...
Страница 310: ...MEMO ...