Mitsubishi Electric Melsec Q Series Programming Manual page 192

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

3 MOTION DEDICATED PLC INSTRUCTION
(b) Method to execute after data is written by D(P).DDWR instruction
Write the data from the PLC CPU to the Motion CPU by 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 DP.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
DP.DDWR.
Sequence program (PLC CPU side)
M0
Instruction
execution
command
Start accept
flag of CPU
No.2(Axis 1)
Servo program (Motion CPU side)
K 10: Real
1 INC-1
Axis
1,
Speed
DP.DDWR H3E1 D50 D0 D3000 M50
U3E1
\G516.0
DP.SVST H3E1 "J1" K10 M100 D100
D3000
m
D3002 mm/min
3 - 81
DMOVP K10000
D0
Servo program
K10 position
command
DMOVP K100000 D2
Servo program
K10 speed
command
MOVP
K4
D51
Number of
writing data
points
RST M0
Instruction
execution
command

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents