7-338
RSET(P)
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 does not exist. (Error code: 4100)
• There is no file register for the specified block No. (Error code: 4101)
Program Example
(1) The following program compares R0 of block No. 0 and block No. 1.
[Ladder Mode]
[List Mode]
[Operation]
S
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