109
5-6-2
AND LOAD and OR LOAD
Ladder Symbol
AND LOAD - AND LD
00002
00003
00000
00001
Ladder Symbol
OR LOAD - OR LD
00000
00001
00002
00003
When instructions are combined into blocks that cannot be logically com-
bined 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 exe-
cution condition, AND LD and OR LD logically combine two execution condi-
tions, 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 di-
rectly, as is possible from the GPC. They are required, however, to convert
the program to and input it in mnemonic form.
In order to reduce the number of programming instructions required, a basic
understanding of logic block instructions is required. For an introduction to
logic blocks, refer to
4-2-3 Logic Block Instructions
. For details and exam-
ples, refer to
7-1-3 Logic Block Instructions
.
There are no flags affected by these instructions.
5-7
Bit Control 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.
5-7-1
OUTPUT and OUTPUT NOT – OUT and OUT NOT
B
: Bit
IR, SR, AR, HR, TC, LR, TR
Ladder Symbol
Operand Data Areas
OUTPUT - OUT
B
B
: Bit
IR, SR, AR, HR, TC, LR
Ladder Symbol
Operand Data Areas
OUTPUT NOT - OUT NOT
B
Any output bit can generally be used in only one instruction that controls its
status. Refer to
3-2 IR Area
for details and to
5-20 Block Instructions
for in-
formation on using output bits in SET<07> and RSET<08>.
Description
Flags
Limitations
Bit Control Instructions
Section 5-7