Mitsubishi Electric R16MTCPU Programming Manual page 93

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

Method to execute after data is written by M(P).DDWR/D(P).DDWR instruction
Write the data from the PLC CPU to the Motion CPU by M(P).DDWR/D(P).DDWR instruction, and then it can be utilized for
Motion dedicated PLC instruction execution.
■Program example
Program which starts the servo program (positioning) by MP.SVST instruction after data is written to D3000 to D3002 of the
Motion CPU (CPU No.2) from the PLC CPU (CPU No.1) by MP.DDWR.
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
D3000 μm
Axis
1,
Speed
D3002 mm/min
DMOVP K10000 D0
Servo program
K10 position
command
DMOVP K10000 D2
Servo program
K10 speed
command
MOVP
K4
Number of
writing data
points
MP.DDWR H3E1 D50 D0 D3000 M50
MP.SVST H3E1 "J1" K10 M100 D100
RST M0
D51
Instruction
execution
command
2 MOTION DEDICATED PLC INSTRUCTION
2
91
2.3 Precautions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents