EasyManua.ls Logo

Mitsubishi Electric MELSEC-L Series - Page 233

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

Table of Contents

Other manuals for Mitsubishi Electric MELSEC-L Series

Related product manuals