Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 358

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

Basic Ladder Diagrams
6-3-4
OUTPUT and OUTPUT NOT
340
In more complicated diagrams, however, it is necessary to consider logic blocks
before an execution condition can be determined for the final instruction, and
that's where AND LOAD and OR LOAD instructions are used. Before we consid-
er more complicated diagrams, however, we'll look at the instructions required to
complete a simple "input-output" program.
The simplest way to output the results of combining execution conditions is to
output it directly with the OUTPUT and OUTPUT NOT. These instructions are
used to control the status of the designated operand bit according to the execu-
tion condition. With the OUTPUT instruction, the operand bit will be turned ON
as long as the execution condition is ON and will be turned OFF as long as the
execution condition is OFF. With the OUTPUT NOT instruction, the operand bit
will be turned ON as long as the execution condition is OFF and turned OFF as
long as the execution condition is ON. These appear as shown below. In mne-
monic code, each of these instructions requires one line.
00000
00001
In the above examples, IR 01000 will be ON as long as IR 00000 is ON and
IR 01001 will be OFF as long as IR 00001 is ON. Here, IR 00000 and IR 00001
would be input bits and IR 01000 and IR 01001 output bits assigned to the Units
controlled by the PC, i.e., the signals coming in through the input points assigned
IR 00000 and IR 00001 are controlling the output points assigned IR 01000 and
IR 01001, respectively.
The length of time that a bit is ON or OFF can be controlled by combining the
OUTPUT or OUTPUT NOT instruction with Timer instructions. Refer to Exam-
ples under 7-15-1 Timer – TIM for details.
Address Instruction
01000
00000
LD
00001
OUT
Address Instruction
01001
00000
LD
00001
OUT NOT
Section
6-3
Operands
00000
01000
Operands
00001
01001

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Questions and answers

Table of Contents