RelayLike Instructions
Chapter 9
9-2
Here, a series of conditions (C2, C2, C3) must be true before action A
is performed.
C1 = Input switch 1. When the switch is on, this condition is true. This
switch turns on a conveyer belt.
C2 = Input sensor 1. When the sensor is off, this condition is true. This
sensor detects if the temperature in the factory is below 40
o
C.
C3 = Input sensor 2. When the sensor is on, this condition is true. This
sensor detects the presence of a part of the conveyer belt.
A = The part will be drilled. The path of conditions is continuous, that is,
all conditions are true.
When C1, C2, and C3 are true, then a continuous path is made to a
particular action. In this case, the continuous path causes the part to be
drilled. When the path of conditions is continuous, we say that the rung is
true. When the path of conditions is not continuous, we say the rung
is false.
C1
True
C2
False
C3
True
A
True
False
Here the path of conditions is not continuous because condition 2 is false.
Therefore, the action A is not performed. We say the rung is false.
Set vs. Reset
As a review, if the device goes on, then we say the corresponding bit in
data table is set to a 1. If the device goes off, we say the corresponding bit
in data table is reset to a 0. (From this point on, set means the on-condition
or 1. Reset means the off-condition or 0.)
If the device is:
Then a bit in memory is
on
set
off
reset