Mitsubishi Electric MELSEC-L SERIES Basic User Manual page 233

Melsec-l ethernet interface module
Hide thumbs Also See for MELSEC-L SERIES:
Table of Contents

Advertisement

(2) Control data
Device
Item
(S1)+0
System area
Completion
(S1)+1
status
Read information
(S1)+2
specification
Read target
(S1)+3
information
specification
(S1)+4
Error information
(S1)+5
to
System area
(S1)+7
(3) Functions
• This instruction reads the error information of the module specified for Un.
Item
Initial error
Open error
• Completion of the ERRRD instruction can be checked with Completion device (D1)+0 and (D1)+1.
Item
Completion device (D1)+0:
Completion device (D1)+1:
[Operation while the ERRRD instruction is being executed]
Program
ERRRD instruction
Completion device
Completion device + 1
• The ZP.ERRRD instruction is executed on the rising edge (OFF  ON) of the read command.
Setting data
Stores the status at completion.
• 0000
: Normal completion
H
• Values other than 0000
H
Specify error information to be read.
• 0000
: Initial error code
H
• 0001
to 0010
: Open error code for a connection
H
H
with the connected device
Specify whether to read the latest error information.
• 0000
: Reads the latest error information.
H
Stores the error information that has been read.
• 0000
: No error
H
• Values other than 0000
H
Target
Function
specification
specification
(S1)+2
(S1)+3
0000
0000
H
0001
to 0010
0000
H
H
Turns on at the END process of the scan where the ERRRD instruction is completed and
turns off at the next END process.
Turns on and off depending on the completion status of the ERRRD instruction.
• Normal completion: Stays off and does not change.
• Abnormal end: Turns on at the END process of the scan where the ERRRD instruction is
completed and turns off at the next END process.
END
Scan
Scan
process
Executed
Reading the
error information
CHAPTER 15 DEDICATED INSTRUCTIONS
: Abnormal end (error code)
(error code): Abnormal end
Error information to be read
(buffer memory)
Initial error code (address: 69
H
Open error code for a connection with the
connected device
H
(address: 7C
, 86
H
H
Description
END
END
Scan
process
process
Abnormally ended
Setting range
Set by
System
0000
, 0001
to
H
H
User
0010
H
0000
User
H
System
)
H
...)
231
15

Advertisement

Table of Contents
loading

Table of Contents