Instruction Set - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

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. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-2
Instruction Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-3
Data Areas, Definer Values, and Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-4
Differentiated Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-5
Expansion Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-6
Coding Right-hand Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-7
Instruction Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-7-1
Instructions with Fixed Function Codes . . . . . . . . . . . . . . . . . . . . . .
5-7-2
Expansion Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-7-3
Alphabetic List by Mnemonic . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-8
Ladder Diagram Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-8-1
5-8-2
AND LOAD and OR LOAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-9
Bit Control Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-9-1
5-9-2
SET and RESET - SET and RSET. . . . . . . . . . . . . . . . . . . . . . . . . .
5-9-3
KEEP - KEEP(11) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-9-4
5-10 NO OPERATION - NOP(00) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-11 END - END(01) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-13 JUMP and JUMP END - JMP(04) and JME(05) . . . . . . . . . . . . . . . . . . . . . .
SEVERE FAILURE ALARM - FALS(07) . . . . . . . . . . . . . . . . . . . . . . . . . .
5-16 Timer and Counter Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-16-1 TIMER - TIM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-16-2 COUNTER - CNT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-16-3 REVERSIBLE COUNTER - CNTR(12). . . . . . . . . . . . . . . . . . . . .
5-16-4 HIGH-SPEED TIMER - TIMH(15) . . . . . . . . . . . . . . . . . . . . . . . .
5-16-5 TOTALIZING TIMER - TTIM(--) . . . . . . . . . . . . . . . . . . . . . . . . .
5-16-6 INTERVAL TIMER - STIM(69) . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-16-8 MODE CONTROL - INI(61). . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 5

Instruction Set

211
211
211
213
214
215
217
217
218
218
222
222
223
223
224
224
225
226
227
227
227
229
230
231
233
234
235
237
238
239
241
243
255
257
207

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents

Save PDF