
144
Multiple Instruction Lines
If a right-hand instruction requires multiple instruction lines (such as KEEP(11)),
all of the lines for the instruction are entered before the right-hand instruction.
Each of the lines for the instruction is coded, starting with LD or LD NOT, to form
‘logic blocks’ that are combined by the right-hand instruction. An example of this
for SFT(10) is shown below.
I
P
R
SFT(10)
HR 00
HR 00
Address Instruction
Data
00000
LD
00000
00001
AND
00001
00002
LD
00002
00003
LD
00100
00004
AND NOT
00200
00005
LD
01001
00006
AND NOT
01002
00007
AND NOT
LR
6300
00008
OR LD
––
00009
AND
22500
00010
SFT(10)
––
HR
00
HR
00
00011
LD
HR
0015
00012
OUT NOT
00500
00100
00200
00500
01001 01002
LR 6300
22500
00002
HR 0015
00000
00001
END(01)
When you have finished coding the program, make sure you have placed
END(01) at the last address.
Coding Right-hand Instructions
Section 5-6
Содержание SYSMAC C200HE
Страница 1: ...Cat No W303 E1 09 OPERATION MANUAL Programmable Controllers C200HX C200HG C200HE ...
Страница 2: ......
Страница 3: ...C200HX C200HG C200HE Programmable Controllers Operation Manual Revised August 2004 ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 380: ......
Страница 410: ......
Страница 438: ......
Страница 464: ......
Страница 474: ......
Страница 522: ......
Страница 538: ......
Страница 552: ...534 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 554: ......
Страница 560: ......
Страница 584: ......
Страница 585: ......
Страница 586: ...W303 E1 09 ...