16 ETHERNET INSTRUCTIONS
16.7 Reading Error Information
1575
16
■Applicable devices
*1 FX and FY cannot be used.
*2 FD cannot be used.
*3 T, ST, C, and FD cannot be used.
■Control data
• These instructions read the following error information with regard to the module specified by (U).
*1 Only 0001H to 0010H can be specified when the network type is Q-compatible Ethernet.
Operand Bit Word Double word Indirect
specification
Constant Others
(U)
X, Y, M, L,
SM, F, B,
SB, FX, FY
J\ T, ST, C, D, W,
SD, SW, FD,
R, ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(U) GP.ERRRD
ZP.ERRRD
(s)
*2
(d)
*1
*3
Operand: (s)
Device Item Description Setting range Set by
+0 System area
+1 Completion status The completion status is stored upon completion of the instruction.
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
System
+2 Read information
specification
Specify the error information to read. 0000H to 0080H User
+3 Read target information
specification
Specify the target of the error information to read.
• 0000H: Latest error information
0000H User
+4 Error information The error information that has been read is stored.
• 0000H: No error
• Other than 0000H: Error code
System
+5 to +7 System area
Target name Read
information
specification
(s)+2
Read target
information
specification
(s)+3
Error information to read Buffer memory address
Network type:
Ethernet
Network type: Q-
compatible
Ethernet
Initial error 0000H 0000H Initial error code 1900025 105
Open error 0001H to 0080H
*1
0000H Open error code of connection
The open error code of
connection No. 1 to 128 (0001H
to 0080H) is read.
100 to 163, 2000100
to 2000163
124, 134, 144, 154,
164, 174, 184, 194,
22564, 22574, 22584,
22594, 22604, 22614,
22624, 22634
Error code
((s)+1)
Description
C000H to CFFFH MELSEC iQ-R Ethernet User's Manual (Application)