Вы находитесь на странице: 1из 14

# PENGENALAN

## Logic Diagramming & Introduction to

Programmable Logic Controllers

## AZHAR BIN SULAIMAN

3/12/2019 1
TEKNOLOGI ELEKTRIK KVSAS
Logic Diagramming
• Methods
– Ladder Logic (similar to wire logic)
– Logic Gates
• Logic System Functions Required:
– AND
– OR
– NOT
• Minimally:
– NAND
– NOR

2
Logical AND Function

• Truth Table:
A B C =A•B
0 0 0
0 1 0
1 0 0
1 1 1

B
A B

3
Logical OR Function
 Truth Table:
A B C =A+B
0 0 0
0 1 1
1 0 1
1 1 1

A
A
B

B
3/12/2019 4
Logical NOT Function
 Truth Table:
A B =A
0 1
1 0
Pneumatic

A
A

5
• A rung runs from the left (hot) rail to the right rail (return),
generally having only ONE output coil per rung.
• Mnemonic names (addresses) of inputs and outputs are given at
the top of the symbol.
• The type of an output is given in the center of the output
symbol. (NO, NC)
• Preset times/counts/other values are noted below the output
coil symbol.

6
Logic Diagram Examples
• Logic Gates (Network)
x

Timer z
y 1s

## • Ladder Logic (Single Rung) z

x y Timer
(on delay)
x y 1s

7
PLC History 101
• Pre-1968 electrical controls:
– Hardwired Panels
• Relays
• Cams
• Drum sequencers
– Shut down line to change, debug, optimize control
– Errors were difficult to locate, correct
– Mechanical devices are prone to wear out
– Electrical safety was difficult
– “Real estate” for panel was expensive

8
PLC History 102
• 1968 General Motors:
– Use re-programmable computer to control system
• Concept is LOGICAL continuity rather than electrical continuity
• Electricians would not have to be trained in a programming language
• Could be programmed off-line
– Environmentally hardened
• Operate without error in a high EMF environment
• Sealed from dirt, dust
– Electro-Optic Isolation
• Separates computer from inputs & outputs
• Modularization concept

9
PLC History 103
• Today:
– Smaller
– Cheaper
– Expandable
– More Capable
• Digital I/O modules
• Analog I/O modules  Position control modules
• High speed counters  open loop control
• Communications  closed loop control
– host - link  Machine vision modules
– peer to peer
– ASCII  Bar code modules
• Speech modules  PID control modules
 Fuzzy logic control modules
 RF - radio frequency modules
10
PLC System Components
• Requirements:
– Power Supply
– CPU
– Input block
– Output block
– Memory
– Programming Unit
• Options:
– Expansion Units
– Modules

11
PLC System Diagrammed
Power Supply

CPU
Input Output
Block Block
Memory

RAM
ROM Dumb terminal
EPROM Programming Dedicated terminal
EEPROM Unit Hand-held programmer
Micro computer
12
Electro-Optical Isolation

• Purpose:
– Avoid direct electrical path between I/O blocks
and control circuitry Input Block
• Inputs: Sensor
+
P
– L
C

Output Block
• Outputs: P
L ~