Communication Between The Plc Cpu And The Motion Cpu In The Multiple Cpu System; Automatic Refresh Function Of The Shared Cpu Memory - Mitsubishi Electric Q172CPU Programming Manual

Melsecq series motion controller sv43
Hide thumbs Also See for Q172CPU:
Table of Contents

Advertisement

3 COMMUNICATION BETWEEN THE PLC CPU AND THE MOTION CPU IN
THE MULTIPLE CPU SYSTEM
3. COMMUNICATION BETWEEN THE PLC CPU AND THE MOTION CPU IN
THE MULTIPLE CPU SYSTEM
The following tasks can be performed between the PLC CPU and the Motion CPU in
the Multiple CPU system.
• Data transfer between CPUs by the automatic refresh function of the shared CPU
• Control instruction from the PLC CPU to Motion CPU by the Motion dedicated
• Reading/writing device data from the PLC CPU to Motion CPU by the dedicated

3.1 Automatic Refresh Function of The Shared CPU Memory

(1) Automatic refresh function of the shared CPU memory
CPU No.1 (PLC CPU)
Shared CPU memory
Self CPU operation data area
System area
Automatic refresh area
User-defined area
1) Written via END processing
of CPU No.1
Device memory
B0 to B1F (CPU No.1)
B20 to B3F (CPU No.2)
memory
Instructions
instruction
(a) The automatic refresh function of the shared CPU memory is executed
automatically the data transfer between CPUs in the Multiple CPU system
during END processing in the PLC CPU or during main cycle processing
(free time except motion control) in the Motion CPU.
When the automatic refresh function is used, the data in the device memory
of the other CPU is read automatically, so the device data of other CPU can
be used as the device data of self CPU.
The diagram below illustrates the automatic refresh operation involving 32
points (B0 to B1F) for the PLC CPU of CPU No.1 and 32 points (B20 to
B3F) for the Motion CPU of CPU No.2.
3) Reading via main cycle
processing of CPU No.2
4) Reading via END
processing of CPU No.1
Processing details of CPU No.1 (PLC CPU) at the END processing.
1) : Data of transmitting devices B0 to B1F for CPU No.1 is transferred to the
automatic refresh area of shared memory in the self CPU.
4) : Data in the automatic refresh area of shared memory in CPU No.2 is
transferred to B20 to B3F in the self CPU.
2) Written via main cycle processing
3 - 1
CPU No.2 (Motion CPU)
Shared CPU memory
Self CPU operation data area
System area
Automatic refresh area
User-defined area
of CPU No.2
Device memory
B0 to B1F (CPU No.1)
B20 to B3F (CPU No.2)
3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpuQ172cpunQ173cpun

Table of Contents