You are on page 1of 32

Industrial Instrumentation and New Generation of Digital Process

Control Systems: Smart Protection Devices and Network


Equipment Control & Monitoring (ICS & SCADA)

Section 3

Fundamentals of Logic

Section 3 Haward Technology Middle East 1


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

AND Function

The outcome or output is called Y and the input signals


are called A, B, C, etc. Binary 1 represents the presence
of a signal or the occurrence of some event, while binary
0 represents the absence of the signal or nonoccurrence
of the event.

Section 3 Haward Technology Middle East 2


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

AND Gate Function Application –


Example 1
Basic Rules

The device has two


or more inputs and
one output

If any input is 0,the


output will be 0

If all inputs are 1,the


output will be 1
Section 3 Haward Technology Middle East 3
Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

AND Gate Function Application –


Example 2

The AND gate operates


like a series circuit. The
light will be “on” only
when both switch A and
switch B are closed.

Section 3 Haward Technology Middle East 4


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

OR Function

An OR gate can have any number of inputs but only one


output.
The OR gate output is 1 if one or more inputs are 1.
Section 3 Haward Technology Middle East 5
Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

OR Gate Function Application –


Example 1
Basic Rules

If all inputs are 0, the


output will be 0

If one or more inputs


are 1, the output will
be 1

Section 3 Haward Technology Middle East 6


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

OR Gate Function Application –


Example 2

The OR gate operates


like a parallel circuit.
The light will be “on”
if switch A or switch B
is closed.

Section 3 Haward Technology Middle East 7


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

NOT Function

The NOT function has only one input and one output.
The NOT output is 1 if the input is 0. The NOT output is 0
if the input is 1.
Since the output is always the reverse of the input it is
called an inverter.
Section 3 Haward Technology Middle East 8
Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

NOT Gate Application – Example 1

Acts like a normally closed


pushbutton in series with
the output.

The light will be “on” if the


pushbutton is not pressed.

The light will be “off” if the


pushbutton is n pressed.

Section 3 Haward Technology Middle East 9


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

NOT Gate Application – Example 2

Low-pressure indicating
circuit

If the power is “on”


(1) and the pressure switch
is not closed
(0), the warning indicator
will be “on”

When the pressure rises to


close the pressure switch,
the warning indicator will
be switched "off"

Section 3 Haward Technology Middle East 10


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

NAND Function

The NAND gate functions like an AND gate with an inverter


connected to its output.
The only time the NAND gate output is 0 is when all inputs
are binary 1.
Section 3 Haward Technology Middle East 11
Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

NOR Function

The NOR gate functions like an OR gate with an inverter


connected to its output.
The only time the NAND gate output is 1 is when all inputs
are binary 0.
Section 3 Haward Technology Middle East 12
Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

XOR (exclusive-OR) Function

The XOR function has two inputs and one output.


The output of this gate is HIGH only when one input or the
other is HIGH, but not both.
It is commonly used for comparison of two binary numbers.
Section 3 Haward Technology Middle East 13
Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Gate Boolean Equations

Gate Boolean Equation

A
AND Y Y=AB
B

A
OR Y Y=A+B
B

A NOT Y Y=A
Section 3 Haward Technology Middle East 14
Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Boolean Equation – Example 1


Each logic function can be expressed
in terms of a Boolean expression

Section 3 Haward Technology Middle East 15


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Boolean Equation – Example 2


Any combination of control can be expressed in terms of a
Boolean equation

AB
Y = AB + C

A+B
Y = (A + B) C

Section 3 Haward Technology Middle East 16


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Boolean Equation – Example 2

AB
Y = AB + C

A+B
Y = (A + B) C

Section 3 Haward Technology Middle East 17


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Circuit Development Using a Boolean


Expression - Example

1 AND gate with B and A input

Section 3 Haward Technology Middle East 18


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Circuit Development Using a Boolean


Expression - Example

1 AND gate with C and B inputs

Section 3 Haward Technology Middle East 19


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Producing a Boolean Expression From a


Given Circuit – Example 1

Section 3 Haward Technology Middle East 20


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Producing a Boolean Expression From a


Given Circuit – Example 2

Final equation : Y=AB+AB


Section 3 Haward Technology Middle East 21
Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Hardwired Stop/Start Motor Control


Circuit

Ladder rung
Ladder rail
Control scheme is drawn
between two vertical
supply lines.
Section 3 Haward Technology Middle East 22
Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Programmed Stop/Start Motor Control


Circuit

Section 3 Haward Technology Middle East 23


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Hard Wired Versus Programmed Logic

Section 3 Haward Technology Middle East 24


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Hard Wired versus Programmed Logic

Section 3 Haward Technology Middle East 25


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Hard Wired versus Programmed Logic

Section 3 Haward Technology Middle East 26


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Hard Wired versus Programmed Logic

Section 3 Haward Technology Middle East 27


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Hard Wired versus Programmed Logic

Section 3 Haward Technology Middle East 28


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Hard Wired versus Programmed Logic

Section 3 Haward Technology Middle East 29


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Hard Wired versus Programmed Logic

Section 3 Haward Technology Middle East 30


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Hard Wired versus Programmed Logic

Section 3 Haward Technology Middle East 31


Industrial Instrumentation and New Generation of Digital Process
Control Systems: Smart Protection Devices and Network
Equipment Control & Monitoring (ICS & SCADA)

Hard Wired versus Programmed Logic

Section 3 Haward Technology Middle East 32

You might also like