![YASKAWA JEPMC-MP2300S-E Скачать руководство пользователя страница 143](http://html.mh-extra.com/html/yaskawa/jepmc-mp2300s-e/jepmc-mp2300s-e_user-manual_907071143.webp)
5.2 User Programs
5.2.2 Motion Programs
5-11
5
Outline of Motion Control Systems
[ b ] Executing H Drawings by MSEE Command
Motion programs are always called from H drawings using the MSEE command (motion program call command).
Motion programs can be called from any parent, child, or grandchild drawing in an H drawing.
The following figure shows an example of motion program execution.
H drawing ladder commands are executed in hierarchical order i.e., parent drawings, child drawings, then grandchild
drawings each high-speed scan cycle.
The above method is a preparation for running a motion program. When a MSEE command is built in, the motion pro-
gram does not start up. To start up the motion program, after the MSEE command is incorporated, use a control signal
to turn on the request for the program operation startup.
Motion programs are also called each scan cycle, but unlike ladder programs, all motion programs cannot be executed
in one scan. For this reason, motion programs are executed and controlled by special system’s motion management
function.
Caution
When running a motion program, pay attention to the followings:
• The motion program registered in M-EXECUTOR cannot be executed using a MSEE command.
• Multiple motion programs with the same number cannot be executed using a MSEE command.
• A subroutine (MPS
) cannot be executed from a MSEE command in a ladder.
It can only be referenced from a motion program (MPM
, MPS
).
• A sequence program (SPM
, SPS
) cannot be executed from a MSEE command in a ladder.
• The same subroutine cannot be referenced at the same time.
H01
SEE
DWG.H
SEE H01.01
DWG.H01
DWG.H01.01
DEND
MPM001
MSEE
.
.
.
MVS [a1]200. [b1]..
MOV [a1]300. [b1]..
IDC T30
;
IAC T25
;
FM
X
T10000000
;
VEL [a1]5000 [b1]..
MPS101
MSEE
MPM002
MPM001
MPM003
END
END
END
MPM002
MSEE
DEND
MPM003
MSEE
MPS101
RET
DEND
Parent Drawings
Child Drawings
Grandchild Drawings
Motion Programs
System programs are
started according to
execution conditions.
Subroutine
Содержание 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 ...