Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
25 Applied Instructions (Block Data Operation)
25.3 BKCMP=, >, <, < >, <=, >= / Block Data Compare
614
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Related device
Cautions
1) The instruction is provided in the FX3UC PLC Ver. 2.20 or later.
2) When using 32-bit counters (high speed counters)
For comparing 32-bit counters (C200 to C255), be sure to use an instruction for 32-bit operation (such as
DBKCMP= and DBKCMP>).
If an instruction for 16-bit operation (such as BKCMP= and BKCMP>) is used, an operation error is
caused (error code: K6705)
3) Some restrictions to applicable devices
S1: D
.b cannot be indexed (v, z).
4) The Block data compare instruction is not available in ST.
Error
An operation error is caused in the following cases. The error flag M8067 turns ON, and the error code is
stored in D8067.
1) When "n" ("2n" in 32-bit operation) devices starting from the devices specified by , and/or )
exceed the corresponding device range (error code: K6706).
2) When data registers starting from the device specified by specified as "D
.b" overlap "n" ("2n" in
32-bit operation) points starting from the device specified by (error code: K6706).
3) When data registers starting from the device specified by specified as "D
.b" overlap "n" ("2n" in
32-bit operation) points starting from the device specified by (error code: K6706).
4) When a 32-bit counter (C200 to C255) is specified in the devices specified by and/or in 16-bit
operation (error code: K6705).
For comparing 32-bit counters, be sure to use an instruction for 32-bit operation (such as DBKCMP=,
DBKCMP> and DBKCMP<).
Device Name Description
M8090 Block comparison signal
Turns ON when all comparison results are "ON (1)" in a block data instruction.
DBKCMP=, DBKCMP>, DBKCMP<, DBKCMP<>, DBKCMP<=, DBKCMP>=