Instruction manual
5 - 26
5 SERVO PROGRAMS FOR POSITIONING CONTROL
(4) Program example that uses the Multiple CPU high speed
transmission memory
Program example to control by the data transmitted from the PLC CPU to Motion
CPU is shown below.
M0
Instruction
execution
command
DMOVP K10000 U3E0\G10000
Servo program
K10 position
command
DMOVP K10000 U3E0\G10002
Servo program
K10 speed
command
DP.SVST H3E1 "J1" K10 M100 D100
RST M0
Instruction
execution
command
U3E1
\G516.0
Start accept
flag of CPU
No.2(Axis 1)
Ladder (PLC CPU side)
Pro
g
ram that starts the servo pro
g
ram
(
positionin
g)
b
y
the DP.SVST instruction after the data is
written to the Multiple CPU high speed transmission memory (U3E0\G10000 to U3E0\G10003)
from the PLC CPU (CPU No.1).
Servo program (Motion CPU side)
K10: REAL
1 INC-1
Axis 1, U3E0\G10000 m
Speed U3E0\G10002 mm/min