Mitsubishi MELSEC-L series Programming Manual page 259

Hide thumbs Also See for MELSEC-L series:
Table of Contents

Advertisement

Control Data
Device
Item
System area
[0]
s
Completion status
[1]
s
Clear target specification
[2]
s
Clear function specification
[3]
s
[4]
s
to
System area
[7]
s
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]
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet 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 cleared.
0000
: Initial error code
H
0001
to 0016
: Open error code of the corresponding
H
H
connection
0100
: Error log block area
H
0101
: Communication status - Status by protocol
H
0102
: Communication status - E-mail reception status
H
0103
: Communication status - E-mail transmission status
H
FFFF
: Clears all of the above.
H
Specify the function to be cleared.
0000
: [COM.ERR] LED is turned OFF and an error code is
H
cleared.
FFFF
: Error log clear
H
5.4.20 ERRCLR instruction
ZP_ERRCLR
*1
Setting range
Setting side
System
(See the left
User
column.)
0000
,
H
User
FFFF
H
Sets clear target
Sets clear
function
Turns execution
flag ON
Clears
error information
Normal completion
Clears error code
to 0
Error completion
Stores error code
Turns execution
flag OFF
5-213
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents