Академический Документы
Профессиональный Документы
Культура Документы
PLCs
They are based on the Boolean logic operations whereas some models use
timers and some have continuous control. These devices are computer based
and are used to control various process and equipments within a facility. It is
worth noticing that the PLCs control the components in the DCS and SCADA
systems but they are primary components in smaller control configurations.
DCSs
Distributed Control Systems use in automotive industry is increasing with
passing time and they are also used in canned food preparation plants. A
DCS system consists of decentralized elements and all the processes are
controlled by these elements. Human interaction is minimized so the labor
costs and injuries can be reduced.
Embedded Control
In this control system, small components are attached to the industrial
computer system with the help of a network and control is exercised.
SCADA
Supervisory Control And Data Acquisition refers to a centralized system and
this system is composed of various subsystems like Remote Telemetry Units,
Human Machine Interface, Programmable Logic Controller or PLC and
Communications. Data is collected by RTUs and sent via communications to
the central system and the information is displayed in easy to understand
graphical form by HMI for the users.
PLC History
The 90′s have seen a gradual reduction in the introduction of new protocols,
and the modernization of the physical layers of some of the more popular
protocols that survived the 1980′s.
The latest standard “IEC 1131-3″ has tried to merge plc programming
languages under one international standard. We now have PLCs that are
programmable in function block diagrams, instruction lists, C and structured
text all at the same time.
PLC Hardware
System Busses
The internal paths along which the digital signals flow within the PLC are
called
busses.
The system has four busses:
- The CPU uses the data bus for sending data between the different
elements,
- The address bus to send the addresses of locations for accessing stored
data,
- The control bus for signals relating to internal control actions,
- The system bus is used for communications between the I/O ports and the
I/O unit.
Memory
System (ROM) to give permanent storage for the operating system and the
fixed data used by the CPU.
RAM for data. This is where information is stored on the status of input and
output devices and the values of timers and counters and other internal
devices. EPROM for ROM’s that can be programmed and then the program
made permanent.
I/O Sections
Inputs monitor field devices, such as switches and sensors.
Outputs control other devices, such as motors, pumps, solenoid valves, and
lights.
Power Supply
Most PLC controllers work either at 24 VDC or 220 VAC. Some PLC
controllers have electrical supply as a separate module, while small and
medium series already contain the supply module.
Programming Device
The programming device is used to enter the required program into the
memory of the processor.
The program is developed in the programming device and then transferred
to the memory unit of the PLC.
PLC Operation
Input Relays
These are connected to the outside world. They physically exist and receive
signals from switches, sensors, etc. Typically they are not relays but rather
they are transistors.
Counters
These do not physically exist. They are simulated counters and they can be
programmed to count pulses.
Typically these counters can count up, down or both up and down. Since
they are simulated they are limited in their counting speed.
Some manufacturers also include highspeed counters that are hardware
based.
Timers
These also do not physically exist. They come in many varieties and
increments.
The most common type is an on-delay type.
Others include off-delay and both retentive and non-retentive types.
Increments vary from 1ms through 1s.
Output Relays
These are connected to the outside world. They physically exist and send
on/off signals to solenoids, lights, etc.
They can be transistors, relays, or triacs depending upon the model chosen.
Data Storage
Typically there are registers assigned to simply store data. Usually used as
temporary storage for math or data manipulation.
They can also typically be used to store data when power is removed from
the
PLC.
PLC Communications
Extension modules
PLC I/O number can be increased through certain additional modules by
system extension through extension lines. Each module can contain
extension both of input and output lines.
Extension modules can have inputs and outputs of a different nature from
those on the PLC controller. When there are many I/O located considerable
distances away from the PLC an economic solution is to use I/O modules and
use cables to connect these, over the long distances, to the PLC.
Remote PLCs
In some situations a number of PLCs may be linked together with a master
PLC unit sending and receiving I/O data from the other units.
Cables
Twisted-pair cabling, often routed through steel conduit. Coaxial cable
enables higher data rates to be transmitted and does not require the
shielding of steel conduit.
Fiber-optic cabling has the advantage of resistance to noise, small size and
flexibility.
Parallel communication
Parallel standards
The standard interface most commonly used for parallel communication is
IEEE-488, and now termed as General Purpose Instrument Bus (GPIB).
Parallel data communications can take place between listeners , talkers , and
controllers. There are 24 lines: 8 data (bidirectional), 5
status & control, 3 handshaking, and 8 ground lines.
Serial communication
Serial standards
RS-232 communications is the most popular method of plc to external device
communications. RS 232 is a communication interface included
under SCADA applications. Other standards such as RS422 and RS423
are similar to RS232 although they permit higher transmission rates and
longer cable distances.
ASCII
ASCII is a human-readable to computer-readable translation code
(each letter/number is translated to 1′s and 0′s). It’s a 7-bit code, so we can
translate 128 characters (2^7 is 128).
Protocols
It is necessary to exercise control of the flow of data between two devices so
what constitutes the message, and how the communication is to be initiated
and terminated, is defined. This is termed the protocol.
One device needs to indicate to the other to start or stop sending data.
Interconnecting several devices can present problems because of
compatibility problems.
In order to facilitate communications between different devices the
International Standard Organization (ISO) in 1979 devised a model to be
used for standardization for Open System Interconnection (OSI).
PLC Communication II
START/STOP Bits
start bit. This is a synchronizing bit added just before each character we are
sending. This is considered a SPACE or negative voltage or a 0.
stop bit. This bit tells us that the last character was just sent.
This is considered a MARK or positive voltage or a 1.
Parity bit
Parity bit is added to check whether corruption has occurred. Common forms
of parity are: None, Even, and Odd. During transmission, the sender
calculates the parity bit and sends it. The receiver calculates parity for the
character and compares the result to the parity bit received. If the calculated
and real parity bits don’t match, an error occurred and we act appropriately.
Baud rate
it is the number of bits per second that are being transmitted or received.
Common values (speeds) are 1200, 2400, 4800, 9600, 19200, and 38400.
Software handshaking
Software handshaking (flow control) is used to make sure both devices are
ready to send/receive data. The most popular “character flow control” is
called XON/XOFF. The receiver sends the XOFF character when
it wants the transmitter to pause sending data. When it’s ready to receive
data again, it sends the transmitter the XON character.
RS-232 Communications
We use a binary system to transmit our data in the ASCII format. PLCs serial
port is used for transmission/reception of the data, it works by
sending/receiving a voltage, With RS232, normally, a 1 bit is represented by
a voltage -12 V, and a 0 by a voltage +12 V. (The voltage between +/- 3
volts is considered There are 2 types of RS-232 devices.)
ISO/OSI model
Interconnecting several devices can present problems because of
compatibility problems. In order to facilitate communications between
different devices the International Standard Organization (ISO) devised a
ISO/OSI model to be used for standardization for Open System
Interconnection (OSI).
Each layer is self contained and only deals with the interfaces of the layer
immediately above and below. It performs its tasks and transfers its results
to the layer above or the layer below.
It enables manufacturers of products to design products operable in a
particular layer that will interface with the hardware of other manufacturers.
ISO/OSI Protocols
ControlNet
The ControlNet network uses the Common Industrial Protocol (CIP) to
combine the functionality of an I/O network and a peer-to-peer network.
ControlNet take precedence over program uploads and downloads and
messaging. Supports a maximum of 99 nodes.
DeviceNet
DeviceNet is mainly used in industrial and process automation. It is based on
CAN technology.
It is a low-cost communication link to connect industrial devices to a network
and eliminate expensive hard wiring. Power and communication supplied
over a 4-wire bus. Supports up to 62 devices on the same bus network.
ModBus
ModBus is an open, serial communication protocol based on the
master/slave architecture. The bus consists of a master station, controlling
the communication, and of a number of slave stations.
PROFIBUS
PROFIBUS-DP purpose is for larger devices like PCs and PLCs to talk with
multiple smaller devices like sensors, drives, valves, etc. It uses RS-485 for
transmission of data. It uses a shielded twisted pair cable and enables data
transmission speeds up to 12 Mbit/sec.
Master /Slave
PROFIBUS uses a master/slave configuration for communication. It is usually
a single master device (aPLC) that talks with multiple slave devices
(sensors). The master devices poll the slaves when
they have the token. Slave devices only answer when asked a question.
They are passive and the master can be said to be active. The slave devices
just collect data and pass it to the master device when asked to do so.
Ethernet
Ethernet is one of the most widely implemented LAN architecture. It uses a
bus, star or tree topologies. It uses the CSMA/CD access method to handle
simultaneous demands. It supports data transfer rates of 10 Mbps, Fast
Ethernet (100 Base-T)- 100 Mbps, and Gigabit Ethernet – 1000 Mbps.
TCP/IP PROTOCOL
Most manufacturers who offer Ethernet compatibility to implement
supervisory functions over equipment controlling plant floor functions use a
transmission control protocol/internet protocol (TCP/IP) for layers 3 and 4 of
the OSI model. Some PLC manufacturers offer programmable
controllers with TCP/IP over-Ethernet protocol built into the PLC processor.
This allows the PLC to connect directly to a supervisory Ethernet network.
Note that the PLC can also have a control network with other PLCs.
• Sinking I/O circuits on the I/O modules receive (sink) current from
sourcing field devices. Sinking output modules used for interfacing
with electronic equipment.
DC Inputs
DC input modules allow to connect either PNP (sourcing) or NPN (sinking)
transistor type devices to them. When we are using a sensor have to worry
about its output configuration. If we are using a regular switch (toggle or
pushbutton) we typically don’t have to worry about whether we wire it as
NPN or PNP.
AC Inputs
An ac voltage is non-polarized. Most commonly, the AC voltage is being
switched through a limit switch or other switch type. AC input modules are
less common than DC input modules, because today’s sensors typically have
transistor outputs. If application is using a sensor it probably is operating on
a DC voltage.
It’s quite common for a plc to require that the input be on for 25 ms (or
more) before it’s seen. This delay is required because of the filtering which is
needed by the PLC internal circuit.
Relay Outputs
One of the most common types of outputs available is the relay output.
Existence of relays as outputs makes it easier to connect with
external devices. A relay is non-polarized and typically it can switch either
AC or DC.
Transistor Outputs
Transistor type outputs can only switch a dc current. The PLC applies a small
current to the transistor base and the transistor output “closes”. When it’s
closed, the device connected to the PLC output will be turned on.
Typically a PLC will have either NPN or PNP transistor type outputs. Some of
the common types available are BJT and MOSFET. A BJT type often has less
switching capacity than a MOSFET type. The BJT also has a slightly faster
switching time.
A transistor is fast, switches a small current, has a long lifetime and works
with dc only. A relay is slow, can switch a large current, has a shorter
lifetime and works with ac or dc.
Triac Output
Triac output can be used to control AC loads only. Triac output is faster in
operation and has longer life than relay output.
PLC Networks
For most LANs, the maximum distance between two nodes in the network is
at least one mile, and the transmission speed ranges from 1 to 20
megabaud. Also, most local networks support
at least 100 stations, or nodes.
Industrial Network
A special type of LAN, the industrial network, is one which meets the
following criteria:
? capable of supporting real-time control.
? high data integrity (error detection).
? high noise immunity.
? high reliability in harsh environments.
? and suitable for large installations.
PLC Programming
Programming Languages
A program loaded into PLC systems in machine code, a sequence of binary
code numbers to represent the program instructions.
Assembly language based on the use of mnemonics can be used, and a
computer program called an assembler is used to translate the mnemonics
into machine code.
High level Languages (C, BASIC, etc.) can be used.
Programming Devices
PLC can be reprogrammed through an appropriate programming device:
Programming Console
PC
Hand Programmer
‡please note:
LD: load
O: or
AN: and not (and a normally closed contact)
ALD: AND the first LD with second LD
PLC Instructions
Internal Relays
Auxiliary relays, markers, flags, coils, bit storage.
Used to hold data, and behave like relays, being able to be switched on or
off and switch other devices on or off. They do not exist as real-world
switching devices but are merely bits in the storage memory.
Timers
Most manufacturers consider timers to behave like relays with coils which
when energized result in the closure or opening of contacts after some
preset time. The timer is thus treated as an output for a rung with control
being exercised over pairs of contacts elsewhere. Others treat a timer as a
delay block which when inserted in a rung delays signals in that rung
reaching the output.
Timers Types
On-Delay timer- simply “delays turning on”. It is called TON, TIM or TMR.
Off-Delay timer- simply “delays turning off”. It is called TOF and is less
common than the on-dellay type.
The on/off delay timers above would be reset if the input sensor wasn’t
on/off for the complete timer duration.
Retentive or Accumulating timer- holds or retains the current elapsed time
when the sensor turns off in mid-stream. It is called RTO or TMRA.
This type of timer needs 2 inputs.
When the instructions before the timer symbol are true the timer starts
“ticking”.
When the time elapses the timer will automatically close its contacts.
When the program is running on the plc the program typically displays the
current value.
Typically timers can tick from 0 to 9999 (16-bit BCD) or 0 to 65535 times
(16-bit binary).
Timer Accuracy
There are software and Hardware Errors when using a timer.
Software Errors
Input error depending upon when the timer input turns on during the scan
cycle.
Output error depending upon when in the ladder the timer actually “times
out” and when the plc finishes executing the program to get to the part of
the scan when it updates the outputs.
Total software error is the sum of both the input and output errors.
Hardware Error
There is a hardware input error as well as a hardware output error. The
hardware input error is caused by the time it takes for the plc to actually
realize that the input is on when it scans its inputs. Typically this duration is
about 10ms (to eliminate noise or “bouncing” inputs).
The hardware output error is caused by the time it takes from when the plc
tells its output to physically turn on until the moment it actually does.
Typically a transistor takes about 0.5ms whereas a mechanical relay takes
about 10ms.
PLC Instructions III ‘Counters’
Counters
A counter is set to some preset value and, when this value of input pulses
has been received, it will operate its contacts.
The counter accumulated value ONLY changes at the off to on transition of
the pulse input.
Typically counters can count from 0 tto 9999, -32,768 to +32,767 or 0 to
65535.
The normal counters are typically “software” counters – they don’t physically
exist in the plc but rather they are simulated in software. A good rule of
thumb is simply to always use the normal (software) counters unless the
pulses you are counting will arive faster than 2X the scan time.
Counter Types
Up-counters counts from zero up to the preset value. These are called CTU,
CNT, C, or CTR.
Down-counters count down from the preset value to zero. These are
calllled CTD.
Up-down counters count up and/or down. These are called CTUD.
For CTU or CTD counter we need 2 inputs, but in CTUD we need 3 (up,
down and preset).
Counter Formats
Some manufacturers consider the counter as a relay and consist of two basic
elements:
One relay coil to count input pulses and one to reset the counter, and the
associated contacts of the counter being used in other rungs.
Sequencers
The PLC sequencer consists of a master counter that has a range of presets
counts corresponding to the different steps and so, as it progresses through
the count, when each preset count is reached can be used to control
outputs.
Advanced Instructions
Timers, counters and individual relays are all concerned with the handling of
individual bits, i.e. single on-off signal. PLC operations involve blocks of data
representing a value, such blocks being
termed words.
Data comparison
The data comparison instruction gets the PLC to compare two data values.
Thus it might be to compare a digital value read from some input device
with a second value contained in a register.
PLCs generally can make comparisons for:
less than (< or LESS),
equal to (= or EQU),
less than or equal to (<= or LEQ),
greater than (> or GRT),
greater than or equal to (>= or GEQ), and
not equal to ( NEQ).
PLCs almost always include math functions to carry out some arithmetic
operations:
Addition (ADD) – The capability to add one piece of data to another.
Subtraction (SUB) – The capability to subtract one piece of data from
another.
Multiplication (MUL) – The capability to multiply one piece of data by
another.
Division (DIV) – The capability to divide one piece of data from another.
Overflow
Advanced Instructions II
The master control instruction typically is used in pairs with a master control
reset. Different formats are used by different manufacturers:
MC/MCR (master control/master control reset),
MCS/MCR (master control set/master control reset) or
MCR (master control reset).
The zone being controlled begins with a rung that has the first MC
instruction, which status depends on its rung condition. This zone ends with
a rung that has the second MCR instruction only.
When the rung with the first MCR instruction is true, the first MCR
instruction is high and the outputs of the rung in the controlled zone can be
energized or denergized acording to their rung conditions. When the this
rung is false, all the outputs in the zone are denrgized, regardless their rung
conditions.
Timers should not be used inside the MC/MCR block because some
manufacturers will reset them to zero when the block is false whereas other
manufacturers will have them retain the current time
state.Counters typically retain their current counted value.
Jump Instructions
The JUMP instructions allow to break the rung sequence and move tthe
program execution from one
rung to another or to a subroutine. The Jump is a controlled output
instruction.
You can jump forward or backward.
You can use multiple jump to the same label.
Jumps within jumps are possible
There are:
1. Jump to Label. 2.Jump to subroutine
RETURN / END
Shift Registers
Programming Examples I
Example 1:
solution:
Example 2:
Make a program to increase the counter by one with each pulse from the
pulse generator SM0.4 (on rising edge) , and decrease another counter by
the same pulse.
Solution:
steps of solution would be
like this:
Programming Examples II
Example 3:
Solution:
when we press the PLC input button (I0.0), the PLC will put the value (980)
inside memory location vw200, and when the rising edge of the pulse
arrives, the contents of memory location will be shifted to the left for one bit
(the instruction SLW = shift left word). we could put 2 after # to shift two
bits to left. If we put 7 after the #, the overflow indicator will be activated
(SM1.1=1) which will activate the output in question.
Solution:
Example 5:
solution:
there is inside the PLC places for generating a series of pulses with fixed
durations, one of these places is SM0.5, it generates a pulse of 1 second (on
time is 0.5 sec and off time is 0.5 sec). another one is SM0.4, it generates a
60 second pulses.
Example 6:
In the next figure we want to fill the two tanks with water by a pump. The
pump is operating manually by a push-button “Start”. When the first tank
becomes full, the circuit should automatically start to fill the second tank by
closing the first valve, and opening the second valve, and when the
second tank is full, the pump disconnects automatically and a “sign lamp” is
turned on to show that 2nd tank is full.
solution:
We need first to identify the inputs and outputs of the system, so we can set
relations between the outside world and the inputs/outputs of the
programmable logic controller.
This table makes it clear: (remember NC: normally closed, NO:normally
open)
.. and here is the ladder diagram and instruction list for the system:
Programming Examples IV
Example A:
Use the instructions (set, reset) with the timer (SM0.4) to turn an output
on/off after several pulses from the SM0.4 timer.
and timing diagram:
Example B:
The next figure represents the process of making tea every day in the
morning for seven days (water in the tank is enough for 7 days only)
Procedure:
When pressing the ‘start’ button, the valve 1 (V1) opens,so the water pass
through the valve to the heating tank. And when the water level reaches the
float switch (FS), the valve should close and heating must begin.
When the temperature reach the required level the thermostat disconnects
the heater and opens valve 2 (V2) for 10 seconds then the alarm bell is
activated (as a sign that the tea jug is filled now with hot water)
Vendor selection
The range of PLC suppliers is vast and many offer a number of alternative
product ranges with any number of modules, boasting special features.
Our choice must meet the application requirements, provide extra capacity
for future development and provide a costeffective solution.
Price is the most commonly stated reason for making a choice, but the true
price of a PLC to meet the requirements of a particular application is often
much the same over a wide range of supplier equipment.
The final choice of supplier for our PLC will depend upon functionality,
support available, customer preferences, user knowledge and price.
Memory size (for data storage or program storage) and Performance (scan
time depends on the processor).
The size of program is dependent upon the complexity of the control
problem and the skill and style of the programmer.
The required operating speed for all the I/O must be determined, with a PLC
selected to match. This requires the estimation of the program size and the
proportion of slow instructions. The scan speed is normally expressed in
terms of
ms/K for a stated mix of simple and complex instructions. A PLC with an
appropriate memory capacity and speed can be selected.
Typical installation
• Grounding guidelines.
• Power considerations.
• Safety considerations.
• Checking that all cable connections between the PLC and the plant are
complete, safe, and to the required specification and meeting local
standards.
• Checking that all the incoming power supply matches the voltage
setting for which the PLC is set.
• Checking that all protective devices are set to their appropriate trip
settings.
Testing Software
Most PLCs contain some software checking program. This checks through the
installed program and provides a list on a screen or as printout with any
errors detected.
For any PLC controlled plant, by far the greater percentage of the faults are
likelly to be with sensors, actuators, and wiring rather than with PLC itself.
The faults within the PLC most are likely to be in the input/output channells
or power supply than in the CPU.
Case 1
Consider a single output device failing to turn on though the output LED is
on.
If testing of the PLC output voltage indicates that it is normal then the fault
might be a wiring fault or a device fault.
If checking of the voltage at the device indicates the voltage there is normal
then the fault is the device.
Case 2
Failure of an input LED to illuminate as required could be because:
*Input device is not correctly operating,
*Input device is not correctly powered,
*Incorrect wiring connections to the input modulle, or LED or input module
is defective.
Many PLCs provide built-in fault analysis procedures which carry out self-
testing and display fault codes, with possibly a brief message, which can be
translated by looking up code in a list to give the source of the fault and
possible method of recovery.
Applications
Conveyor system
This simple application is for a conveyor (moving material machine) and how
we implement it using ladder diagram and instruction list.
System requirements:
1. A plc is used to start and stop the motors of a segmented conveyor belt,
this allows only belt sections carrying a copper plate to move.
2. The system have three segmented conveyor belts, each segment runs by
a motor.
3. A proximity switch located at the end of each segment to detect the
position of the plate.
4. The first conveyor segment is always on.
5. The second conveyor segment turns on when the proximity switch in the
first segment detects the plate.
6. when the proximity switch at the second conveyor detects the plate, the
third segment conveyor turns ON.
7. the second conveyor is stopped, when the plate is out of detection range
of the second proximity switch, after 20 seconds.
8. the third conveyor is stopped after 20 seconds, when the proximity swtch
located at the segment doesn’t detect the plate.
PLC LAN Applications
Centralized data acquisition and distributed control are the most common
applications of LANs. Data collection and processing, when performed by an
individual controller, can burden the processor’s scan time, consume large
amounts of memory, and complicate the control logic program.
To use the distributed processing approach, a LAN and the PLCs attached to
it must provide the functions:
- communication between PLCs
- upload capability to a host computer from any PLC
- download capability from a host computer to any PLC
- reading/writing of I/O values and registers to any PLC
- monitoring of PLC status and control of PLC operation
This network lets controllers better communicate with I/O field devices, to
take advantage
of their growing intelligence. This configuration decentralizes control in the
PLC system,
yielding larger and faster control systems.
At the lowest level of process automation, the Sensor Busses focus solely on
discrete devices. AS-I (Actuator Sensor Interface) is the most common
Sensor Bus Network.
Field devices typically connected to Sensor Bus Networks include on/off
valves, limit switches,….
Troubleshooting
Program troubleshooting
There are severall causes off alteration to the user
program:
extreme environmental conditions,
electromagnetic Interference (EMI),
improper grounding,
improper wiring connections, and Unauthorized tampering.
If you suspect the memory has been altered, check the program against a
previously saved program on an EEPROM, UVPROM or flash EPROM modulle.
Hardware troubleshooting
Tips for troubleshooting control system
If installation and start-up procedures were followed closely, controller will
give reliable service.
If a problem should occur, the first step in the troubleshooting procedure is
to
identify the problem and its source.
Do this by observing your machine or process and by monitoring the
diagnostic LED indicators on the CPU, Power Supply and I/O modules.
By observing the diagnostic indicators on the front of the processor unit and
I/O modules, the majority of faults can be located and corrected. These
indicators, along with error codes identified in the programming device user
manual and programmer’s monitor, help trace the source of the fault to the
user’s input/output devices, wiring, or the controller.
Troubleshooting II
Power distribution
The master control relay must be able to inhibit all machines motion by
removing power to the machine I/O devices when the relay is de-energized.
The DC power supplly shoulld be powered directly from the fused secondary
of the transformer. Power to the DC input, and output, circuits is connected
through a set of master control relay contacts. Interrupt the load side rather
the AC line power. This avoids the additional delay of power supply turn-on
and turn-off.
Power LED
The POWER LED on the power supplly indicates that DC power is being
supplied to the chassis. This LED could be off when incoming power is
present when the:
Fuse is blown;
Voltage drops below the normal operating range;
Power supply is defective.
Safety Considerations
Actively thinking about the safety of yourself and others, as well as the
condition of your equipment, is of primary importance.
Have all personnel remain clear of the controller and equipment when
power is applied.
The problem may be intermittent and sudden unexpected machine motion
could result in injury.
Have someone ready to operate an emergency-stop switch in case it
becomes necessary to shut off power to the controller equipment.
Never reach into a machine to actuate a switch since unexpected machine
motion can occur and cause injury.
Remove all electrical power at the main power disconnect switches before
checking electrical connections or inputs/outputs causing machine motion.
Never alter safety circuits to defeat their functions. Serious injury or
machine damage could result.
System documentation
The documentation is the main guide used by the users and for
troubleshooting and fault finding with PLCs.
The documentation for a PLC installation should include:
A description of the plant.
Specification of the control requirements.
Details of the programmable logic controller.
Electrical installation diagrams.
Lists of all inputs and outputs connections.
Application program with full commentary on what it is achieving.
Software back-ups.
Operating manual, including details of all start up and shut down
procedures and alarms.
Routine operations are carried out without the need of user intervention.
There is an interface known as SCADA (Supervisory Control and Data
Acquisition) which lets the user interact with the system. A DCS consists of a
remote and a central control panel with a communication medium. Two
different names are given to the remote control panels by different
suppliers. The names are
The functions of these remote units are same as they contain I/O modules
and communication mediums and processors. These remote control units
can be connected to the central control panel or SCADA with the help of a
wireless or wired connection.
The software used to read the I/O command is of specialized nature.
SCADA
What is SCADA?
Supervisory Control And Data Acquisition or SCADA is a system used to
monitor and control a plant form a central location. This is not frequently
used because of the control override possibility. SCADA itself changes the
control set points quite frequently. It is widely used in water treatment
plants and lately it has been used chlorination and pumping stations.
These systems do not control any process but in fact come into play when it
is not possible to control a process through normal means. They are rather
installed as a protective measure and are quickly becoming the need of
every working environment. There are various types of safety systems in
place and their use depends on the type of industry they are used in. Here is
a look at some of them.
There are other systems like Pressure Safety Valves (PSV) and Emergency
Shutdown Systems (ESS) that are widely used in the manufacturing
industry.
Signature Image Processing (SIP)
The use of SIP has increased significantly in the automotive industry and it
has resulted in the improved quality and safety of the vehicles. The
automatic welding system can eliminate the need to rework and recall a
product and manufacturers can reduce the number of humans in the work
place and can save more on labor costs.
SIP was developed for arc welding with the assistance and help of the grant
given by Australian government. This system has a front end interface and
software and gives accurate results as it only depends on the electrical
signals received. It can survive in any industrial welding environment and is
easy to use and install as well.
GM Holden was the first purchaser and user of the technology. Significant
improvements were made in this system depending on the feedback
received from GM Holden and these improvements increased the commercial
value of this system. The improvements were made in algorithms and the
system was optimized to achieve accurate fault detection. The interface and
installation is simple but the mathematics involved in the working of SIP is
complex and the technology has been adopted and appreciated by the
world’s top auto manufacturers.
ARC also made and explained a few rules or guidelines for a device to be
considered as a programmable automation controller.
Functional Benefits
The characteristics used to define a PAC also explain the benefits that can be
obtained from its industrial installation and application. A PAC can meet
complex requirements and does not need additional components like a PLC.
Due to high integration of hardware and software, improved control system
performance is experienced. Integrated Development Environment or IDE
which is used in the manufacturing of a PAC uses a tagname database that is
used and shared by all the development tools.
A PAC only needs one software package to cover all the existing automation
needs and the ones that may arise in the future and does not need utilities
from different vendors. The control systems can be upgraded easily and due
its compact size, a programmable automation controller uses lesser space
compared to other options.
People use to think that field networks were the only solution when it came
to the use of smart field devices but HART proved it wrong. HART
communication protocol provides the easy installation that is equipped with
4 to 20mA technique. Today HART is a preferred choice for the smart field
devices.
If the smart device is not equipped with 4 to 20mA analog wiring, the
benefits of HART digital communication cannot be achieved because it
provides communication along with 4 to 20mA wiring and signals. So it is
important to provide the plant a digital upgrade if it is does not have these
analog wirings.
Hart technology plays a very important and critical role in the device
management and operation. It provides device configuration, device
troubleshooting and diagnostics. Its current status of health and it reads all
the extra values provided by the machine and HART technology makes this
communication possible between the host and the smart device.
PROFIBUS
Types of PROFIBUS
1. PROFIBUS DP
2. PROFIBUS PA
PROFIBUS DP
It runs over two core screened cable that is violet sheathed and its speed
varies from 9.6Kbps to 12Mbps. A particular speed can be chosen for a
network to give enough time for communication with all the devices present
in the network. If systems change slowly then lower communication speed is
suitable and if the systems change quickly then effective communication will
happen through faster speed. The RS485 balanced transmission that is used
in PROFIBUS DP only allows 32 devices to be connected at once but more
devices can be connected and network can be expanded with the use of
hubs or repeaters.
PROFIBUS PA
It is slower than PROFIBUS DP and runs at fixed speed of 31.2Kbps via blue
sheathed two core screened cable. The communication may be initiated to
minimise the risk of explosion or for the systems that intrinsically need safe
equipment. The message formats in PROFIBUS PA are identical to PROFIBUS
DP.
CoDeSys
This software enables the operator to draw a visual chart of the controller’s
data and can watch and assess the performance easily. No additional tools
are required for this software. A manual comes with the software which
contains all the information and it has integrated visual program.
The graphical editor has three units, ladder diagram (LD), Function block
diagram (FBD,) and sequential function chart (SFC). The user can combine
the contacts and coils with the use of LD and FBD which will provide ease of
rapid programing of analogue and Boolean expressions. Thridly SFC enables
the user to conveniently program the sequential processes of the
application.
PLC Books
Here are some of the useful and recommended books you can find on
Amazon :
Introduction To PLCs
STEP 7 in 7 Steps
A Complete Guide to Implementing S7-300/S7-400 Programmable Logic
Controllers
http://www.plcmanual.com/plc-books