Bit Control Instructions; Output And Output Not: Out And Out Not - Omron CVM1D Operation Manual

Hide thumbs Also See for CVM1D:
Table of Contents

Advertisement

Bit Control Instructions

5-7

Bit Control Instructions

5-7-1 OUTPUT and OUTPUT NOT: OUT and OUT NOT

OUTPUT: OUT
Ladder Symbols
B
B
OUTPUT NOT: OUT NOT
Ladder Symbols
B
B
Description
Precautions
Flags
112
The instructions in this section are used to control bit status. These instructions
are used to turn bits ON and OFF in different ways.
OUT and OUT NOT are used to control the status of the designated bit according
to the execution condition.
OUT turns ON the designated bit for an ON execution condition, and turns OFF
the designated bit for an OFF execution condition. With a TR bit, OUT appears at
a branching point rather than at the end of an instruction line. Refer to 4-5
Branching Instruction Lines for details.
OUT NOT turns ON the designated bit for a OFF execution condition, and turns
OFF the designated bit for an ON execution condition.
OUT and OUT NOT can be used to control execution by turning ON and OFF bits
that are assigned to conditions on the ladder diagram, thus determining execu-
tion conditions for other instructions. This is particularly helpful and allows a
complex set of conditions to be used to control the status of a single work bit, and
then that work bit can be used to control other instructions.
The length of time that a bit is ON or OFF can be controlled by combining the
OUT or OUT NOT with TIM. Refer to Examples under 5-13-1 TIMER: TIM for
details.
Note: Immediate-refresh variations can be used in simplex mode only; they cannot be
used in duplex mode.
Any output bit is generally used in only one instruction that controls its status.
Note: Refer to page 101 for general precautions on operand data areas.
There are no flags affected by these instructions.
Operand Data Area
B: Bit
CIO, G, A, TR
Mnemonics
OUT
! OUT
Operand Data Area
B: Bit
CIO, G, A
Mnemonics
OUT NOT
! OUT NOT
Section 5-7

Advertisement

Table of Contents
loading

Table of Contents