Mitsubishi MELSEC-Q/L Programming Manual page 690

Table of Contents

Advertisement

(b) String specification
The string specification is a method to specify a device in another CPU to be written/read by character string.
X0
In the string specification, data can be written to/read from all device ranges of another CPU.
For example, when data register in host CPU is 12k points and data register in another CPU is 16k points, data can
be written/read by 16k points from the start of the data register in another CPU.
D0
to
D12287
Remark
The following explains precautions for string specification.
• The number of characters that can be specified is 32.
• Whether "0" is appended at the start of the device number or not, the devices are processed as the same.
For example, both "D1" and "D0001" are processed as "D1".
• Whether a device is specified by upper case character or lower-case character, they are processed as the same.
For example, both "D1" and "d1" are processed as "D1".
• If a device not existing in another CPU is specified by a character string, the instruction will be completed abnormally.
(4) Managing the multiple CPU high speed transmission area
(a) The multiple CPU high speed transmission area is managed by blocks in units of 16 words.
The following table shows the number of blocks that can be used in each CPU and the number of blocks used in the
instruction.
C Number of CPU modules
2
3
4
*1:
For setting of the system area, refer to the QCPU User's Manual (Multiple CPU System).
688
Program for string specification with the DP.DDWR instruction
DP.DDWR H3E1
D0
Writable/readable device range in string specification
Host CPU
Data register
(12k points)
D16383
1k points
46
22
14
D100
"D200"
Specifies "D200", a device in another CPU
to be written by characer string.
Another CPU
D0
Data register
to
(16k points)
Writable/readable
*1
System area
2k points
110
54
35
M0

Advertisement

Table of Contents
loading

Table of Contents