Mitsubishi Electric Melsec Q Series Programming Manual page 191

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

Advertisement

3 MOTION DEDICATED PLC INSTRUCTION
(5) Order of instruction execution
Methods to control using execution data after it is transmitted from the PLC CPU
to the Motion CPU are shown below.
(a) Method to execute after data is written to the shared memory area (Multiple
CPU high speed transmission area).
Write the data from PLC CPU to the shared memory area (Multiple CPU
high speed transmission area) of the self CPU, 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 the data
has been writing to shared memory area (Multiple CPU high speed transmission area
(U3E0\G10000 to U3E0\G10003) from PLC CPU (CPU No.1).
Sequence program (PLC CPU side)
M0
Instruction
execution
command
Servo program (Motion CPU side)
K 10: Real
1 INC-1
Axis 1, U3E0\G10000
Speed
U3E1
\G516.0
Start accept
flag of CPU
No.2(Axis 1)
m
U3E0\G10002 mm/min
3 - 80
DMOVP K10000
U3E0\G10000
Servo program
K10 position
command
DMOVP K100000 U3E0\G10002
Servo program
K10 speed
command
DP.SVST H3E1 "J1" K10 M100 D100
RST M0
Instruction
execution
command

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents