And Load And Or Load; Bit Control Instructions; Output And Output Not - Out And Out Not - Omron SYSMAC C200HS Operation Manual

Programmable controllers
Hide thumbs Also See for SYSMAC C200HS:
Table of Contents

Advertisement

Bit Control Instructions

5-8-2 AND LOAD and OR LOAD

AND LOAD – AND LD
OR LOAD – OR LD
Description
Flags
5-9
Bit Control Instructions
5-9-1 OUTPUT and OUTPUT NOT – OUT and OUT NOT
OUTPUT – OUT
OUTPUT NOT – OUT NOT
Limitations
Description
130
Ladder Symbol
Ladder Symbol
When instructions are combined into blocks that cannot be logically combined
using only OR and AND operations, AND LD and OR LD are used. Whereas
AND and OR operations logically combine a bit status and an execution condi-
tion, AND LD and OR LD logically combine two execution conditions, the current
one and the last unused one.
In order to draw ladder diagrams, it is not necessary to use AND LD and OR LD
instructions, nor are they necessary when inputting ladder diagrams directly, as
is possible from LSS. They are required, however, to convert the program to and
input it in mnemonic form. The procedures for these, limitations for different pro-
cedures, and examples are provided in 4-7 Inputting, Modifying, and Checking
the Program.
In order to reduce the number of programming instructions required, a basic un-
derstanding of logic block instructions is required. For an introduction to logic
blocks, refer to 4-4-6 Logic Block Instructions.
There are no flags affected by these instructions.
There are five instructions that can be used generally to control individual bit
status. These are OUT, OUT NOT, DIFU(13), DIFD(14), and KEEP(11). These
instructions are used to turn bits ON and OFF in different ways.
Ladder Symbol
Ladder Symbol
Any output bit can generally be used in only one instruction that controls its sta-
tus. Refer to 3-3 IR Area for details.
OUT and OUT NOT are used to control the status of the designated bit according
to the execution condition.
00000
00001
00000
00002
Operand Data Areas
B
IR, SR, AR, HR, TC, LR, TR
Operand Data Areas
B
IR, SR, AR, HR, TC, LR
Section 5-9
00002
00003
00001
00003
B: Bit
B: Bit

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents