Main Components of a PLC:
1. Central Processing Unit (CPU): The central processing unit is responsible for executing control programs and processing data.
2. Memory: Used to store control programs and data. This memory can be RAM, ROM, or other types of memory.
3. Input/Output Modules: I/O modules are used to connect the PLC to external sensors and control devices. These modules convert signals from sensors into digital data that the CPU can process, and vice versa.
4. Power Supply: Provides power to the PLC and its components.
o AC power supply
o DC power supply
5. Communication Ports: These ports are used to connect the PLC to other devices or industrial networks.