Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
10-4
Writable/readable device range in device specification
(b) String specification
The string specification is a method to specify a device in another CPU to be written/
read by character string.
Program for string specification with the DP.DDWR instruction
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.
Writable/readable device range in string specification
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.
Data register
(12k points)
Data register
(16k points)
D0
D12287
D12288
D16383
D0
D12287
Host CPU Another CPU
Writable/readable
Not writable/not readable
X0
DP.DDWR H3E1 D0 D100 "D200" M0
Specifies "D200", a device in another CPU
to be written by characer string.
Data register
(12k points)
Data register
(16k points)
D0
D16383
D0
D12287
Host CPU Another CPU
Writable/readable
to
to