124
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 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...