Many early PLCs did
not have accompanying programming terminals that were capable of graphical
representation of the logic, and so the logic was instead represented as a
series of logic expressions in some version of Boolean format, similar to
Boolean algebra. As programming terminals evolved, it became more common for
ladder logic to be used, for the aforementioned reasons and because it was a
familiar format used for electromechanical control panels. Newer formats such
as State Logic and Function Block (which is similar to the way logic is
depicted when using digital integrated logic circuits) exist, but they are
still not as popular as ladder logic.
A primary reason for this is that PLCs solve
the logic in a predictable and repeating sequence, and ladder logic allows the
programmer (the person writing the logic) to see any issues with the timing of
the logic sequence more easily than would be possible in other formats . Early
PLCs, up to the mid-1980s, were programmed using proprietary programming panels
or special-purpose programming terminals, which often had dedicated function
keys representing the various logical elements of PLC programs.
Programs were stored on cassette tape cartridges. Facilities for printing and documentation were minimal due to lack of memory capacity. The very oldest PLCs used non-volatile magnetic core memory. More recently, PLCs are programmed using application software on personal computers. The computer is connected to the PLC through Ethernet, RS-232, RS-485 or RS-422 cabling. The programming software allows entry and editing of the ladder-style logic. Generally the software provides functions for debugging and troubleshooting the PLC software, for example, by highlighting portions of the logic to show current status during operation or via simulation.
The software will
upload and download the PLC program, for backup and restoration purposes. In
some models of programmable controller, the program is transferred from a
personal computer to the PLC through a programming board which writes the
program into a removable chip such as an EEPROM or EPROM. In more recent years,
small products called PLRs (programmable logic relays), and also by similar
names, have become more common and accepted. These are very much like PLCs, and
are used in light industry where only a few points of I/O (i.e. a few signals
coming in from the real world and a few going out) are involved, and low cost
is desired. These small devices are typically made in a common physical size
and shape by several manufacturers, and branded by the makers of larger PLCs to
fill out their low end product range. Popular names include PICO Controller,
NANO PLC, and other names implying very small controllers. Most of these have
between 8 and 12 digital inputs, 4 and 8 digital outputs, and up to 2 analog
inputs. Size is usually about 4" wide, 3" high, and 3" deep.
Most such devices
include a tiny postage stamp sized LCD screen for viewing simplified ladder
logic (only a very small portion of the program being visible at a given time)
and status of I/O points, and typically these screens are accompanied by a
4-way rocker push-button plus four more separate push-buttons, similar to the
key buttons on a VCR remote control, and used to navigate and edit the logic.
Most have a small plug for connecting via RS-232 or RS-485 to a personal
computer so that programmers can use simple Windows applications for programming
instead of being forced to use the tiny LCD and push-button set for this
purpose.
Unlike regular PLCs that are usually modular and greatly expandable, the PLRs are usually not modular or expandable, but their price can be two orders of magnitude less than a PLC and they still offer robust design and deterministic execution of the logic. A PLC program is generally executed repeatedly as long as the controlled system is running. The status of physical input points is copied to an area of memory accessible to the processor, sometimes called the "I/O Image Table". The program is then run from its first instruction rung down to the last rung. It takes some time for the processor of the PLC to evaluate all the rungs and update the I/O image table with the status of outputs.[5] This scan time may be a few milliseconds for a small program or on a fast processor, but older PLCs running very large programs could take much longer (say, up to 100 ms) to execute the program.
If the scan time was too long, the response of the PLC to process conditions would be too slow to be useful. As PLCs became more advanced, methods were developed to change the sequence of ladder execution, and subroutines were implemented.[6] This simplified programming and could also be used to save scan time for high-speed processes; for example, parts of the program used only for setting up the machine could be segregated from those parts required to operate at higher speed. Special-purpose I/O modules, such as timer modules or counter modules, can be used where the scan time of the processor is too long to reliably pick up, for example, counting pulses and interpreting quadrature from a shaft encoder. The relatively slow PLC can still interpret the counted values to control a machine, but the accumulation of pulses is done by a dedicated module that is unaffected by the speed of the program execution. PLCs may need to interact with people for the purpose of configuration, alarm reporting or everyday control.
A human-machine
interface (HMI) is employed for this purpose. HMIs are also referred to as
man-machine interfaces (MMIs) and graphical user interface (GUIs). A simple
system may use buttons and lights to interact with the user. Text displays are
available as well as graphical touch screens. More complex systems use
programming and monitoring software installed on a computer, with the PLC
connected via a communication interface. PLCs are well adapted to a range of
automation tasks. These are typically industrial processes in manufacturing
where the cost of developing and maintaining the automation system is high
relative to the total cost of the automation, and where changes to the system
would be expected during its operational life.
PLCs contain input and
output devices compatible with industrial pilot devices and controls; little
electrical design is required, and the design problem centers on expressing the
desired sequence of operations. PLC applications are typically highly
customized systems, so the cost of a packaged PLC is low compared to the cost
of a specific custom-built controller design.
On the other hand, in the case of mass-produced goods, customized control systems are economical. This is due to the lower cost of the components, which can be optimally chosen instead of a "generic" solution, and where the non-recurring engineering charges are spread over thousands or millions of units. For high volume or very simple fixed automation tasks, different techniques are used. For example, a consumer dishwasher would be controlled by an electromechanical cam timer costing only a few dollars in production quantities. A microcontroller-based design would be appropriate where hundreds or thousands of units will be produced and so the development cost (design of power supplies, input/output hardware and necessary testing and certification) can be spread over many sales, and where the end-user would not need to alter the control.
On the other hand, in the case of mass-produced goods, customized control systems are economical. This is due to the lower cost of the components, which can be optimally chosen instead of a "generic" solution, and where the non-recurring engineering charges are spread over thousands or millions of units. For high volume or very simple fixed automation tasks, different techniques are used. For example, a consumer dishwasher would be controlled by an electromechanical cam timer costing only a few dollars in production quantities. A microcontroller-based design would be appropriate where hundreds or thousands of units will be produced and so the development cost (design of power supplies, input/output hardware and necessary testing and certification) can be spread over many sales, and where the end-user would not need to alter the control.
Automotive
applications are an example; millions of units are built each year, and very
few end-users alter the programming of these controllers. However, some
specialty vehicles such as transit buses economically use PLCs instead of
custom-designed controls, because the volumes are low and the development cost
would be uneconomical. Very complex process control, such as used in the
chemical industry, may require algorithms and performance beyond the capability
of even high-performance PLCs. Very high-speed or precision controls may also
require customized solutions; for example, aircraft flight controls. Single-board
computers using semi-customized or fully proprietary hardware may be chosen for
very demanding control applications where the high development and maintenance
cost can be supported. "Soft PLCs" running on desktop-type computers
can interface with industrial I/O hardware while executing programs within a
version of commercial operating systems adapted for process control needs. Programmable
controllers are widely used in motion control, positioning control and torque
control.
Some manufacturers
produce motion control units to be integrated with PLC so that G-code
(involving a CNC machine) can be used to instruct machine movements. PLCs may
include logic for single-variable feedback analog control loop, a
"proportional, integral, derivative" or "PID controller". A
PID loop could be used to control the temperature of a manufacturing process,
for example. Historically PLCs were usually configured with only a few analog
control loops; where processes required hundreds or thousands of loops, a
distributed control system (DCS) would instead be used. As PLCs have become
more powerful, the boundary between DCS and PLC applications has become less
distinct. PLCs have similar functionality as Remote Terminal Units. An RTU,
however, usually does not support control algorithms or control loops.
As hardware rapidly
becomes more powerful and cheaper, RTUs, PLCs and DCSs are increasingly
beginning to overlap in responsibilities, and many vendors sell RTUs with
PLC-like features and vice versa. The industry has standardized on the IEC
61131-3 functional block language for creating programs to run on RTUs and
PLCs, although nearly all vendors also offer proprietary alternatives and
associated development environments.
In recent years "Safety" PLCs have started to become popular, either as standalone models ( Pilz PNOZ Multi, Sick etc.) or as functionality and safety-rated hardware added to existing controller architectures (Allen Bradley Guardlogix , Siemens F-series etc.). These differ from conventional PLC types as being suitable for use in safety-critical applications for which PLCs have traditionally been supplemented with hard-wired safety relays. For example, a Safety PLC might be used to control access to a robot cell with trapped-key access, or perhaps to manage the shutdown response to an emergency stop on a conveyor production line.
In recent years "Safety" PLCs have started to become popular, either as standalone models ( Pilz PNOZ Multi, Sick etc.) or as functionality and safety-rated hardware added to existing controller architectures (Allen Bradley Guardlogix , Siemens F-series etc.). These differ from conventional PLC types as being suitable for use in safety-critical applications for which PLCs have traditionally been supplemented with hard-wired safety relays. For example, a Safety PLC might be used to control access to a robot cell with trapped-key access, or perhaps to manage the shutdown response to an emergency stop on a conveyor production line.
Such PLCs typically
have a restricted regular instruction set augmented with safety-specific
instructions designed to interface with emergency stops, light screens and so
forth. The flexibility that such systems offer has resulted in rapid growth of
demand for these controllers. Omron was established by Kazuma Tateishi in 1933
and incorporated in 1948. Omron's primary business is the manufacture and sale
of automation components, equipment and systems, but it is generally known for
medical equipment such as digital thermometers, blood pressure monitors and
nebulizers.
Omron developed the
world's first electronic ticket gate, which was named an IEEE Milestone in
2007, and was one of the first manufacturers of cash-dispensing ATMs with
magnetic stripe card readers.
Nice blog thanks for sharing.
ReplyDeleteMessung Systems, a part of the Messung Group is guided by a trinity of principles namely innovating technologies, creating perfection and delivering products.HMIs Suppliers