Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The block number designated by
• There is no file register for the specified block No.
Program Example
(1) The following program compares R0 of block No. 0 and block No. 1.
[Ladder Mode]
[List Mode]
Step
Instruction
[Operation]
Block No. 0
R0
-3216
R1
5001
R2
128
R3
-7981
R4
9610
R5
0
does not exist.
S
Designates block No. 0
Executes reading R0 of block No.0
Designates block No. 1
Executes reading R0 of block No.1
Device
D0
D1
-3216
Y41 turns ON since D0<D1
Compares the read values
Block No. 1
756
9330
-1762
756
3911
-5
-3781
RSET(P)
(Error code: 4100)
(Error code: 4101)
R0
R1
R2
R3
R4
R5
7-337
1
2
3
4
6
6
7
8