5. Instructions
The instruction specification is different in CQM1H series and CJ1M/CJ2M series.
The Appendix explains the difference in operand and flags. Refer to the Appendix for details.
・A-1 Instruction operations
Explains difference in instructions and operand. Least necessary adjustment after program conversion on
the CX-Programmer.
・A-2 Condition flag operations
Explains difference concerning the operation of condition flags at each instruction execution.
5.1 High-speed counter/pulse output instruction
This section describes the difference of High-speed counter/pulse output instruction and explains the difference
of pulse functions in CQM1H-PLB21 and CJ1M-CPU2*/CJ2M-CPU**
♦MODE CONTROL (INI)
CQM1H CJ1M/CJ2M
CQM1H
CJ1M/CJ2M
Operand1 Port specifer:
001= PLB High-speed counter 1
002= PLB High-speed counter 2
001= PLB Pulse output 1
002= PLB Pulse output 2
Port specifer:
#0010= High-speed counter 0
#0011= High-speed counter 1
#0012= High-speed counter 2 (CJ2M only)
#0013= High-speed counter 3 (CJ2M only)
#0000= Pulse output 0
#0001= Pulse output 1
#0002= Pulse output 2 (CJ2M only)
#0003= Pulse output 3 (CJ2M only)
Operand2 Control data:
000= Starts comparison.
001= Stops comparison.
002= Changes high-spee counter
PV.
003= Stops pulse output.
Control data:
#0000= Starts comparison.
#0001= Stops
comparison.
#0002= Changes the PV.
#0003= Stops pulse output.
#0006= Changes the maximum value of the ring counter
(CJ2M only)
#0005= Changes origin search/return settings(CJ2M
only)
14