ZP_ERRRD
Control Data
Device
Item
System area
[0]
s
Completion status
[1]
s
Read information
[2]
s
specification
Read target information
[3]
s
specification
Error information
[4]
s
[5]
s
to
System area
[7]
s
Program Example
The following program reads the open error code of the connection 1.
(The I/O signals of the Ethernet module are X/Y00 to X/Y1F)
[Structured ladder]
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
5-216
5.4.21 ERRRD instruction
Setting data
The instruction completion status is stored.
0
: Normal completion
Other than 0
: Error completion (error code)
Specify the error information to be read.
0
: Initial error code
1 to 16
: Open error code of the corresponding
connection
Specify the target error information to be read.
0000
: Latest error information
H
The read error information is stored.
0000
: No error
H
Other than 0000
: Error code
H
–
–
*1
Setting range
Setting side
–
–
System
–
0,
User
1 to 16
0000
User
H
System
–
–
–
Sets open
error code
Sets latest error
information
Turns execution
flag ON
Reads error
information
Normal completion
Stores error
information
Error completion
Stores error code
Turns execution
flag OFF