1572
16 ETHERNET INSTRUCTIONS
16.6 Clearing Error Information
■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
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.ERRCLEAR
ZP.ERRCLEAR
(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 Clear target specification Specify the error information to clear. 0000H to 0080H,
0100H, 0101H,
8101H, FFFFH
User
+3 Clear function specification Specify the function to clear.
• 0000H: Clear the error code.
• FFFFH: Clear the error log.
0000H, FFFFH User
+4 LED off specification Specify the off-target LED (ERR LED, P ERR LED of PORT1, or P ERR LED of
PORT2).
• 0000H: Do not turn off any ERR LED.
• 0001H: Turn off the P ERR LED of PORT1.
• 8001H: Turn off the P ERR LED of PORT2.
• FFFFH: Turn off all ERR LEDs.
If 0001H or 8001H is specified and the P ERR LEDs of PORT1 and PORT2 are
both off after the ERRCLEAR instruction is executed, the ERR LED
automatically turns off.
If either one of the P ERR LED is on, the ERR LED also remains on.
0000H, 0001H,
8001H, FFFFH
User
+5 to +7 System area