Controlling Bit Status; Out And Out Not - Omron SYSMAC C20P Operation Manual

Sysmac programmable controllers
Hide thumbs Also See for SYSMAC C20P:
Table of Contents

Advertisement

Controlling Bit Status

4–4

Controlling Bit Status

4–4–1

OUT and OUT NOT

40
0000
0001
0002
Diagram B: Corrected with a Jump
Execution of programs containing multiple Jump instructions for one Jump
End instruction resembles that of similar interlocked sections. The following
diagram is the same as that used for the interlock example above, except
redrawn with jumps. This diagram, however, would not execution the same,
as has already be described, i.e., interlocks would reset certain parts of the
interlocked section but jumps would not affect any status between the Jump
and Jump End instructions.
0000
0001
0002
0003
0004
0005
0006
Jump diagrams can also be drawn as branching instruction lines if desired
and would look exactly like their interlock equivalents. The non-branching
form, which is the form displayed on the GPC, will be used in this manual.
There are five instructions that can be used generally to control individual bit
status. These are the Output or OUT, Output NOT or OUT NOT, Differentiate
Up, Differentiate Down, and Keep instructions. All of these instruction appear
as the last instruction in an instruction line and take a bit address for an oper-
and. Although details are provided in 5–6 Bit Control Instructions , these in-
structions are described here because of their importance in most programs.
Although these instructions are used to turn ON and OFF output bits in the IR
area (i.e., to send or stop output signals to external devices), they are also
used to control the status of other bits in the IR area or in other data areas.
The OUT and OUT NOT instructions are used to control the status of the
designated operand bit according to the execution condition. With the OUT
instruction, the operand bit will be turned ON as long as the execution condi-
Section 4–4
JMP(04)
Instruction 1
Instruction 2
JME(05)
JMP(04) 00
Instruction 1
JMP(04) 00
Instruction 2
Instruction 3
Instruction 4
JME(05) 00

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c28pSysmac c40pSysmac c60p

Table of Contents