Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5-238
5.4 Network Dedicated Instruction
5.4.30 ERRCLR instruction
ZP_ERRCLR
Control Data
Program Example
The following program clears the open error code of the connection 1.
(The I/O signals of the Ethernet module are X/Y00 to X/Y1F)
[Structured ladder/FBD]
Device Item Setting data Setting range Setting side
[0]
System area
––
[1]
Completion status
The instruction completion status is stored.
0 : Normal completion
Other than 0 : Error completion (error code)
System
[2]
Clear target specification
Specify the error information to be cleared.
0000H: Initial error code
0001
H to 0010H: Open error code of the corresponding
connection
0100
H: Error log block area
0101
H: Communication status - Status by protocol
0102
H: Communication status - E-mail reception status
0103
H: Communication status - E-mail transmission status
FFFF
H: Clears all of the above.
(See the left
column.)
User
[3]
Clear function specification
Specify the function to be cleared.
0000H: [COM.ERR] LED is turned OFF and an error code is
cleared.
FFFF
H: Error log clear
0000
H,
FFFF
H
User
[4]
to
[7]
System area
––
s
s
s
s
s
s
Sets clear target
Turns execution
flag ON
Sets clear
function
Turns execution
flag OFF
Error completion
Stores error code
Normal completion
Clears error code
to 0
Clears
error information