You are on page 1of 22

Programmable Logic

Controller Systems

By: Gideon Lengkong


Sr. Instrument & Control Engineer
PLC System 9-1

A Picture of PLC System

Programming Device
Man-Machine Interface

PLC Network

PLC PLC PLC PLC

FIELD DEVICES

PLC System 9-2


Basic Components of PLC
• Processor
• Memory

outputs
inputs
• I/O Interface
• Programming
Device &
Languages I/O System Power Supply
• Power Supply

PROCESSOR

Programming Memory
Device Unit

PLC System 9-3

How does a PLC work ?

• Examine the status of inputs and outputs


• Controls some process or machine through outputs
using some control logic
• This control logic is executed periodically by the
processor in a predetermined sequential order
• User can change the control logic using a programming
language and it is stored in the program memory

PLC System 9-4


Processor & Memory

System input bus


Clock

output
bus
Data Program
CPU Memory Memory

I/O
Port address bus

Instruction cycle :
• 80386/80486 microprocessor Fetch the next instruction from
program memory
based Place it in the instruction
• Random Access Memory (RAM) register in the CPU
Increment the program counter
• Electrically Erasable Programmer by one
Execute the instruction
Read Only Memory (EEPROM)

PLC System 9-5

Input/Output Systems

• Discrete Inputs/Outputs
• Analog Inputs/Outputs
• Special Purpose Modules
• Intelligent Modules
• Communication Modules

PLC System 9-6


Discrete Signal Types

• Selector switches • Annunciators


• Temperature switches • Alarm lights
• Flow switches • Electric control relays
• Level switches
• Electric fans
• Valve position switches
• Indicating lights
• Starter auxiliary contacts
• Pushbuttons
• Electric valves
• Motor starter contacts • Alarm horns
• Limit switches • Selenoid valves
• Pressure switches • Motor starters
• Hand switches • Heater starters
• Proximity switches
• Relay contacts
• Photoelectric sensors
PLC System 9-7

Discrete Input Modules

• AC and DC Discrete Input Module


– Electrical isolation between the field device (power) and the controller
(logic)
– Common return line connection
– ACI-XX where XX is voltage (120 and 220 VAC)
– DCI-XX where XX is voltage (12, 24, and 48 VDC)
• TTL
– TTL-compatible devices (solid-state controller and sensing instruments)
– external +5 V dc power supply
• Isolated Input Module
– Separated return lines
– IACI-XX or IDCI-XX

PLC System 9-8


Discrete Output Module

• AC Output Module • TTL Output Module


– AC loads (using Triac/SCR as – TTL-compatible output
switch) devices (seven segment LED,
– RC snubber protection IC, and +5 Vdc logic-based
– Peak voltage limiter (metal devices)
oxyde varistor - MOV) – External +5 Vdc power supply
– Fuse protection • Isolated AC Output Module
– External switching voltage • Dry Contact
• DC Output Module – Normally open (NO)
– DC loads (using power – Normally closed (NC)
transistors)
– Fuse protection

PLC System 9-9

Analog Devices

• Flow transmitters • Electric motor drives


• Pressure transmitters • Analog meters
• Temperature transmitters • Chart data recorders
• Analytical transmitters • Process controllers
• Position transmitters • Current-to-pneumatic
• Potentiometers transducers
• Level transmitters • Electrical-operated valve
• Speed instruments • Variable speed drives

PLC System 9-10


Analog Input Module
Single-ended
Differential

Current (0-20 mA)


Voltage (1-5 V)

Very high input


impedance to
prevent signal
loading Filtering and
isolation circuits

PLC System 9-11

Analog Output Module


Isolation between the output circuit
and the logic circuit is provided Receive data from the CPU which is
through optical couplers translated into a proportional
voltage/current to control an analog
field device

PLC System 9-12


Special Purpose Modules

• Binary Coded Decimal (BCD) Modules


– Provide parallel communication between the processor and
input/output devices
• Encoder/Counter Input Module
– Used for operations that require direct high speed encoder input
into a counter
• Pulse Counter Input Module
– Used to interface with field instruments that generate pulse such
as positive displacement (PD) flowmeters and turbine type
flowmeters

PLC System 9-13

Intelligent Module

• Can perform complete processing functions,


independent of the CPU and the control program scan
• Thermocouple Input Module
– Designed to accept inputs directly from a thermocouple
– Provides cold junction compensation
• Motor Control Module
– Generates a pulse train that is compatible with stepping motor
translators that represent distance, speed, and direction
commands
• Control Loop Module (PID module)
– Used in continuous closed-loop where the proportional-integral-
derivative (PID) control algorithm is required

PLC System 9-14


Communication Module

• ASCII • PCMCIA Interface Card


– Used to send and receive – Allows communications between
alphanumeric data between PLC or data highway and
peripheral equipment and the notebook PC
controller • Ethernet
• Universal Remote I/O Link – Designed to allow a number of
– Allows I/O subsystems to be PLC and other computer-based
remotely located from the devices to communicate over a
processor (1000 ft to several high speed plant local area
miles) network
• Serial Communications Module • Fiber Optic Converter
– Used to communicate between – Transform electrical signals and
the programmable controller and transmit these signals through
an intelligent instrument with a fiber optic cables
serial output
– RS-232C, RS-422, or RS-485
communication link
PLC System 9-15

Memory Sizing

• The amount of memory required depends on :


– control program complexity
– the number of I/O points
• Precise (almost impossible) method to determine
memory size :
– Write out the control program
– Count the number of instructions used
– Multiply this count by the number of words used per instructions
(obtained from PLC programming manual)
– Add the amounts of memor used by executive programs and the
processor overhead
• Practical method :
– Total memory = 10 x [the number of I/O points]
PLC System 9-16
I/O and Memory Sizing Example

• I/O Points • PLC size = Medium-


– Remote Area 1 : I/O = 70 + 35 + 6 = 111 sized (1024 I/O points max.)
– Remote Area 2 : I/O = 95 + 50 + 10 = 155
– Main Process Area : I/O = 300 + 156 + 32 • Memory size =
+ 5 = 493 10 x 759 = 7590 or 8K
– Total I/O points = 759
– Spare points = 10% x 759 = 76

PLC System 9-17

Hot Standby System


Architecture

PLC System 9-18


Typical Configuration of
PC/PLC

PLC System 9-19

Dual Link Configuration

PLC System 9-20


Peripheral Requirements

• Peripheral = other equipment in the PLC system that is not directly


connected to field I/O devices
– Compact portable programming device from PLC manufacturer
– Portable PC with PLC software
– Magnetic tape storage unit to store control program
– PROM Programmer
– Process I/O simulators
– Communications modules
• Depends on plant network design
• Extra modules is required for integration within different brands
– Operator interfaces
• hard-wired local and main control panels
• GUI software runs on a personal computer
• Intelligent peripheral devices such as touch screen
• Industrial PC with function keys and GUI software
PLC System 9-21

Example of I/O Wiring Diagrams

• Field wiring is normally indicated by a dashed line


• PLC output adresses are given on the left-hand side
• TB = Terminal Box
• JB = Junction Box

PLC System 9-22


Relay Circuit Diagram

PLC System 9-23

PLC Contact and its Logic

PLC System 9-24


Combination of Logic and
Contact Symbol

PLC System 9-25

I/O Address Assignment for


Real Input/Output

PLC System 9-26


I/O Address Assignment for
internal outputs

PLC System 9-27

I/O Connection

PLC System 9-28


Relay Circuit

PLC System 9-29

Identification of Real I/O

PLC System 9-30


I/O Address Assignment

PLC System 9-31

Internal Output Assignment

PLC System 9-32


Input/Output Connection

PLC System 9-33

Register Assignment Table

PLC System 9-34


Hardwired Components

PLC System 9-35

PLC Components

PLC System 9-36


Relay & Timer Circuit

PLC System 9-37

I/O Address Assignment

PLC System 9-38


Internal Output and Register
Assignment

PLC System 9-39

PLC Implementation

PLC System 9-40


Motor Start/Stop Circuit

PLC System 9-41

Real I/O to PLC

PLC System 9-42


I/O Address Assignment

PLC System 9-43

PLC Implementation

PLC System 9-44

You might also like