![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423063.webp)
50
tion, and that’s where AND LOAD and OR LOAD instructions are used. Be-
fore we consider more complicated diagrams, however, we’ll look at the in-
structions required to complete a simple “input-output” program.
4-3-4
OUTPUT and OUTPUT NOT
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 ex-
ecution 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 instruc-
tion, 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 mnemonic code, each of these instructions requires one
line.
00000
00201
00200
00001
Address
Instruction
Operands
00000
LD
00000
00001
OUT
00200
Address
Instruction
Operands
00000
LD
00001
00001
OUT NOT
00201
In the above examples, IR 00200 will be ON as long as IR 00000 is ON and
IR 00201 will be OFF as long as IR 00001 is ON. Here, IR 00000 and IR
00001 will be input bits and IR 00200 and IR 00201 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 as-
signed IR 00200 and IR 00201, 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 Ex-
amples under 5-12-1 TIMER – TIM for details.
4-3-5
The END Instruction
The last instruction required to complete a simple program is the END in-
struction. When the CPU cycles the program, it executes all instruction up to
the first END instruction before returning to the beginning of the program and
beginning execution again. Although an END instruction can be placed at any
point in a program, which is sometimes done when debugging, no instruc-
tions past the first END instruction will be executed until it is removed. The
number following the END instruction in the mnemonic code is its function
code, which is used when inputted most instruction into the PC. These are
Basic Ladder Diagrams
Section 4-3
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...