123
Work bits can be used to simplify programming when a certain combination of
conditions is repeatedly used in combination with other conditions. In the follow-
ing example, IR 00000, IR 00001, IR 00002, and IR 00003 are combined in a
logic block that stores the resulting execution condition as the status of IR
24600. IR 24600 is then combined with various other conditions to determine
output conditions for IR 00100, IR 00101, and IR 00102, i.e., to turn the outputs
allocated to these bits ON or OFF.
00000
00003
00001
00004
00002
00005
00004
00007
00006
0000524600
24600
24600
24600
00100
00101
00102
Address Instruction Operands
00000 LD 00000
00001 AND NOT 00001
00002 OR 00002
00003 OR NOT 00003
00004 OUT 24600
00005 LD 24600
00006 AND 00004
00007 AND NOT 00005
00008 OUT 00100
00009 LD 24600
00010 OR NOT 00004
00011 AND 00005
00012 OUT 00101
00013 LD NOT 24600
00014 OR 00006
00015 OR 00007
00016 OUT 00102
Differentiated Conditions Work bits can also be used if differential treatment is necessary for some, but not
all, of the conditions required for execution of an instruction. In this example, IR
00100 must be left ON continuously as long as IR 00001 is ON and both IR
00002 and IR 00003 are OFF, or as long as IR 00004 is ON and IR 00005 is OFF.
It must be turned ON for only one cycle each time IR 00000 turns ON (unless one
of the preceding conditions is keeping it ON continuously).
Reducing Complex
Conditions
Work Bits (Internal Relays) Section 4-9