TECHNICAL NOTE
MOTION APPLICATION ENGINEERING GROUP
Yaskawa Electric America - 2121 Norman Drive South – Waukegan IL 60085
(800) YASKAWA - Fax (847) 887-7280
11/23/2005 55 of 55 eng/05.055/MCD
Rules using motion program subroutines:
• Like any programming environment’s subroutine, motion program
subroutines should be used to recall a repeatable process. (Example:
writing to Servopack Parameters.)
Register Ranges to use and Why:
When using motion programs the programmer should not use Function blocks.
Therefore, the function block’s Reserved Data Area (RDA) is available for Bit Handshaking and
data sharing between Motion Programs and ladder code.
MP900: MW00100~MW03999
MP2000: MW30000~MW65535
Before the subroutine is called
the “main code” prepares the
operation. The parameter
number and value to write.
The subroutine does the parameter write.
The subroutine is called.