Omron C200HS Garage Door Opener User Manual


 
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