EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 493

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 APPLICATION INSTRUCTIONS
7.6 Structure Creation Instructions
491
7
Refresh between the multiple CPUs by the COM instruction is performed under the following condition.
Receiving operation from other CPUs: When b4 of SD778 (auto refresh in the CPU shared memory) is 1.
Sending operation from host CPU: When b15 of SD778 (execution status of service processing) is 0.
[LCPU]
Ex.
To speed up processing of the display unit only, specify communication with the display unit only. (Write "1" to bits b14 and
b15 of SD778 (SD778: C000H).)
At the point of the execution of the COM instruction, the CPU module temporarily stops the processing of the sequence
program, and performs specified processing.
The COM instruction can be used in a sequence program any number of times. However, note that the scan time of the
sequence program will be lengthened by the time taken for the processing selected in SD778.
Only with the Universal model QCPU and LCPU, interruption is enabled during the execution of the COM instruction.
However, note that the data can be separated if the refresh data is used by an interrupt program etc.
With the Built-in Ethernet port QCPU and Built-in Ethernet port LCPU, processing time may be increased if the service
process was executed by the COM instruction while the built-in Ethernet ports are in Ethernet connection.
The programs in which the COM instruction cannot be used are shown below:
Low-speed execution type programs
Interrupt programs
Fixed scan execution type programs
For the redundant CPU, there are restrictions on use of the COM instruction. Refer to the manual below for
details.
QnPRHCPU User's Manual (Redundant System)
Operation error
There is no operation error in the COM instruction.
Bit of SD778 Executed Not executed
b0, b1, b3, b6, b13, b14 1 0
b15 0 1
(1) b0: I/O refresh
(2) b1: CC-Link refresh
(3) b3: Auto refresh of intelligent function module
(4) b6: CC-Link IE Field Network refresh
(5) b13: CC-Link IE Field Network Basic refresh
(6) b14: Communication with display unit
(7) b15: Service processing (communication with programming tool, GOT, or other external devices)
(1)(2)(3)(4)(5)(6)(7)
b15 b0b1b2b3b4b14 b13 b12
001/0 1/0 1/01/0
1/0 1/0
SD778
1/0 00
b5b6b7
...
0
END
0
END
0
Execution of COM
instruction
Execution of COM
instruction
Specified processing Specified processing

Table of Contents

Related product manuals