9-12
9.2 Writing Device Data to Other CPUs
D_DDWR
9.2
Writing Device Data to Other CPUs
D_DDWR
*1: When file registers (R, ZR) are specified, data that are outside the range in the host CPU can be written to devices of the other
CPUs.
*2: By specifying the start device as a character string " ", data that are outside the range in the host CPU can be written to devices
of the other CPUs.
*3: Indexes cannot be set to the setting data n.
*4: Indexes can be set to the setting data
to
.
*5: Local devices and file registers per program cannot be used as setting data.
*6: FD cannot be used.
*7: FX and FY cannot be used.
D(P)_DDWR
P: Executing condition
:
indicates any of the following
instructions.
D_DDWR
DP_DDWR
Input argument,
n:
Start I/O number of the other CPU divided by 16
CPU No. 1: 3E0
H
CPU No. 2: 3E1
H
CPU No. 3: 3E2
H
CPU
No. 4: 3E3
H
: ANY16
s1:
Start device of the host CPU that stores control data
: Array of ANY16 (0..1)
s2:
Start device of the other CPU in which data to be written are
stored
: ANY16
d1:
Start device of the host CPU to which write data are stored
: ANY
*1
: String
*2
Output argument,
d2:
Completion device
: Array of bit (0..1)
Setting
data
Internal device
R, RZ
J
\
U
\G
Zn
Constant
Others
Bit
Word
*6
Bit
Word
K, H
$
n
*3
−
−
−
−
*4
−
U
*5
U
*5
−
−
−
−
*4
−
−
−
−
−
*4
−
−
−
−
−
*4
U
*7
−
U
*5
−
−
−
−
U
n
i
versa
l
UD
Hi
g
h
Performance
Structured ladder
ST
EN
EN
O
d2
n*
s1
s2
d1
D_DDWR
D_DDWR
(EN, n*, s1, s2, d1, d2);
EN
O
:=
s1
s2
d1
d2
s1
d2
Содержание MELSEC Q Series
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 340: ...6 178 MEMO MTR ...
Страница 708: ...7 368 MEMO ...
Страница 776: ...8 68 MEMO ...
Страница 796: ...9 20 MEMO ...
Страница 804: ...App 8 MEMO ...
Страница 812: ...Index 8 MEMO ...
Страница 815: ......