How it works
A modular PLC in two drawings. The first is the controller from the front, module by module. The second shows it at work: a programming device, a sensor wired in and an actuator wired out.
Read the full guide
Read the rack from left to right
The power supply comes first, then the CPU with its status LEDs, mode selector and battery. Next are the input module, with wires coming in, and the output module, with wires going out, then the analog module and the communication module. Wires from the machine end at the terminals. The empty slot shows the backplane that every module plugs into.
- Inputs and outputs are told apart by direction: a sensor sends a signal in, an actuator is driven by a signal out.
- The scan never stops: read the inputs, run the program, write the outputs, then start again.
Questions and answers
What are the main parts of a PLC?
A processor (CPU) that runs the control program held in its memory, a power supply, input and output modules that connect it to the machine, a communication interface, and a programming device for writing the program and loading it.
What is the difference between an input module and an output module?
An input module brings signals in from the machine's switches and sensors. An output module sends signals out to the devices that do the work. The CPU reads the first and sets the second.
What is a PLC scan cycle?
The loop a PLC repeats for as long as it runs. In its simplest form it has three steps: read the inputs, execute the program, write the outputs. One pass usually takes some tens of milliseconds.
What is a PLC rack?
The frame, also called a chassis, that holds the modules of a modular PLC. The modules plug into a backplane at the back of it. A large system can have several racks run by one processor.