3 - 55
3 MOTION DEDICATED PLC INSTRUCTION
3.2.9 Write device data of the self CPU to the device of other CPU: D(P).DDWR
(PLC instruction: D(P).DDWR )
Setting
data
(Note-2)
Usable devices
Internal devices
(System, User)
File register
Link direct device
J
\G
Unit access device
U \G
Index
register
Z
Constant
Others
Bit Word Bit Word Bit Word Bit Word
Decimal K,
Hexadecimal
H
Real
character
string
(n1)
(S1)
(Note-1)
(Note-1)
(S2)
(D1)
(D2)
(Note-1)
(Note-1)
: Usable : Usable partly
(Note-1): Local devices cannot be used.
(Note-2): Setting data (n1) to (D2) : Index qualification possible (except constant)
D.DDWR (S2) (D1)(S1)(n1) (D2)
Command
D.DDWR
DP.DDWR (S2) (D1)(S1)(n1) (D2)
Command
[Condition][Instruction]
DP.DDWR
[Setting data]
Setting data Description Set by Data type
(n1)
(First I/O No. of the target CPU)/16
Value to specify actually is the following.
CPU No.2: 3E1H, CPU No.3: 3E2H, CPU No.4: 3E3H
(Note): Motion CPU cannot be set as CPU No.1 in the Multiple CPU configuration.
User 16-bit binary
(S1) Start device of the self CPU where control data are stored. User Word
(S2) Start device of the self CPU where writing data are stored. User Word
(D1)
Start device of the target Motion CPU that stores writing data.
POINT
Data can be written in device like a motion register (#) etc. of Motion
CPU outside the range in the PLC CPU that executes this instruction, by
setting it by a character sequence " ".
User
Word/
Character
sequence
(D2)
Complete devices
(D2+0): Device which make turn on for one scan at accept completion of
instruction.
(D2+1): Device which make turn on for one scan at accept abnormal completion of
instruction.
("D2+0" also turns on at the abnormal completion.)
System Bit