EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 680

Mitsubishi Electric MELSEC-Q/L
1084 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...
678
7 APPLICATION INSTRUCTIONS
7.14 File Register Switching Instructions
Operation error
In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program example
The following program compares R0 of block No. 0 and R0 of block No. 1.
Error
code
Error details Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 The block number specified in (S) does not exist. 
4101 There is no file register for the specified block No. 
[Ladder Mode]
[List Mode]
[Operation]
Designates block No. 0
Executes reading R0 of block No.0
Designates block No. 1
Executes reading R0 of block No.1
Compares the read values
Step Instruction Device
Y41 turns ON since D0<D1
756
Block No. 0
R3
R1
R2
R0
R4
R5
-7981
5001
128
-3216
9610
0
Block No. 1
R3
R1
R2
R0
R4
R5
3911
9330
-1762
756
-5
-3781
D0 D1
-3216

Table of Contents

Related product manuals