Ladder-Diagram Programming; Controlling Bit Status; Logic Block Instructions - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

This section explains the basic steps and concepts involved in writing a basic ladder diagram program. It introduces the
instructions that are used to build the basic structure of the ladder diagram and control its execution. The entire set of
instructions used in programming is described in SECTION 5 Instruction Set.
4-1
Basic Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-2
Instruction Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3
Basic Ladder Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3-1
Basic Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3-2
Mnemonic Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3-3
Ladder Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3-4
OUTPUT and OUTPUT NOT . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3-5
The END Instruction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3-6
Logic Block Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3-7
Coding Multiple Right-hand Instructions. . . . . . . . . . . . . . . . . . . . .
4-3-8
Branching Instruction Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3-9
Jumps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-4
Controlling Bit Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-4-1
SET and RESET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-4-2
4-4-3
KEEP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-4-4
Self-maintaining Bits (Seal) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-5
Work Bits (Internal Relays) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-6
Programming Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-7
Program Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-8
Indirectly Addressing the DM and EM Areas . . . . . . . . . . . . . . . . . . . . . . . .

Ladder-diagram Programming

SECTION 4
180
180
181
181
182
183
186
186
187
194
195
198
200
200
201
201
201
202
204
205
206
179

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents