![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436087.webp)
77
Again, this diagram can be redrawn as follows to simplify program structure and
coding and to save memory space.
00006
00007
LR 0000
00005
00001
00002
00003
00004
00000
Address
Instruction
Operands
00000
LD
00006
00001
AND
00007
00002
OR
00005
00003
AND
00003
00004
AND
00004
00005
LD
00001
00006
AND
00002
00007
OR LD
––
00008
AND
00000
00009
OUT
LR
0000
The next and final example may at first appear very complicated but can be
coded using only two logic block instructions. The diagram appears as follows:
00000
00001
00500
00002
00003
01000
01001
00004
00005
00500
00006
Block c
Block b
Block a
The first logic block instruction is used to combine the execution conditions re-
sulting from blocks a and b, and the second one is to combine the execution con-
dition of block c with the execution condition resulting from the normally closed
condition assigned IR 00003. The rest of the diagram can be coded with OR,
AND, and AND NOT instructions. The logical flow for this and the resulting code
are shown below.
00000
00001
00500
00002
00003
01000
01001
00004
00005
00500
00006
Block c
Block b
Block a
OR LD
LD
00000
AND
00001
OR
00500
AND
00002
AND NOT 00003
LD
01000
AND
01001
LD
00006
LD
00004
AND
00005
AND LD
Address
Instruction
Operands
00000
LD
00000
00001
AND
00001
00002
LD
01000
00003
AND
01001
00004
OR LD
––
00005
OR
00500
00006
AND
00002
00007
AND NOT
00003
00008
LD
00004
00009
AND
00005
00010
OR
00006
00011
AND LD
––
00012
OUT
00500
Basic Ladder Diagrams
Section 4-4
Содержание SYSMAC C200HS
Страница 1: ...Cat No W235 E1 05 C200HS SYSMAC Programmable Controllers...
Страница 2: ...C200HS Programmable Controllers Operation Manual Revised February 2002...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 379: ...371 SR word Corresponding key s Bit 279 03 04 05 3 06 07 VER 08 09 Monitoring Operation and Modifying Data Section 7 1...
Страница 470: ...468 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage...
Страница 471: ...469 Programmer Program Date Page TC address T or C Set value Notes TC address T or C Set value Notes Timers and Counters...