Practical Technical Education & Industrial Skills Learn • Practice • Test • Build Skills

Find Technical Resources

Translate

PLC Architecture and Components: CPU, I/O, Memory & Working

 

NITISH ATLAS | PRACTICAL TECHNICAL EDUCATION

PLC Fundamentals — Lesson 2

PLC Architecture and Components

Understand how a PLC receives signals, executes control logic and communicates with industrial equipment.

Learning Level: Beginner to ITI/CTS/Diploma/Btech | Subject: Manufacturing Process Control and Automation

1. Learning Objectives

After completing this lesson, you should be able to:

  • Identify the major functional parts of a PLC system.
  • Explain the functions of the CPU, memory, power supply and I/O interfaces.
  • Differentiate digital inputs, digital outputs, analogue inputs and analogue outputs.
  • Explain the difference between compact and modular PLCs.
  • Trace a basic signal path through an automated machine.
  • Recognise common PLC architecture mistakes and misconceptions.

2. What Is PLC Architecture?

PLC architecture describes how the functional components of a Programmable Logic Controller are organised and how they work together to control a machine or industrial process.

A typical PLC system may include:

  • Power supply
  • Central Processing Unit (CPU)
  • Memory
  • Input interface
  • Output interface
  • Communication interface
  • Programming software
  • External sensors and control devices
Important concept: Not every PLC has the same physical arrangement. Some controllers integrate several functions into one unit, while others use separate modules. Always consult the documentation for the exact PLC model.

3. PLC Functional Block Diagram

Consider an automated conveyor. A sensor detects a component, the PLC evaluates the input using its control program, and the output system commands the appropriate control equipment.

Industrial Process
↓
Sensors and Feedback Devices
↓
PLC Input Interface
↓
CPU and Control Program
↓
PLC Output Interface
↓
Appropriate Control Equipment
↓
Machine Action

Programming software and HMI devices may communicate with the PLC when supported and configured. The power-supply arrangement supports the controller and associated modules.

Signal sequence:

Field Device → Input → CPU and Program → Output → Control Equipment → Machine Response.

Safety note: This is a functional block diagram, not a wiring diagram. It does not specify terminal numbers, supply voltages, wiring arrangements or protective-device requirements.

4. Main Components of a PLC

4.1 Power Supply

The power-supply arrangement provides the electrical power required by the PLC and its modules.

Depending on the model, a controller may accept an AC supply, use a DC supply or require a separate power-supply arrangement.

The controller supply, sensor supply and output-load supply must not be assumed to be interchangeable.

Practical observation: Before connecting a device, check its rated supply, terminal identification and compatibility with the PLC hardware. Follow the manufacturer's wiring instructions.

4.2 Central Processing Unit (CPU)

The CPU executes the control program and manages controller operations.

Imagine a conveyor system. The CPU processes the available input information and evaluates the programmed conditions to determine the appropriate output commands.

For example, a program might permit a conveyor run command only when the system is enabled and the required operating conditions are satisfied.

The actual behaviour depends on the control program, controller configuration and machine design.

Remember: The CPU does not provide the mechanical power that moves a conveyor. The motor and its associated power-control system perform that function.

4.3 Memory

PLC memory supports functions such as storing the user program, configuration information and operating data.

The available memory types and their behaviour during a power interruption depend on the controller.

A technician should consult the manufacturer's documentation before assuming that a particular value, setting or program will be retained after power is removed.

4.4 Input Interface

The input interface receives compatible electrical signals from field devices.

Common input devices include:

  • Push buttons
  • Selector switches
  • Limit switches
  • Inductive proximity sensors
  • Photoelectric sensors
  • Pressure switches
  • Compatible temperature transmitters

The device must be compatible with the input module's electrical characteristics.

Trainer's observation: If a sensor's indicator changes, it does not automatically prove that the corresponding PLC input is receiving the correct signal. The signal path must be checked using the approved diagnostic procedure.

4.5 Output Interface

The output interface provides signals used to command external devices.

Typical applications include:

  • Indicator lamps
  • Interposing relays
  • Solenoid valves
  • Contactors through suitable control circuits
  • Other compatible control equipment

The output type, current rating, voltage rating and switching characteristics must match the application.

Important: A PLC output should not be assumed to drive every load directly. Motors and other industrial loads require suitable interfacing, power-control equipment and protection.

4.6 Communication Interface

A communication interface allows a PLC to exchange data with compatible devices.

Depending on the controller and system configuration, these devices may include:

  • Human-Machine Interfaces (HMIs)
  • Remote I/O systems
  • Other PLCs
  • Variable-Frequency Drives (VFDs)
  • Supervisory monitoring systems

Communication compatibility depends on supported protocols, hardware, configuration and network design.

4.7 Programming Environment

Programming software allows authorised users to develop and manage control programs and, where supported, configure hardware, monitor program execution and investigate faults.

Different manufacturers use different software environments, terminology and device configurations. For this reason, learners should understand general PLC concepts before moving to manufacturer-specific programming.

5. Understanding PLC Inputs and Outputs

PLC inputs and outputs can be classified according to the type of signal they handle.

Signal Category Meaning Example
Digital Input Receives a discrete signal. Push button or compatible ON/OFF sensor.
Digital Output Commands a discrete state. Indicator lamp or appropriately interfaced solenoid.
Analogue Input Receives a varying measurement signal. Compatible pressure transmitter.
Analogue Output Provides a varying control signal. Compatible command to a drive or control device.

5.1 Digital Signals

A digital signal commonly represents discrete states. In a simple industrial application, these may correspond to ON and OFF conditions.

The electrical representation depends on the device and interface. Input voltage requirements, polarity, common terminals and signal compatibility must be checked in the relevant documentation.

5.2 Analogue Signals

An analogue signal represents a varying quantity within a defined range.

For example, a compatible pressure transmitter might provide a 4–20 mA signal representing a specified pressure range.

The PLC system must be configured and scaled correctly to convert the measured electrical signal into meaningful engineering units.

Example: If a transmitter is configured to represent a pressure range, the input value must be interpreted using the correct signal range and scaling. Incorrect scaling can produce misleading measurements even when the electrical signal is present.

6. Compact PLC vs Modular PLC

6.1 Compact PLC

A compact PLC integrates several functions into one unit. Depending on the model, it may contain the controller, power-supply functions and a number of built-in input/output points.

Expansion options, communication capabilities and supported I/O depend on the specific model.

6.2 Modular PLC

A modular PLC uses separate compatible modules assembled into a system. Depending on the design, these may include a CPU, power supply, digital I/O, analogue I/O and communication modules.

Feature Compact PLC Modular PLC
Physical arrangement Several functions integrated into one unit. Functions distributed across compatible modules.
Initial configuration Often simpler for smaller applications. May require more detailed system planning.
Expansion Depends on supported expansion options. Depends on supported modules, racks and system limits.
Maintenance Some integrated functions may not be independently replaceable. Some modules may be replaceable independently.
Selection Match the integrated capabilities to the application. Match the complete module configuration to the application.

Neither type is automatically better for every application. Selection depends on I/O requirements, processing needs, communications, environment, maintainability, expansion and total cost.

7. Worked Example: Automatic Conveyor

Consider a conveyor that transports components past a detection point.

  1. The system is enabled through its intended control arrangement.
  2. A compatible sensor detects a component.
  3. The PLC evaluates the sensor signal and other programmed conditions.
  4. The PLC commands the appropriate output when the required conditions are satisfied.
  5. The motor-control system responds to the command.
  6. Additional feedback, where provided, helps confirm the process state.
Task Relevant Component
Detect a component Sensor
Receive the sensor signal PLC input interface
Evaluate programmed conditions CPU executing the control program
Issue a control command PLC output interface
Switch or regulate motor power Appropriate motor-control equipment
Display configured status HMI, if included
Confirm a position or process state                       Suitable feedback device, if provided
What should you understand? The sensor detects. The PLC processes programmed logic. The output system issues a command. The control equipment and machine perform the physical action. Feedback can help confirm the result.

This is a simplified functional example. An actual machine requires application-specific electrical design, suitable protection, appropriate interlocks and a validated safety arrangement.

8. Troubleshooting Case: The PLC Input Does Not Change

Imagine that a component passes the sensor, but the expected PLC input state does not change.

A beginner might immediately replace the sensor or PLC. An experienced technician investigates the evidence first.

Possible Causes

  • The component is outside the sensor's detection range.
  • The sensor is incorrectly selected or configured.
  • The sensor supply is unavailable.
  • The signal wiring is faulty.
  • The sensor output type is incompatible with the input module.
  • The input channel or configuration is incorrect.
  • The sensor or input channel has failed.

Systematic Diagnostic Approach

  1. Establish a safe condition. Follow the authorised diagnostic procedure before inspection.
  2. Check the documentation. Verify the sensor and input-module specifications.
  3. Observe the sensor. Check its status indicators where provided.
  4. Monitor the PLC input. Use the approved monitoring method to inspect the relevant input state.
  5. Investigate the signal path. If the sensor indicates detection but the input does not change, examine compatibility, wiring and configuration under the approved procedure.
  6. Record the evidence. Confirm the likely cause before replacing a component.
Electrical safety: Never probe live circuits or alter wiring unless you are authorised, appropriately trained and following the required electrical safety procedure. Do not bypass protective devices or machine interlocks to make equipment operate.

9. Common Beginner Mistakes

Mistake 1: Assuming Every PLC Has the Same Terminals

Different models have different terminal layouts, electrical ratings and supported functions. Check the exact manual.

Mistake 2: Assuming Every Input Uses the Same Voltage

Input requirements depend on the specific module and signal type.

Mistake 3: Confusing an Output Command with a Physical Result

The PLC may command an output without the machine completing the intended action. The external circuit, actuator and mechanical system also matter.

Mistake 4: Assuming Analogue Values Need No Scaling

Raw input values may need configuration and conversion into engineering units.

Mistake 5: Treating the HMI as the CPU

An HMI provides an operator interface. The PLC CPU performs its configured controller functions.

10. Practical Activity: Identify the PLC Architecture

Objective: Identify a PLC's major functional sections and document its available I/O.

Required equipment: An isolated PLC training unit, the correct manufacturer's manual and an observation sheet.

Procedure

  1. Record the manufacturer and exact model.
  2. Determine whether the PLC is compact or modular.
  3. Identify the CPU or integrated controller section.
  4. Locate the input and output interfaces.
  5. Determine which digital and analogue I/O functions are available.
  6. Identify the supported communication interfaces.
  7. Use the manual to record the permitted electrical specifications.
  8. Draw a functional block diagram of the training system.
  9. Explain how one input could influence one output through the control program.

Do not energise, rewire or open equipment unless the prescribed training procedure permits the work and appropriate supervision and protection are in place.

Observation Sheet

Item                                                                       Learner's Observation
Manufacturer ________________________
Model number ________________________
Compact or modular ________________________
CPU/controller section ________________________
Power-supply arrangement ________________________
Digital inputs ________________________
Digital outputs ________________________
Analogue inputs, if available ________________________
Analogue outputs, if available ________________________
Communication interfaces ________________________
Manual reference ________________________

11. Knowledge Check — MCQs

Q1. What is the main function of a PLC CPU?

A. To provide mechanical power

B. To execute the control program and manage controller operations

C. To detect every physical condition directly

D. To replace all field devices

Show Answer and Explanation
Correct answer: B. The CPU executes the control program and manages controller operations. It does not provide mechanical power.

Q2. Which is a typical digital input device?

A. Push button

B. Motor shaft

C. Machine foundation

D. Conveyor belt

Show Answer and Explanation
Correct answer: A. A push button can provide a discrete electrical signal to a compatible PLC input.

Q3. Which signal category is commonly used for a varying pressure measurement?

A. Digital output only

B. Analogue input, when the transmitter and module are compatible

C. Mechanical output only

D. HMI display output only

Show Answer and Explanation
Correct answer: B. A compatible pressure transmitter can provide a varying signal to an analogue input. The signal range and scaling must be configured correctly.

Q4. Which statement about a PLC output is correct?

A. Every output can directly operate any motor

B. Output specifications and suitable interfacing must be checked

C. Outputs never need external control equipment

D. An output command guarantees machine movement

Show Answer and Explanation
Correct answer: B. Output specifications must match the application. Suitable control equipment and protection may be required.

Q5. What is a key characteristic of a compact PLC?

A. It cannot execute programs

B. It integrates several controller functions into one unit

C. It always has more I/O than a modular system

D. It does not need a power supply

Show Answer and Explanation
Correct answer: B. A compact PLC integrates several functions. Its I/O capacity and expansion options depend on the model.

Q6. What should you do if the PLC input does not change when a sensor detects an object?

A. Immediately replace the CPU

B. Bypass the input circuit

C. Follow the safe diagnostic procedure and investigate the signal path

D. Assume the program is incorrect

Show Answer and Explanation
Correct answer: C. A systematic investigation helps identify whether the issue is associated with the sensor, wiring, input interface, configuration or another part of the system.

12. Short Viva Questions

  1. What is PLC architecture?
  2. What is the function of the CPU?
  3. What is the difference between a digital input and an analogue input?
  4. Why must the output rating be checked before connecting a load?
  5. What is the difference between compact and modular PLCs?
  6. What is the role of a communication interface?
  7. Why might an analogue value need scaling?
  8. Why should a technician consult the exact controller manual?
  9. Can a commanded output guarantee that a machine has moved?
  10. What information should be recorded during fault diagnosis?

13. Viva Answer Key

  1. PLC architecture describes the arrangement and interaction of the controller's functional components.
  2. The CPU executes the control program and manages controller operations.
  3. A digital input receives a discrete signal; an analogue input receives a varying measurement signal.
  4. To ensure that the output is electrically compatible with the load and application.
  5. A compact PLC integrates several functions into one unit, while a modular PLC uses separate compatible modules.
  6. It allows the PLC to exchange data with compatible devices.
  7. Scaling converts a raw signal value into a meaningful engineering value.
  8. Hardware layouts, ratings, wiring requirements and supported functions vary by model.
  9. No. The external circuit, control equipment, actuator and mechanical system must also function correctly.
  10. Record observed conditions, relevant signal states, diagnostic steps, evidence and the confirmed or suspected cause.

14. Key Takeaway

A PLC is one part of a complete control system.

To understand industrial automation, follow the complete signal path:

Field Device → Input Interface → CPU and Program → Output Interface → Control Equipment → Machine Response

Understanding the function of each stage—and what can go wrong at each stage—is an important foundation for practical automation skills.

What Should You Learn Next?

PLC Fundamentals — Lesson 3: Digital Inputs and Outputs

In the next lesson, we will study signal states, input/output documentation, interfacing considerations and practical troubleshooting examples.

Continue building your knowledge through the Nitish Atlas practical technical education learning pathway.

15. Technical References

Use the relevant manufacturer's documentation for model-specific specifications, terminal identification, wiring requirements, programming instructions and safety information.

Share this article Help another learner find this guide.
Newest
Previous
Next Post »

Popular Posts