Mitsubishi Electric MELSEC Q Series Programming Manual page 187

Motion controller, real mode
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

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.
Program that starts the servo program (positioning) by 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).
Sequence program (PLC CPU side)
M0
Instruction
execution
command
U3E1
\G516.0
Start accept
flag of CPU
No.2(Axis 1)
Servo program (Motion CPU side)
K 10: Real
1 INC-1
Axis 1, U3E0\G10000
Speed U3E0\G10002 mm/min
DMOVP K10000
DMOVP K10000
DP.SVST H3E1 "J1" K10 M100 D100
m
5 - 26
U3E0\G10000
Servo program
K10 position
command
U3E0\G10002
Servo program
K10 speed
command
RST M0
Instruction
execution
command

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents