Programmable Logic Controller (PLC) - PLC System Overview and Functions of Basic PLC Com
Programmable Logic Controller (PLC) - PLC System Overview and Functions of Basic PLC Com
Note: The source of the technical material in this volume is the Professional
Engineering Development Program (PEDP) of Engineering Services.
Warning: The material contained in this document was developed for Saudi
Aramco and is intended for the exclusive use of Saudi Aramco’s employees.
Any material contained in this document which is not already in the public
domain may not be copied, reproduced, sold, given, or disclosed to third
parties, or otherwise used in whole, or in part, without the written permission
of the Vice President, Engineering Services, Saudi Aramco.
Section Page
INTRODUCTION............................................................................................................ 3
Course Introduction................................................................................................... 3
Module Introduction .................................................................................................. 3
PROGRAMMABLE LOGIC CONTROLLER SYSTEM: PURPOSE,
EVOLUTION, APPLICATIONS, AND SCOPING DOCUMENTS.................................... 4
Purpose of a PLC System......................................................................................... 4
Evolution of Control Systems .................................................................................... 4
Hard-Wired Control Systems ............................................................................... 5
Solid State Controls............................................................................................. 5
Programmable Logic Controller (PLC)................................................................. 6
Vendors Systems Used in Saudi Aramco ............................................................ 8
Applications of a PLC System................................................................................... 8
H2S/LEL Gas Monitor .......................................................................................... 9
Machinery Protection System .............................................................................. 9
Gas Dehydrators ............................................................................................... 10
Scoping Documents of a PLC System .................................................................... 11
Operational Requirements................................................................................. 12
Piping and Instrumentation Diagram (P&ID)...................................................... 12
Binary Logic Diagram ........................................................................................ 14
Cause and Effect Chart ..................................................................................... 15
FUNCTIONS OF BASIC PLC COMPONENTS ............................................................ 17
Overall PLC Operation............................................................................................ 17
Input Interface......................................................................................................... 20
Output Interface ...................................................................................................... 20
Central Processing Unit .......................................................................................... 21
Processor .......................................................................................................... 21
Memory ............................................................................................................. 21
Power Supply .................................................................................................... 22
Programming Terminal ........................................................................................... 22
Programming Software ........................................................................................... 23
SUMMARY................................................................................................................... 24
GLOSSARY ................................................................................................................. 25
ADDENDUM: 34-SAMSS-830, SECTION 10: DOCUMENTATION ........................... 29
LIST OF FIGURES
INTRODUCTION
Course Introduction
Module Introduction
• Scoping documentation
Hard-Wired
Control Systems
Early industrial control systems were non-electric. The control
systems used pneumatic, hydraulic, or purely mechanical
components. Relays were used in later systems to assist in the
control functions.
Solid State
Controls
The rapid development of solid state electronics from the
transistor to the integrated circuits in 1958 changed and
continues to change the approach and techniques used for
control of industrial processes. Solid state printed circuit boards
containing integrated circuits and transistors replaced
electropneumatic timers and counters and the relays that are
used for logic functions. These solid state replacements
reduced the number of relays and electromechanical
components, but they did not eliminate the requirements for
many interconnecting wires and the temperature-controlled
environments required for the solid state devices. The control
panel size was reduced but the individual circuit cards,
containing the solid state logic circuits, were still interconnected
with wires.
Programmable
Logic Controller
(PLC)
In the late 1960's and the early 1970's, computers were being
used for data processing functions. The computers required
restricted temperature, voltage, and humidity specifications.
The computers were not designed to work in the processing
plant environment.
Vendors Systems
Used in Saudi
Aramco
The PLC systems currently used within the Saudi Aramco
facilities are manufactured by the following vendors:
• Allen-Bradley
• Modicon
• Honeywell
Some of the areas that Saudi Aramco uses PLC systems are as
follows:
• Gas Dehydrators
H2S/LEL Gas
Monitor
The PLC system uses analog input modules to monitor the gas
concentration, and it uses digital output modules to interface
with the annunciation systems.
Machinery
Protection System
Figure 1 is a simplified representation of Drawing #422-P&I
Sheet 3. Figure 1 illustrates a system that includes machinery
protection. The system is used to transfer material from the
product mixing tank (T-1) to the product storage tank (T-2). The
PLC controls and protects the pump (P-1) and the associated
valves by monitoring various process variables.
If the product mixing tank level drops to empty, the PLC will
activate switch LSL-1 to OPEN. This action will stop the pump
and prevent cavitation.
PRODUCT MIXING
TANK T-1 LSH
4
LSL PSHH
1 3
ZS1/O PSH
3
S FV1 PRODUCT
TSH STORAGE
2 TANK T-2
S ZS2/O
FV2
M
P-1
Gas Dehydrators
PLC systems are used to control the drying and regenerating
cycles for the gas dehydrators at gas plants. This application
uses digital input and digital output signals to operate the drying
and regeneration cycles of the dehydrators. The PLC system
includes timing and sequencing functions combined with valve
interlocks to alternately use one dehydrator for removing
moisture while regenerating the second dehydrator.
Periodically, the cycle is reversed: The second dehydrator is
used for drying, and the first dehydrator is regenerated.
• Operational Requirements
Operational
Requirements
The project starts with a description of the process to be
controlled and the process operational requirements. The
description should provide the following information:
Piping and
Instrumentation
Diagram (P&ID)
The P&ID is an engineering document used to describe the
process to be controlled and to designate instruments and
instrumentation systems to be used for measurement and
control of the system. In order to promote uniformity, a
standard is used to reference instrumentation for a control
system. The reference used by Saudi Aramco is the SAES-J-
004: Instrument Symbols and Identification.
YIC YIC
10 WASH 11
WATER
s s
FV10 FV11
YIC YIC
1 FQ MC FQ 2
1 12 2
s s
FE1 FE2
PRODUCT A FV1 FV2 PRODUCT B
LSH LAH
12 12A
L1 BATCH
12 MIXING TANK
T-12
AI LT LSL LAH
12 12 12B
12
S YIC
FV3
3
TO TRANSFER
PUMP
Binary Logic
Diagram
A Binary Logic Diagram is an engineering diagram that
represents the functional operation of a given device or system.
The logic diagram is not meant to convey the specific type of
hardware used to execute a function; instead it is meant to
define the functions that must be performed in order to obtain
the desired result. Therefore, while the actual hardware used
for the control system may be electromechanical or solid state
components, the logic sequence of operation is identical.
PB - 1
STOP
AND
MANUAL START
AND TRANSFER
RUN
PERMISSIVE REQUEST
SH. 2
PB-1
START
AND
LAH-14
OR
SW-3
MANUAL
S-6 SEPARATOR
S-4 SEPARATOR
S-6 SEPARATOR
SERVICE
X - CLOSE, OFF
OUTPUT
O - OPEN, ON
HV4001
HV4002
HV4003
HV4004
HV4005
HV4006
INITIATING DEVICE
FLOW DESCRIP- 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2
SHEET SERVICE TION 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
AREA 1 SHUTDOWN 1 X X X X X X
UNIT 12 SHUTDOWN 2 X X X X X X
3
X-1011 S-2 SEPARATOR LSH4001 4 X O
X-1011 S-2 SEPARATOR LSL4001 5 O X
X-1011 S-4 SEPARATOR LSH4002 6 X X O
X-1011 S-4 SEPARATOR LSL4002 7 O X
X-1011 S-6 SEPARATOR LSH4003 8 X X O
X-1011 S-6 SEPARATOR LSL4003 9 O X
10
11
12
13
14
15
16
17
18
19
20
Based on the logic status value stored in the memory, the PLC
solves the user control program. The user control program is
designed by the proponent to regulate the process. The user
control program determines the relationship between the status
information and the action to be taken by the PLC to control the
process.
After solving the user control program, the PLC takes control
action by turning the actuators of the output field devices to
either ON or OFF state. The PLC regulates the output field
devices that control a process based on status information
provided by the input field devices.
PLC
PROCESSOR
MEMORY
POWER
SUPPLY
INPUT CENTRAL OUTPUT
INTERFACE PROCESSING UNIT INTERFACE
PROCESS
STATUS CONTROL
INFORMATOIN
The PLC system consists of the PLC, the input devices, the
output devices, and peripheral equipment. The PLC consists of
the following components, which are discussed below:
• Input interface
• Output interface
- Processor
- Memory
- Power supply
• Programming terminal
• Programming software
INPUTS FROM
PILOT DEVICES: PLC SYSTEM
PUSHBUTTONS DIGITAL
AND LIMIT, OUTPUTS
PROXIMITY, SMALL LOADS
TEMPERATURE, PLC
PRESSURE AND
LEVEL SWITCHES
PROCESSOR
INTERFACE
INTERFACE
OUTPUT
POWER LOADS
MEMORY
INPUT
AND
ANALOG CONTACTORS
POWER SUPPLY
PROCESS
INPUT SIGNALS:
TEMPERATURE,
PRESSURE,
FLOW AND
LEVEL
ANALOG
OUTPUTS:
PROGRAMMING
TRANSDUCERS
PROGRAMMING METERS
SOFTWARE TERMINAL
Input Interface
The signal level for the digital input signals ranges from 115V ac
to 5V dc. The signal level for the analog input signals ranges
from 4 to 20 mA dc for the process transmitters to resistance
change provided by the RTD. The PLC system designer
selects the proper input interface module that is required for the
input signal generated by the field device that is connected to
the PLC.
Output Interface
The output interface converts the low level logic signal from the
CPU into a high level voltage that is used by the output device.
The output interface electrically isolates the logic level signal
from the high voltage level output signal, and provides electrical
transient protection between the output field device and the
CPU.
Processor
The processor is a part of the central processing unit. The
function of the processor is to command and govern the
activities of the PLC. The processor performs this function by
interpreting and executing a collection of system programs
called the executive. The executive is a collection of
supervisory programs that are permanently stored in the PLC
memory and that are considered part of the CPU. In addition to
the task of controlling the PLC, the executive programs also
perform the communication between the PLC and the
programming terminal. Each PLC vendor has developed a
unique executive for its PLC. Therefore, PLCs that have been
obtained from different vendors have different executive
programming.
Memory
The memory is also a part of the central processing unit. The
memory stores data relating to the status of the input and output
devices connected to the PLC and the status of the user control
program. The user control program, which is also called the
application program, contains the logic for the control of the
process.
Power Supply
The power supply converts power line voltage to a filtered,
regulated dc voltage for the operation of the processor,
memory, and logic circuits located in the input and output
interfaces (modules). In most cases, the power supply is
capable of supplying power to the processor, memory, and to a
limited number of input and output modules mounted in the
same rack as the processor and memory. If the number of input
and output modules in a system exceeds the capacity of the
power supply, additional power supplies are required.
Programming Terminal
Programming Software
SUMMARY
GLOSSARY
Central Processing The part of the PLC that governs system activities,
Unit including the interpretation and execution of
programmed instructions. Also known as the
CPU.
control logic The control plan for a given system. The program.
input module A device that is used to connect the PLC with the
input devices. The input module contains the
circuitry required to convert the incoming voltages
to signal levels that are compatible with the
processor.
memory The part of the PLC where data and instructions are
stored either temporarily or semi-permanently.
output module A device that is used to connect the PLC with the
user's device. The output module contains the
circuitry required to convert the CPU's logic level
signals to voltage levels compatible with the user's
device.
power supply The unit that supplies the required voltage and
current to the system circuitry.
10 DOCUMENTATION