Mitsubishi MELSEC Q Series Programming Manual page 900

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
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.
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.
Remark
10-4
Writable/readable device range in device specification
Host CPU
D0
Data register
(12k points)
D12287
Program for string specification with the DP.DDWR instruction
X0
DP.DDWR H3E1
Writable/readable device range in string specification
Host CPU
D0
Data register
to
(12k points)
D12287
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.
Another CPU
D0
Data register
(16k points)
D12287
D12288
D16383
D0
D100
"D200"
Specifies "D200", a device in another CPU
to be written by characer string.
Another CPU
D0
Data register
to
(16k points)
D16383
Writable/readable
Not writable/not readable
M0
Writable/readable

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents