Service 4

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

There are two types of mechanical design for PLC systems.

A single box, or a brick


is a small programmable controller that fits all units and interfaces into one
compact casing, although, typically, additional expansion modules for inputs and
outputs are available. Second design type – a modular PLC – has a chassis (also
called a rack) that provides space for modules with different functions, such as
power supply, processor, selection of I/O modules and communication interfaces –
which all can be customized for the particular application.[22] Several racks can
be administered by a single processor and may have thousands of inputs and outputs.
Either a special high-speed serial I/O link or comparable communication method is
used so that racks can be distributed away from the processor, reducing the wiring
costs for large plants. Options are also available to mount I/O points directly to
the machine and utilize quick disconnecting cables to sensors and valves, saving
time for wiring and replacing components.[citation needed]
Some special processes need to work permanently with minimum unwanted downtime.
Therefore, it is necessary to design a system that is fault-tolerant and capable of
handling the process with faulty modules. In such cases to increase the system
availability in the event of hardware component failure, redundant CPU or I/O
modules with the same functionality can be added to hardware configuration for
preventing total or partial process shutdown due to hardware failure. Other
redundancy scenarios could be related to safety-critical processes, for example,
large hydraulic presses could require that both PLCs turn on output before the
press can come down in case one output does not turn off properly.

Programming

Example of a ladder diagram logic


Programmable logic controllers are intended to be used by engineers without a
programming background. For this reason, a graphical programming language called
Ladder Diagram (LD, LAD) was first developed. It resembles the schematic diagram of
a system built with electromechanical relays and was adopted by many manufacturers
and later standardized in the IEC 61131-3 control systems programming standard. As
of 2015, it is still widely used, thanks to its simplicity.[24]

As of 2015, the majority of PLC systems adhere to the IEC 61131-3 standard that
defines 2 textual programming languages: Structured Text (ST; similar to Pascal)
and Instruction List (IL); as well as 3 graphical languages: Ladder Diagram,
Function Block Diagram (FBD) and Sequential Function Chart (SFC).[24][25]
Instruction List (IL) was deprecated in the third edition of the standard.[26]

Modern PLCs can be programmed in a variety of ways, from the relay-derived ladder
logic to programming languages such as specially adapted dialects of BASIC and C.
[citation needed]

While the fundamental concepts of PLC programming are common to all manufacturers,
differences in I/O addressing, memory organization, and instruction sets mean that
PLC programs are never perfectly interchangeable between different makers. Even
within the same product line of a single manufacturer, different models may not be
directly compatible.[citation needed]

Programming devicePLC simulation is a feature often found in PLC programming


software. It allows for testing and debugging early in a project's development.

Incorrectly programmed PLC can result in lost productivity and dangerous


conditions. Testing the project in simulation improves its quality, increases the
level of safety associated with equipment and can save costly downtime during the
installation and commissioning of automated control applications since many
scenarios can be tried and tested before the system is activated.[27][28]

Functionality
PLC system in a rack, left-to-right: power supply unit (PSU), CPU, interface module
(IM) and communication processor (CP)

Control panel with PLC (grey elements in the center). The unit consists of separate
elements, from left to right; power supply, controller, relay units for input and
output
The main difference from most other computing devices is that PLCs are intended-for
and therefore tolerant-of more severe conditions (such as dust, moisture, heat,
cold), while offering extensive input/output (I/O) to connect the PLC to sensors
and actuators. PLC input can include simple digital elements such as limit
switches, analog variables from process sensors (such as temperature and pressure),
and more complex data such as that from positioning or machine vision systems.[29]
PLC output can include elements such as indicator lamps, sirens, electric motors,
pneumatic or hydraulic cylinders, magnetic relays, solenoids, or analog outputs.
The input/output arrangements may be built into a simple PLC, or the PLC may have
external I/O modules attached to a fieldbus or computer network that plugs into the
PLC.

The functionality of the PLC has evolved over the years to include sequential relay
control, motion control, process control, distributed control systems, and
networking. The data handling, storage, processing power, and communication
capabilities of some modern PLCs are approximately equivalent to desktop computers.
PLC-like programming combined with remote I/O hardware, allows a general-purpose
desktop computer to overlap some PLCs in certain applications. Desktop computer
controllers have not been generally accepted in heavy industry because desktop
computers run on less stable operating systems than PLCs, and because the desktop
computer
The most basic function of a programmable controller is to emulate the functions of
electromechanical relays. Discrete inputs are given a unique address, and a PLC
instruction can test if the input state is on or off. Just as a series of relay
contacts perform a logical AND function, not allowing current to pass unless all
the contacts are closed, so a series of "examine if on" instructions will energize
its output storage bit if all the input bits are on. Similarly, a parallel set of
instructions will perform a logical OR. In an electromechanical relay wiring
diagram, a group of contacts controlling 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 number of series and parallel instructions in one "rung" of logic. The
output of each rung sets or clears a storage bit, which may be associated with a
physical output address or which may be an "internal coil" with no physical
connection. Such internal coils can be used, for example, as a common element in
multiple separate rungs. Unlike physical relays, there is usually no limit to the
number of times an input, output or internal coil can be referenced in a PLC
program.

You might also like