Order Of Instruction Execution - Mitsubishi Electric R16MTCPU Programming Manual

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

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.
Method to execute after data is written to the CPU buffer memory
Write the data from PLC CPU to the buffer memory (Fixed cycle 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 CPU buffer
memory (Fixed cycle transmission area (U3E0\HG0 to U3E0\HG3) from 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\GH0 μm
Speed
U3E0\HG2 mm/min
2 MOTION DEDICATED PLC INSTRUCTION
90
2.3 Precautions
DMOVP K10000 U3E0\HG0
Servo program
K10 position
command
DMOVP K100000 U3E0\HG2
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

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents