Mitsubishi MELSEC-Q Series User Manual page 191

Programmable controller multiple cpu system
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

4
COMMUNICATIONS BETWEEN CPU MODULES
CPU shared memory
Multiple CPU high speed transmission
area of CPU No.1
User setting area
Multiple CPU high speed transmission
area of CPU No.1
User setting area
1) Writing with write instruction
Sequence program
Execution of write instruction
POINT
2) Using user setting aera in multiple CPU high speed transmission area
The data written to the multiple CPU high speed transmission area of the CPU
shared memory of the host CPU by the write instruction is sent to the other
CPU in a certain cycle.
The other CPU reads the receive data from the multiple CPU high speed
transmission area of the CPU shared memory by the read instruction.
The other CPU can read the data of the multiple CPU high speed transmission
area of the CPU shared memory at the execution of the instruction, which is
different from the auto refresh of the CPU shared memory.
The figure 4.10 shows the outline of operation where the data written to the
CPU shared memory of the CPU No.1 using the write instruction is read by the
CPU No.2 using the read instruction.
CPU No.1
2) Data transmission to
Procedure for the CPU No.2 to read device data of the CPU No.1
1) Writes data in the user free area of the multiple CPU high speed transmission
area of the CPU No.1 by the write instruction.
2) Sends the data in the multiple CPU high speed transmission area of the CPU
No.1 to that of the CPU No.2.
3) Reads the data in the user setting area of the CPU No. 1 to the specified
device from the multiple CPU high speed transmission area of the host CPU by
the read instruction.
Diagram 4.41 Outline of communication by the program
For the write/read instruction, refer to Section 4.1.4 (1).
(1) For the Motion CPU, the write/read instructions cannot be used.
For the method to access from the Motion CPU to the multiple CPU high
speed transmission area of the CPU shared memory, refer to the manual for
the Motion CPU.
(2) The delay time of data transfer with programs using user setting area in
multiple CPU high speed transmission area is from 0.09 ms to 1.80 ms.
4.1 Communications between CPU modules using CPU shared memory
4.1.4 Communication using CPU shared memory by program
Multiple CPU high speed transmission
CPU No.2
Multiple CPU high speed transmission
3) Reading with read instruction
Execution of read instruction
CPU No.2
CPU shared memory
area of CPU No.1
User setting area
area of CPU No.2
User setting area
Sequence program
4
- 41
1
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents