Output And Output Not - Out And Out Not; Set And Reset - Set And Rset - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Bit Control Instructions
5-9-1
OUTPUT and OUTPUT NOT – OUT and OUT NOT
OUTPUT
OUT
OUTPUT NOT
OUT NOT
Limitations
Description
Flags
5-9-2
SET and RESET – SET and RSET
Description
224
Ladder Symbol
Ladder Symbol
Any output bit can generally be used in only one instruction that controls its
status.
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-3-8 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
execution 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-16-1 TIMER – TIM for
details.
There are no flags affected by these instructions.
Ladder Symbols
SET B
RSET B
SET turns the operand bit ON when the execution condition is ON, and does
not affect the status of the operand bit when the execution condition is OFF.
RSET turns the operand bit OFF when the execution condition is ON, and
does not affect the status of the operand bit when the execution condition is
OFF.
The operation of SET differs from that of OUT because the OUT instruction
turns the operand bit OFF when its execution condition is OFF. Likewise,
RSET differs from OUT NOT because OUT NOT turns the operand bit ON
when its execution condition is OFF.
Operand Data Areas
B
IR, SR, AR, HR, LR, TR
Operand Data Areas
B
IR, SR, AR, HR, LR
Operand Data Areas
IR, SR, AR, HR, LR
IR, SR, AR, HR, LR
Section 5-9
B: Bit
B: Bit
B: Bit
B: Bit

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