Mitsubishi Electronics Q173CPU(N) Home Security System User Manual


 
5 - 38
5 MOTION DEDICATED PLC INSTRUCTION
5.7 Write from The PLC CPU to The Motion CPU: S(P).DDWR (PLC instruction:
S(P).DDWR
)
• Write instruction from the PLC CPU to the Motion CPU (S(P).DDWR)
Usable devices
Internal devices
(System, User)
MELSECNET/10
direct J \
Setting data
(Note)
Bit Word
File
register
Bit
digit
specified
Indirectly
specified
device
Bit Word
Special
function
module
U
\G
Index
register
Z
Constant
K, H
Other
(n1)
(S1)
(S2)
(D1)
(D2)
: Usable : Usable partly
(Note) : Setting data (n1) to (D2) : Index qualification possible
(S1)SP.DDWR
SP.DDWR
Start request
S.DDWR
(S2) (D1) (D2)
(n1)
(S1)S.DDWR
(S2) (D1) (D2)(n1)
[Instruction] [Condition]
Start request
[Setting data]
Setting data Description Data type
(n1)
(First I/O No. of the target CPU)/16
Value to specify actually is the following.
(Note-1)
CPU No.1 : 3E0H, CPU No.2 : 3E1H, CPU No.3 : 3E2H, CPU No.4 : 3E3H
16-bit
binary
(S1) First device of the self CPU in which control data is stored.
(S2) First device of the self CPU in which writing data is stored.
(D1) First device of the target Motion CPU which stores the writing data.
16-bit
binary
(D2) Bit device which make turn on for one scan at completion of instruction. Bit
(Note-1) : Motion CPU cannot used CPU No.1 in the Multiple CPU configuration.
[Control data]
Device Item Setting data
Setting
range
Set by
S1+0 Complete status
The condition result at the completion of the
instruction is stored.
0 : No error (Normal completion)
Except 0 : Error code
— System
S1+1
Number of writing
data
Set the number of writing data 1 to 16 User