605
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
25 Block Data Operation – FNC190 to FNC199
25.2 NFC193 – BK– / Block Data Subtraction
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-FNC274
Ex-Device
Inverter Comms
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 constant "8765" is subtracted from the data stored in D100 to D102 when X010 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
−
K12345
K8701
K3502
D101
D102
b15 b0
K8765
D200
b15 b0
K3580
K-64
K-5263
D201
D202
X010
FNC193
BK-P
D100 K8765 D200
END
K3