Mitsubishi Electronics Q173CPU(N) Home Security System User Manual


 
5 - 42
5 MOTION DEDICATED PLC INSTRUCTION
5.8 Read from The Devices of The Motion CPU: S(P).DDRD (PLC instruction:
S(P).DDRD
)
• Read instruction from the devices of the Motion CPU : S(P).DDRD
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.DDRD
SP.DDRD
Start request
S.DDRD
(S2) (D1) (D2)
(n1)
(S1)S.DDRD
(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
(S1) First device of the self CPU in which control data is stored.
(S2) First device of the target CPU in which reading data is stored.
(D1) First device of the self CPU which stores the reading 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 reading
data
Set the number of reading data. 1 to 16 User