606
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
25 Block Data Operation – FNC190 to FNC199
25.2 NFC193 – BK– / Block Data Subtraction
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