603
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
25 Block Data Operation – FNC190 to FNC199
25.1 FNC192 – BK+ / Block Data Addition
21
FNC160-FNC169
Real Time Clock
Control
22
FNC170-FNC179
External Device
23
FNC180
Alternate
Instructions
24
FNC181-FNC189
Others
25
FNC190-FNC199
Block Data
Operation
26
FNC200-FNC209
Character String
Control
27
FNC210-FNC219
Data
Operation 3
28
FNC220-FNC249
Data
Comparison
29
FNC250-FNC269
Data Table
Operation
30
FNC270-FNC276
Ex-Device
Errors
An operation error is caused in the following cases; The error flag M8067 turns ON, and the error code is stored in
D8067.
• When "n" ("2n" in 32-bit operation) devices starting from , , and/or exceed the corresponding
device range (error code: K6706)
• When "n" ("2n" in 32-bit operation) devices starting from overlap "n" ("2n" in 32-bit operation) devices
starting from (error code: K6706)
• When "n" ("2n" in 32-bit operation) devices starting from overlap "n" ("2n" in 32-bit operation) devices
starting from (error code: K6706)
Program example
In the program shown below, the specified number of data stored in D150 to D0 are added to the specified number of
data stored in D100 to D0 when X020 is set to ON, and the operation result is stored in D200 and later.
S
1
S
2
D
S
1
D
S
2
D
D100
b15 b0
+
6789
7821
3520
5432
D101
D102
D103
4D0
D150
b15 b0
1234
2032
-1000
-3252
D151
D152
D153
D200
b15 b0
8023
9853
2520
2180
D201
D202
D203
X020
FNC192
BK+
D100 D150 D200
END
D0 When D0 is "4"