Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
609
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
25 Block Data Operation – FNC190 to FNC199
25.3 FNC194~199 – BKCMP=, >, <, < >, <=, >= / Block Data Compare
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
Caution
When using 32-bit counters (including 32-bit high speed counters)
For comparing 32-bit counters and 32-bit high speed counters (C200 to C255), make sure to use an instruction for
32-bit operation (DBKCMP=, DBKCMP>, DBKCMP<, DBKCMP<>, DBKCMP<=, or DBKCMP>=).
If an instruction for 16-bit operation (BKCMP=, BKCMP>, BKCMP<, BKCMP<>, BKCMP<=, or BKCMP>=) is used,
an operation error is caused (error code: K6705).
Note that the 32-bit value [n+1, n] is valid when D or R is specified as "n" in a 32-bit instruction.
In the case of "DBKCMP = D0 D100 M0 R0", "n" is [R1, R0].
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 the range of "n" ("2n" in 32-bit operation) points starting from and/or exceeds the
corresponding device range (error code: K6706)
When the range of "n" points starting from exceeds the corresponding device range (error code: K6706)
When data registers starting from specified as "D.b" overlap "n" ("2n" in 32-bit operation) points starting
from (error code: K6706)
When data registers starting from specified as "D.b" overlap "n" ("2n" in 32-bit operation) points starting
from (error code: K6706)
When a 32-bit counter (C200 to C255) is specified in and/or in 16-bit operation (error code: K6705)
For comparing 32-bit counters, make sure to use an instruction for 32-bit operation (DBKCMP=, DBKCMP>,
DBKCMP<, DBKCMP<>, DBKCMP<=, or DBKCMP>=).
S
1
S
2
D
D
S
1
D
S
2
S
1
S
2