Programmable Logic Controller
Programmable Logic Controller
Manufacturing
Manufacturing methods
• Batch production
• Job production
• Flow production
Improvement methods
• RCM
• TPM
• VDM
• QRM
• TOC
• Lean
• Six Sigma
• TQM
• ZD
• ISA-88
• ISA-95
• ERP
• SAP
• IEC 62264
• B2MML
Process control
• PLC
• DCS
• SCADA
• v
• t
• e
Contents
• 1Overview
• 2Invention and early development
• 3Programming
• 4Functionality
o 4.1Basic functions
o 4.2Timers and counters
o 4.3Programmable logic relay (PLR)
• 5PLC topics
o 5.1Features
o 5.2Scan time
o 5.3Process of a scan cycle
o 5.4System scale
o 5.5User interface
o 5.6Communications
o 5.7Programming
▪ 5.7.1Control example shown in ladder diagram
o 5.8Security
o 5.9Simulation
o 5.10Redundancy
• 6PLC compared with other control systems
• 7Discrete (digital) and analog signals
• 8See also
• 9References
• 10Further reading
• 11External links
Overview[edit]
Programming[edit]
Functionality[edit]
Basic functions[edit]
logical AND function, not allowing current to pass unless all the
energize its output storage bit if all the input bits are on. Similarly,
one coil is called a "rung" of a "ladder diagram ", and this concept
is also used to describe PLC logic. Some models of PLC limit the
The output of each rung sets or clears a storage bit, which may be
in a PLC program.
order for evaluating the rung logic. This is different from electro-
mechanical relay contacts, which in a sufficiently complex circuit
programming style.
a RESET contact.
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 needed, and low cost is
and used to navigate and edit the logic. Most have a small
the tiny LCD and push-button set for this purpose. Unlike
PLC topics[edit]
Features[edit]
Control panel with PLC (grey elements in the center). The
oxidizerregulation.
The main difference from most other computing
Scan time[edit]
A PLC program generally loops i.e. executes
repeatedly, as long as the controlled system is
running. At the start of each execution loop, the
status of all physical inputs are copied to an area of
memory, sometimes called the "I/O Image Table",
which is accessible to the processor. The program
then runs 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.[12] Scan times
of a few milliseconds may be encountered for small
programs and fast processors, but for older
processors and very large programs much longer
scan times (on the order of 100 ms) may be
encountered. Excessively long scan times may mean
the response of the PLC to changing inputs or
process conditions is too slow to be useful.
User interface[edit]
See also: User interface and List of human-computer
interaction topics
Communications[edit]
Many models of PLCs have built-in communications ports,
using RS-232, RS-422, RS-485, or Ethernet. Various
protocols are usually included. Many of these protocols are
vendor specific.
Most modern PLCs can communicate over a network to
some other system, such as a computer running
a SCADA (Supervisory Control And Data Acquisition)
system or web browser.
Programming[edit]
Security[edit]
Redundancy[edit]
See also