8-4
8.1 Reading Module Information
UNIRD
O
peration Error
In any of the following cases, an operation error occurs, the error flag (SM0) is turned ON, and
the corresponding error code is stored to SD0.
[High Performance model QCPU and Universal model QCPU]
• When n1 is other than 0 to FF
H.
(Error code: 4100)
• When n2 is other than 0 to 256.
(Error code: 4100)
• When a total of n1 and n2 is equal to or greater than 257.
(Error code: 4100)
Program Example
In the following program, the module information of I/O numbers 10
H
to 20
H
is stored to Var_D0
and the following devices when X10 turns ON.
[Structured ladder]
[ST]
UNIRD(X10,H1,2,Var_D0);
C
ar
d
information
X/Y
0
mo
d
ule information
X/Y
10
mo
d
ule information
X/YFE
0
mo
d
ule information
X/YFF
0
mo
d
ule information
:
X/Y
20
mo
d
ule information
Device
Var_D
0
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......