0% found this document useful (0 votes)
3 views7 pages

Module 5

The document provides an overview of Programmable Logic Controller (PLC) architecture, relay logic, ladder logic, PLC timers, and counters. It details the key components and functionalities of each system, emphasizing their roles in industrial automation and control. The information highlights the evolution from traditional relay logic to modern PLC systems, including the use of timers and counters for enhanced control capabilities.

Uploaded by

TANUSHKA EE2002
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views7 pages

Module 5

The document provides an overview of Programmable Logic Controller (PLC) architecture, relay logic, ladder logic, PLC timers, and counters. It details the key components and functionalities of each system, emphasizing their roles in industrial automation and control. The information highlights the evolution from traditional relay logic to modern PLC systems, including the use of timers and counters for enhanced control capabilities.

Uploaded by

TANUSHKA EE2002
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

PLC:

PLC architecture refers to the overall structure and components of a Programmable Logic Controller
system. While specific PLC architectures may vary depending on the manufacturer and model, the
fundamental components and organization remain relatively consistent. Here are the key elements
typically found in a PLC architecture:

1. Central Processing Unit (CPU): The CPU is the core of the PLC system and performs the processing
and execution of the control program. It receives inputs, executes the logic, and generates outputs
accordingly. The CPU also manages communication with other devices and performs various system-
level functions.

2. Input Modules: These modules are responsible for connecting the PLC to the external sensors and
switches that provide input signals to the system. They convert these signals into a format that can
be processed by the CPU. Examples of input modules include digital input modules (for binary
signals) and analog input modules (for continuous signals).

3. Output Modules: Similar to input modules, output modules interface the PLC with external devices
such as motors, valves, and indicators. They receive output signals from the CPU and convert them
into suitable control signals for the connected devices. Digital output modules and analog output
modules are commonly used to handle different types of output signals.

4. Memory: PLCs have different types of memory for storing the control program, data, and system
parameters. The program memory holds the control logic created by the programmer, while data
memory stores variables and values used during program execution. Memory may also include non-
volatile storage for retaining the program and data even during power loss.

5. Power Supply: PLCs require a power supply to operate. The power supply unit converts the
incoming power to the appropriate voltage levels needed by the various components within the PLC
system.

6. Communication Ports: PLCs often have communication ports to connect with other devices, such
as human-machine interfaces (HMIs), supervisory control and data acquisition (SCADA) systems, and
other PLCs. These ports enable data exchange, remote monitoring, and control capabilities.

7. Programming Software: To create and modify the control program running on the PLC, specialized
programming software is used. The software allows engineers and technicians to design the control
logic, configure the input/output modules, and establish communication with external devices.
8. Networking Capabilities: Many modern PLC architectures support network connectivity, enabling
integration into larger control systems. PLCs can communicate over various industrial protocols, such
as Ethernet/IP, Modbus, Profibus, or Profinet, allowing for data sharing and coordination with other
devices on the network.

These components work together to enable the PLC to monitor inputs, execute the control program,
and generate appropriate outputs, facilitating automation and control of industrial processes.

Relay logic:
Relay logic refers to a control system or circuit design that utilizes electromechanical relays for
control and switching purposes. It is a traditional method of implementing control logic before the
advent of digital programmable logic controllers (PLCs). In relay logic, the control logic is
implemented using a combination of relays, switches, and contacts to create a series of logical
conditions and actions.

Here are the key components and concepts in relay logic:

1. Relays: Electromechanical relays are devices that contain an electromagnet and sets of electrical
contacts. When the coil of the relay is energized, it generates a magnetic field that causes the
contacts to close or open, depending on the relay type. Relays are used for switching electrical
circuits on or off based on the control logic.

2. Contacts: Relay contacts are the electrical terminals that open or close depending on the state of
the associated relay coil. Contacts can be normally open (NO) or normally closed (NC). When a relay
is energized, the contacts change their state accordingly.

3. Coils: Relay coils are the electromagnetic windings that, when energized, generate a magnetic field
to actuate the contacts. The coil is typically energized by an external power source, such as a voltage
or current signal.

4. Control switches: Control switches are manual or automatic devices used to provide input signals
to the relay logic system. They can be push buttons, limit switches, pressure switches, or any other
type of switch used to initiate or interrupt a control action.

5. Control logic: Control logic refers to the sequence of relay contacts and coils that define the
desired behavior of the system. By arranging the contacts and coils in various combinations, different
logical conditions and actions can be achieved. For example, using series and parallel connections of
relay contacts, AND, OR, and NOT logic functions can be implemented.
6. Latching relays: Latching relays, also known as bistable relays, have a special feature that allows
the contacts to maintain their state even after the coil is de-energized. This allows for the creation of
memory or latch circuits in relay logic.

7. Timing relays: Timing relays are relays with built-in timing functions. They introduce time delays or
time-based control actions into the relay logic system. Timing relays can be used for delay-on, delay-
off, pulse generation, or other time-related functions.

Relay logic is often represented using ladder diagrams, which use graphical symbols to depict the
various relay contacts, coils, switches, and logic connections. Each rung of the ladder diagram
represents a logical condition, and the overall ladder diagram depicts the entire control logic of the
system.

Relay logic has been largely replaced by digital programmable logic controllers (PLCs) in modern
industrial control systems due to the flexibility, scalability, and ease of programming they offer.
However, understanding relay logic is still relevant as it forms the foundation of many control
concepts and can be encountered in legacy systems or specific applications.

Ladder logic:
Ladder logic is a graphical programming language used for designing and implementing control logic
in programmable logic controllers (PLCs). It is based on the concept of relay logic, but instead of
using physical relays and contacts, ladder logic uses virtual rungs and graphical symbols to represent
the control logic. Here's an overview of the components and concepts in ladder logic:

1. Rungs: A ladder logic program consists of multiple horizontal rungs, typically displayed vertically
on a programming screen. Each rung represents a specific condition or action in the control system.

2. Contacts: Contacts are graphical symbols representing input conditions or switches. They can be
normally open (NO), represented as an open line, or normally closed (NC), represented as a diagonal
line. Contacts are used to represent the status of sensors, switches, or other input devices.

3. Coils: Coils are graphical symbols representing output devices, such as motors, solenoids, or lamps.
They indicate the output actions or states based on the input conditions. When a rung is active and
its contacts are closed, the coil associated with that rung is energized.

4. Power rails: Power rails are vertical lines on the left and right sides of the ladder logic diagram.
They represent the power supply connections for the control system.
5. Logical functions: Ladder logic allows the use of logical functions to create more complex control
conditions. These functions include AND, OR, and NOT operations, which can be achieved by
combining multiple contacts in series (AND) or parallel (OR). NOT operations are performed by using
normally closed (NC) contacts.

6. Branches and branches contacts: Ladder logic supports branching or multiple paths within a rung.
Branches can be created using parallel lines to separate sections of a rung. Branches can also have
contacts that act as internal conditions to enable or disable a specific branch based on the status of
other contacts.

7. Timers and counters: Ladder logic supports the use of timers and counters to introduce time-
based or count-based control actions. Timers can be used to introduce time delays, while counters
can be used to keep track of events or occurrences.

8. Special function blocks: Many PLC programming software packages provide additional function
blocks that can be used in ladder logic programs. These blocks can include mathematical operations,
data manipulation functions, communication instructions, and more.

Ladder logic diagrams are created and edited using specialized programming software provided by
PLC manufacturers. Engineers and technicians can visually design and modify the ladder logic
program, making it easier to understand and troubleshoot the control logic.

Ladder logic remains widely used in industrial automation due to its simplicity and familiarity. It
allows for the representation of complex control systems in a straightforward and intuitive manner,
making it accessible to control system designers and maintenance personnel.

PLC timmer:
A PLC timer is a function block or instruction in programmable logic controllers (PLCs) that provides
time-based control capabilities. It allows you to introduce time delays, trigger actions at specific time
intervals, or measure the duration of events. Timers are commonly used in industrial automation
applications to coordinate processes, synchronize operations, or implement time-based control logic.

Here are the key features and concepts related to PLC timers:

1. Timer types: PLCs typically offer different types of timers, including on-delay timers (TON), off-
delay timers (TOF), and retentive timers (RTO). Each type functions differently:
- On-delay timers (TON): These timers start counting when the input condition is true and maintain
the output condition until the preset time has elapsed. They are commonly used to introduce delays
before activating specific actions or outputs.

- Off-delay timers (TOF): These timers start counting when the input condition becomes false and
maintain the output condition for a specific duration after the input condition goes true. They are
useful for delaying the deactivation of outputs or actions.

- Retentive timers (RTO): Retentive timers keep track of elapsed time even during power loss. They
remember the accumulated time and continue counting when power is restored. They are suitable
for applications where it is necessary to retain timing information across power cycles.

2. Timer parameters: PLC timers are configured with various parameters:

- Preset value: The desired time duration or delay that needs to be achieved before the timer
output changes state.

- Current value: The current elapsed time or the remaining time until the preset value is reached.

- Input condition: The signal or condition that triggers the timer to start counting.

- Output condition: The state of the timer's output, which changes when the preset value is
reached or when the timer type conditions are met.

3. Timer contacts: Timer contacts are used to activate or deactivate the timer. They act as enable or
disable signals for the timer. When the timer contact is energized, the timer starts counting. If the
timer contact is de-energized, the timer pauses or resets.

4. Timing control: PLC timers offer control options such as resetting, pausing, or restarting the timer.
These functions allow you to modify the timer behavior during runtime based on specific conditions
or events.

5. Cascading timers: In more complex applications, you may need to cascade multiple timers
together. Cascading timers involve connecting the output of one timer to the input of another,
allowing for sequential time-based operations.
PLC timers are typically implemented using ladder logic or other programming languages specific to
the PLC manufacturer's software. Engineers and programmers can set the timer parameters,
configure the desired timing behavior, and integrate them into the overall control logic of the PLC
program.

By incorporating timers into a PLC program, you can introduce time-based operations, delays, or
control actions, enhancing the flexibility and functionality of industrial automation systems.

PLC Counter:
A PLC counter is a function block or instruction in programmable logic controllers (PLCs) that enables
the counting of events or occurrences. It is commonly used in industrial automation applications to
keep track of the number of times a particular condition is met, monitor production quantities, or
implement counting-based control logic. PLC counters allow for precise and accurate event counting
within a control system.

Here are the key features and concepts related to PLC counters:

1. Counter types: PLCs typically offer different types of counters, including up counters (CTU), down
counters (CTD), and preset counters (CTP). Each type functions differently:

- Up counters (CTU): These counters increment or count up by one each time the input condition
becomes true. When the counter reaches a specified preset value, an output condition or action is
triggered. Up counters are commonly used for counting events or occurrences.

- Down counters (CTD): These counters decrement or count down by one each time the input
condition becomes true. When the counter reaches zero, an output condition or action is triggered.
Down counters are useful for tracking a decreasing quantity or implementing countdown operations.

- Preset counters (CTP): Preset counters allow you to set a specific value as the target for counting.
When the counter reaches the preset value, an output condition or action is triggered. Preset
counters are used when a specific count value needs to be achieved before an action is taken.

2. Counter parameters: PLC counters are configured with various parameters:

- Current value: The current count value or the number of events that have occurred so far.
- Preset value: The target count value or the desired number of events to be reached before
triggering an output condition or action.

- Input condition: The signal or condition that triggers the counter to increment, decrement, or
change its state.

- Output condition: The state of the counter's output, which changes when the count value reaches
the preset value or when the counter type conditions are met.

3. Counter contacts: Counter contacts are used to activate or deactivate the counter. They act as
enable or disable signals for the counter. When the counter contact is energized, the counter starts
counting. If the counter contact is de-energized, the counter pauses or resets.

4. Counter control: PLC counters offer control options such as resetting, pausing, or restarting the
counter. These functions allow you to modify the counter behavior during runtime based on specific
conditions or events.

5. Cascading counters: In more complex applications, multiple counters may be cascaded together.
Cascading counters involve connecting the output of one counter to the input of another, allowing
for sequential counting operations.

PLC counters are typically implemented using ladder logic or other programming languages specific
to the PLC manufacturer's software. Engineers and programmers can set the counter parameters,
configure the desired counting behavior, and integrate them into the overall control logic of the PLC
program.

By utilizing counters in a PLC program, you can accurately track and monitor events, quantities, or
occurrences within an industrial automation system, enabling precise control and monitoring
capabilities.

You might also like