EasyManuals Logo

Omron CQM1H - PROGRAM User Manual

Omron CQM1H - PROGRAM
602 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #232 background imageLoading...
Page #232 background image
207
SECTION 5
Instruction Set
The CQM1H has a large programming instruction set that allows for easy programming of complicated control processes.
This section explains instructions individually and provides the ladder diagram symbol, data areas, and flags used with
each.
The many instructions provided by these PCs are organized in the following subsections by instruction group. These groups
include Ladder Diagram Instructions, instructions with fixed function codes, and set instructions.
Some instructions, such as Timer and Counter instructions, are used to control execution of other instructions, e.g., a TIM
Completion Flag might be used to turn ON a bit when the time period set for the timer has expired. Although these other
instructions are often used to control output bits through the Output instruction, they can be used to control execution of
other instructions as well. The Output instructions used in examples in this manual can therefore generally be replaced by
other instructions to modify the program for specific applications other than controlling output bits directly.
5-1 Notation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
5-2 Instruction Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
5-3 Data Areas, Definer Values, and Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
5-4 Differentiated Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
5-5 Expansion Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
5-6 Coding Right-hand Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
5-7 Instruction Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
5-7-1 Instructions with Fixed Function Codes. . . . . . . . . . . . . . . . . . . . . . 217
5-7-2 Expansion Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
5-7-3 Alphabetic List by Mnemonic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
5-8 Ladder Diagram Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
5-8-1 LOAD, LOAD NOT, AND, AND NOT, OR, and OR NOT. . . . . . . 222
5-8-2 AND LOAD and OR LOAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
5-9 Bit Control Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
5-9-1 OUTPUT and OUTPUT NOT – OUT and OUT NOT. . . . . . . . . . . 224
5-9-2 SET and RESET – SET and RSET. . . . . . . . . . . . . . . . . . . . . . . . . . 224
5-9-3 KEEP – KEEP(11) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
5-9-4 DIFFERENTIATE UP and DOWN – DIFU(13) and DIFD(14) . . . 226
5-10 NO OPERATION – NOP(00) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
5-11 END – END(01) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
5-12 INTERLOCK and INTERLOCK CLEAR – IL(02) and ILC(03) . . . . . . . . . 227
5-13 JUMP and JUMP END – JMP(04) and JME(05) . . . . . . . . . . . . . . . . . . . . . . 229
5-14 User Error Instructions: FAILURE ALARM AND RESET – FAL(06) and
SEVERE FAILURE ALARM – FALS(07) . . . . . . . . . . . . . . . . . . . . . . . . . . 230
5-15 Step Instructions: STEP DEFINE and STEP START–STEP(08)/SNXT(09). 231
5-16 Timer and Counter Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
5-16-1 TIMER – TIM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
5-16-2 COUNTER – CNT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
5-16-3 REVERSIBLE COUNTER – CNTR(12). . . . . . . . . . . . . . . . . . . . . 237
5-16-4 HIGH-SPEED TIMER – TIMH(15) . . . . . . . . . . . . . . . . . . . . . . . . 238
5-16-5 TOTALIZING TIMER – TTIM(––) . . . . . . . . . . . . . . . . . . . . . . . . . 239
5-16-6 INTERVAL TIMER – STIM(69) . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
5-16-7 REGISTER COMPARISON TABLE – CTBL(63) . . . . . . . . . . . . . 243
5-16-8 MODE CONTROL – INI(61). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
5-16-9 HIGH-SPEED COUNTER PV READ – PRV(62). . . . . . . . . . . . . . 257

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CQM1H - PROGRAM and is the answer not in the manual?

Omron CQM1H - PROGRAM Specifications

General IconGeneral
I/O CapacityUp to 512 points
Power Supply100 to 240 VAC, 50/60 Hz or 24 VDC (depending on model)
Instruction SetBasic and advanced instructions
Operating Temperature0 to 55°C
Program Capacity7.2K to 15.2K steps
Communication PortsRS-232C
Expansion SlotsUp to 3 expansion units
TypeProgrammable Logic Controller (PLC)
CPU TypeRISC
Program Memory7.2K to 15.2K steps
I/O Points512 max
Expansion CapabilityUp to 3 expansion units
Data MemoryRAM (battery backup)

Related product manuals