7 APPLICATION INSTRUCTIONS
7.5 Data Processing Instructions
443
7
• 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 following program adds, when X1C is turned ON, the data stored at D100 to D103 and the data stored at R0 to R3, and
searches in the results of addition for the minimum value, then, stores it at D200 to D202.
• The following program, when X20 is turned ON, searches for the minimum value from the 32-bit data contained from D0 to
D7, and stores it from D100 to D103.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4101 The points specified in n exceed those of the corresponding device specified
in (S).
The device specified by (D) exceeds the range of the corresponding device.
[Ladder Mode] [List Mode]
[Operation]
[Ladder Mode] [List Mode]
[Operation]
Step
Instruction
Device
5542 (BIN)
5857 (BIN)
4590 (BIN)
4450 (BIN)
R0
R1
R2
R3
D150
D151
D152
D153
9090
D200
3
1
D201
D202
Minimum value
Location
Quantity
4D0
5500 (BIN)
4000 (BIN)
4500 (BIN)
6000 (BIN)
11042 (BIN)
9857 (BIN)
9090 (BIN)
10450 (BIN)
D100
D101
D102
D103
b0b15
b0b15 b0b15
+
69386
D101,D100
4
1
D102
D103
57020175 (BIN)
D1,D0
2070166 (BIN)
3596045 (BIN)
69386 (BIN)
D3,D2
D5,D4
D7,D6