PLC Controller Guide: How It Works, Types and Troubleshooting
When a machine stops and the PLC controller shows a fault light, you need answers fast. This guide explains what a programmable logic controller is, how it runs, and which sizes exist, from a micro PLC controller up to modular racks. You will also learn how to choose, program, wire, troubleshoot and replace one.
On this page
- What a PLC controller is
- How a PLC controller works
- Types and sizes of PLC controllers
- Micro PLC controllers
- How to choose a PLC controller
- PLC programming languages and software
- Installing and wiring a PLC controller
- How do I install and wire a PLC controller?
- Mounting, power supply sizing and grounding
- What do typical ratings and clearances look like?
- Wiring inputs and outputs
- Separating signal and power wiring
- First power-up checklist
- How do I back up, upload and restore a PLC program?
- How do I replace a PLC backup battery?
- Connecting a PLC controller to drives, HMIs and networks
- PLC controller safety practices
- Troubleshooting a PLC controller
- Migrating from an obsolete PLC controller
- How to secure a PLC controller
- Common mistakes with PLC controllers
- Where to get PLC manuals, software and support
- What a PLC controller costs
- Frequently asked questions
What a PLC controller is
What is a PLC controller?
A PLC controller is a ruggedized industrial computer that runs a machine or process. First, it reads inputs from sensors, switches and push buttons. Next, it runs a stored program on a repeating cycle. Then it drives outputs such as valves, solenoids and motor starters.
“Ruggedized” means the maker designs the unit for the plant floor, not an office. Also, it mounts in a control panel and handles the heat, vibration and electrical noise found there. As a result, a programmable logic controller can run the same task day after day.
Why do plants use PLCs instead of relays?
Before PLCs, machines ran on panels full of hardwired relays. As a result, each change in the sequence meant new wiring, new drawings and long downtime. That problem led to the Modicon 084, built in 1968-69 to a General Motors specification. It became the first production PLC, a solid-state replacement for relay logic.
Today, you change the logic in software instead of rewiring the panel. In addition, a PLC unit gives you diagnostics, timers, counters and network links that a relay panel cannot offer. Because of this, PLCs now run everything from single conveyors to full production lines.
How is a PLC different from a PC, a smart relay or a drive?
However, people often mix these devices up. Here is the short version:
- Office PC: A general-purpose computer for many tasks. It is not designed for panel mounting or for repeating one control task on a fixed cycle.
- Relay: A single switch moved by a coil. Its logic depends entirely on how you wire it.
- Smart relay: A small programmable relay for simple jobs. It has few I/O (input and output) points and limited functions and networking.
- Drive built-in logic: Many VFDs and servo drives have simple logic for their own motor. However, they are not designed to coordinate a whole machine.
How a PLC controller works
The hardware inside a PLC unit
Every PLC controller has the same basic building blocks. Some sit inside one housing, while others plug into a rack.

- Power supply: Converts incoming power into the low voltages the electronics need.
- CPU: The processor that runs your program. You will also hear it called the PLC processor or PLC CPU.
- Memory: Holds the program and its data values.
- Input circuits: Read signals from sensors, switches and transmitters.
- Output circuits: Switch or drive valves, lights, contactors and other loads.
- Communication ports: Ethernet or serial links to HMIs, drives and other controllers.
- Programming connection: The port your laptop uses to load and monitor the program.
How does a PLC controller work?
A PLC controller works by repeating a fixed loop called the scan cycle. Each pass has four stages:
- Housekeeping: The CPU runs internal checks and handles communication tasks.
- Input scan: The CPU reads every input and stores the values in a table called the process image.
- Program execution: The CPU runs your logic using that stored snapshot.
- Output scan: The CPU writes the results to the physical outputs.
Because the inputs freeze at the start of each cycle, the logic works on a consistent snapshot. In ladder logic, the CPU also reads rungs left to right and top to bottom. So a later rung cannot change an earlier rung’s logic within the same scan.
What is a PLC scan cycle and how long does it take?
The scan cycle is one complete pass through those four stages. In general, its length depends on the program size and the processor speed. One reseller knowledge base gives a rough range of about 0.5 ms to 100 ms. However, that is not a specification. Your controller’s own manual sets the real timing figures.
In practice, scan time has an effect. If an input changes just after the input scan, the controller will not act on it until the next cycle. For most push buttons and sensors, that delay does not matter. For high-speed counting and motion, though, it can. That is why many controllers offer dedicated high-speed inputs and counters that work outside the normal scan.
RUN, STOP and fault modes
A PLC CPU has a few basic operating modes. In RUN mode, it executes the program and updates outputs. When you switch to STOP, the program stops running, and outputs usually go to an off or safe state. Check the manual for how your model handles outputs in STOP. Fault mode means the CPU found an error and halted, and a fault LED usually lights.
The program lives in non-volatile memory, which keeps its contents when power is off. For example, the Mitsubishi MELSEC iQ-F stores programs and devices in flash ROM. As a result, the machine can restart after a power loss without a fresh download. Some older controllers rely on a battery to hold memory, so check that battery during maintenance.
Types and sizes of PLC controllers
What types and sizes of PLC controller are there?
Most PLC controller families fall into three size classes: micro, compact and modular. A micro or compact unit has fixed I/O built into the CPU body, with room for some add-on expansion. In contrast, a modular system uses a rack or rail, with the CPU, power supply and I/O as separate modules. As a result, that layout lets you build a large system one card at a time.
However, vendors draw these lines differently. One brand’s “compact” may be another brand’s “micro.” So always check the selection guide for the family you are looking at. The table gives a general picture only.
| Class | Typical use | I/O expansion | Networking | Safety options |
|---|---|---|---|---|
| Micro | Standalone machines, small skids | Fixed I/O plus a few plug-in or expansion modules | Often built-in Ethernet and serial | Usually a separate safety relay |
| Compact | Larger machines, small lines | Fixed I/O plus more expansion modules | Built-in Ethernet with more protocol options | Some families offer fail-safe CPUs |
| Modular | Process lines, plant areas | Racks of I/O, often with remote I/O | Several ports plus network modules | Many families offer safety CPUs and safety I/O |
For worked examples, our separate guides on the ABB AC500 and AC500-eCo cover a modular and a compact platform in detail. In addition, our posts on servo controllers, VFDs and motor speed controllers cover the motion and motor side. This guide stays focused on the PLC itself.
What are modular PLC platforms and what are their limits?
Well-known modular families include the Rockwell Automation ControlLogix and the Siemens SIMATIC S7-1500. Rockwell’s CompactLogix and the Mitsubishi MELSEC iQ-R sit in the same general space. In these systems, you pick a CPU, then add power, I/O, network and special-function modules.
Every modular CPU has limits. The main ones are the total I/O count, program and data memory, the number of racks or remote I/O stations, and the number of network connections. These figures differ by CPU model within one family, so a bigger CPU in the same line raises them. Read the limits in the manufacturer’s selection guide or technical data for the exact CPU, and do not rely on a general number.
Micro PLC controllers
What is a micro PLC controller?
A micro PLC controller is a small, fixed-I/O controller, usually with some expansion. It suits standalone machines and small applications. Think of a pump skid, a small packaging machine, or one conveyor section. It is also the next step up when a smart relay runs out of I/O, timers or network options.
What are examples of micro PLC controllers?
Three widely used families show what this class offers: the Rockwell Automation Micro800, the Siemens SIMATIC S7-1200 and the Mitsubishi Electric MELSEC iQ-F. The facts below come from each manufacturer’s documents. They are examples, not a ranking, so compare each one against your own needs.
Rockwell Automation Micro800
Rockwell released the Micro800 family and its Connected Components Workbench software in June 2011. The family targets machine builders and end users with small applications, and it follows IEC 61131 standards. It ranges from the small Micro810 to the Lx0E controllers, such as the 2080-L20E, 2080-L50E and 2080-L70E. Also, Rockwell’s tutorials cover the Micro870, including DNP3 support and motion axis setup.
Siemens SIMATIC S7-1200 and S7-1200 G2
Siemens describes the S7-1200 as scalable and part of TIA Portal. The range runs from the CPU 1211C up to the CPU 1217C. For example, the CPU 1215C has 125 KB of program memory, 14 digital inputs and 10 digital outputs. It also has 2 analog inputs, 2 analog outputs and 2 PROFINET ports. The newer S7-1200 G2 adds NFC (short-range wireless) in every PLC for commissioning and diagnostics.
Mitsubishi Electric MELSEC iQ-F (FX5)
This family includes the FX5U, FX5UC, FX5UJ and FX5S. It stores programs in flash ROM. Most models have a built-in SD card slot, but the FX5S does not. The FX5S needs the optional FX5-SDCD SD memory card module to use a card. You can use the card to simplify startup of production equipment and to store logging data. Finally, GX Works3 is the engineering software for the series.
What is built in and what needs expansion?
Each micro PLC controller packs a different mix of features into the base unit. Before you buy, list what you need and check where each item comes from:
- Digital I/O: Built into the base unit. Add expansion modules for more points.
- Analog I/O: Built into some models, such as the CPU 1215C. Others need a plug-in or expansion module.
- Ethernet: Common on current models. For instance, the iQ-F CPU connects to GX Works3 with a single Ethernet cable.
- Serial: The S7-1200 supports RS-485, RS-422 and RS-232 point-to-point links. Check whether your model needs a module for this.
- High-speed counters and motion: Often built in, but the number of channels and axes varies by model.
When is a micro PLC controller enough, and when do I need a bigger one?
A micro PLC controller is enough when the machine stands alone and its needs fit inside the model’s limits. Check these limits in the selection guide before you commit:
- Total I/O count, including expansion
- Program and data memory
- Maximum number of expansion modules
- Supported communication protocols
- Number of motion axes
- Safety support, such as fail-safe CPUs
However, you need a bigger controller when you hit one of these limits with no room left. It also makes sense when the machine must share lots of data with other lines. When you step up, look first at the next family up from the same brand. That way, much of your software knowledge and team skills carry over.
How to choose a PLC controller
How do I choose a PLC controller?
Use the same checklist whether you look at Rockwell, Siemens, Mitsubishi or another brand. Work through it in order:

- Count the I/O. List every digital and analog signal, then add spares.
- Match voltage and output type. Check DC sinking or sourcing inputs, and relay or transistor outputs.
- List special functions. Note high-speed counters, PID loops (a common closed-loop control method) and motion axes.
- Size the memory. Leave room for program growth and data logging.
- Check the networks. Match the protocols your drives, HMIs and remote I/O already use.
- Confirm the software. Find out which package and version the controller needs.
- Check the environment. Review temperature, enclosure and approval needs.
- Check lifecycle and spares. Make sure the part number is current and supported.
How many I/O points and how much memory do I need?
Start with the electrical drawings or a walk-down of the machine. Count each sensor, switch and push button as an input. Then count each valve, light, contactor and drive command as an output. Also count analog signals separately, such as 4-20 mA transmitters and speed references.
Next, add spare points for future changes and failed channels. A controller with no spare I/O forces an expansion module or a new CPU later. Memory is harder to estimate up front. So compare with a similar machine you already run, and pick a model with clear headroom. For instance, the CPU 1215C offers 125 KB of program memory, while smaller models in the same family offer less.
Check communications against the rest of the plant
Your PLC controller must talk to everything around it. Common networks include EtherNet/IP and PROFINET (both industrial Ethernet networks), Modbus, serial links and older fieldbuses. Before you choose, check what your drives, HMIs and remote I/O already use.
For example, Rockwell shows the Micro800 on EtherNet/IP. Meanwhile, the S7-1200 can act as a PROFINET master with no extra communication module. In addition, the S7-1200 brochure lists PROFIBUS, AS-i, IO-Link and CANopen connection options.
Check the engineering software and version
The wrong software or version is one of the most common stumbling blocks. Each family needs its own engineering package, and new hardware often needs a recent version. Also check whether the software needs a paid licence. The programming section below lists the software for each example family.
Environment, approvals, lifecycle and spares
First, check the operating temperature, enclosure rating, hazardous location approvals and any safety rating your machine needs. Do not guess these values. Instead, read them from the manufacturer’s specification tables for the exact model.
Also, lifecycle matters. Confirm that the part number is still current before you design around it. For legacy controllers, a repair or exchange route can keep a machine running while you plan an upgrade. Our post on PLC Center repair alternatives covers that route in more detail.
PLC programming languages and software
What programming languages do PLCs use?
Most PLCs follow IEC 61131-3, the international standard for PLC programming languages. Its languages include Ladder Diagram (LD), Function Block Diagram (FBD), Structured Text (ST) and Sequential Function Chart (SFC). Older editions also include Instruction List (IL), a text language that looks like assembly code.
Secondary sources report that the IEC published Edition 4 on 22 May 2025. However, those sources differ on how it treats IL and SFC. Some say it removed IL, leaving four languages.
Another source describes ST as the one textual language, LD and FBD as graphical languages, and SFC as structuring elements. So check the standard itself if the exact list matters to you. Either way, many older controllers in the field still run IL programs.
Which language suits which job?
- Ladder Diagram: Boolean logic and interlocks. It looks like a relay drawing and is the most widely used PLC language, especially in North America.
- Function Block Diagram: Continuous control, analog signals and PID blocks.
- Structured Text: Complex math, strings, arrays and data handling.
- Sequential Function Chart: Step-by-step sequences, machine modes and state machines.
In fact, mixing languages in one project is normal. Most modern platforms let you write interlocks in ladder and calculations in ST side by side. For example, the Mitsubishi iQ-F brochure says GX Works3 lets you use various languages in the same project at once.
What software do I need for Rockwell, Siemens and Mitsubishi PLCs?
Each family needs its own engineering software. The table shows the examples from this guide:
| Controller family | Engineering software | Version notes |
|---|---|---|
| Rockwell Micro800 | Connected Components Workbench; FactoryTalk Design Workbench 1.00 or later as an alternative | 2080-L50E and 2080-L70E need version 20 or later; 2080-L20E needs version 23 or later |
| Siemens S7-1200 G2 | TIA Portal | V20 or later required; older versions do not support G2 |
| Siemens S7-1200 (first generation) | TIA Portal | Check the support table for your CPU and firmware |
| Mitsubishi MELSEC iQ-F (FX5) | GX Works3 | Reported as the only package that supports FX5 |
| Mitsubishi FX3U and older FX | GX Works2 or GX Developer | Reported as not compatible with GX Works3 |
Two notes apply. First, the Mitsubishi compatibility notes come from third-party guides, so confirm them in Mitsubishi’s own manuals. Second, a third-party tutorial says GX Works3 and GX Works2 are licensed products. On the Siemens side, fail-safe engineering for the G2 needs no separate Safety licence from TIA Portal V20 onward.
How do I check version compatibility before buying?
First, write down the exact catalog number and firmware revision of the controller. Firmware is the built-in operating software of the PLC unit. Next, find the software support table in the family’s selection guide or release notes. Then compare it with the version installed on your laptop. If your version is too old, plan the upgrade before the controller arrives.
Installing and wiring a PLC controller
How do I install and wire a PLC controller?
Installing a PLC controller follows the same basic order on most machines. First, mount it. Next, power it and wire the I/O. Then commission it with care. The installation manual for your exact model gives the ratings, clearances and wire sizes, so always use those values.
Mounting, power supply sizing and grounding
First, mount the unit on DIN rail or a panel as the installation manual shows. Leave the stated clearance around it for airflow. Next, size the power supply to cover the CPU, expansion modules and any field devices it powers. For an S7-1200 G2, TIA Portal calculates the overall power consumption as you add modules. Finally, follow the manual’s grounding method closely, because poor grounding causes many noise problems.
What do typical ratings and clearances look like?
Values differ by model, so treat these as examples only. Then confirm each one in the manual for your exact catalog number.
- Supply voltage: Many small PLCs run on 24 V DC. Some models also accept AC line voltage.
- Operating temperature: A common range is about 0 to 55 °C. Some models lower the limit when you mount them vertically.
- Mounting clearance: Siemens S7-1200 documents call for about 25 mm of free space above and below the unit. Other brands give their own figures.
- Wire size: Small PLC terminals often take wire from about 28 to 16 AWG (0.14 to 1.5 mm²). Check the terminal’s stated range.
- Terminal torque: This varies by terminal block, so use the figure printed in the manual. Do not guess.
For power supply sizing, add up the current draw of the CPU, each expansion module and any sensors the PLC powers. Then leave a margin. The manual lists the current for each module.
Wiring inputs and outputs
Start by matching the field devices to the I/O type. In a DC circuit, a sourcing device supplies current and a sinking device provides the path to common. So a sourcing sensor needs a sinking input, and the other way around. Brands use these terms in slightly different ways, so check the wiring diagram for your module.
Also, output type matters just as much. Relay outputs switch AC or DC and handle many load types, but their contacts wear over time. Transistor outputs switch DC quickly and do not wear mechanically, which suits high-speed pulses. With either type, fit surge suppression on inductive loads such as coils and solenoid valves. A diode suits most DC coils, while an RC snubber or MOV (a surge-absorbing part) suits AC coils.
Separating signal and power wiring
Also, keep signal wiring away from motor leads and drive output cables. Run them in separate ducts, and cross them at right angles where they must meet. As a result, you cut down on electrical noise and false input signals.
First power-up checklist
- Check the supply voltage at the PLC terminals before you switch on.
- Confirm the firmware revision matches your software and project.
- Set the IP address and other network settings.
- Download the program as your software and the manual describe.
- Test each output with the load disconnected or locked out.
- Back up the program and the full project file.
Finally, make backups a habit. Save a copy of the program and the project file before any change, and store it off the machine. Also keep the project file, since it often holds comments and tag names that the controller may not store.
How do I back up, upload and restore a PLC program?
The exact menus differ by software, but the steps are similar. Follow your manual for the details.
- Connect your laptop to the controller and go online with the engineering software.
- Compare the project on your laptop with the program in the controller. If they differ, decide which one is correct.
- Upload the program from the controller, then save it as a new, dated project file.
- Copy that file to a safe location off the machine, such as a company server.
- To restore, open the saved project and confirm it matches the controller’s catalog number and firmware.
- Download it, then check the mode, the I/O and the network settings before you return to RUN.
Note that an upload from the controller may not bring back comments or tag names. That is why you also keep the original project file.
How do I replace a PLC backup battery?
Many current controllers keep the program in flash memory, so the battery only holds items such as the clock or some data. Older units may rely on the battery for more. First, read your manual to see what your battery protects.
- Back up the program and project file.
- Get the exact replacement battery type the manual names.
- Follow the manual on whether to change it with power on or off. Many designs need power on to keep memory.
- Swap the battery quickly, and note the date on the unit.
- Clear the low-battery warning, then check the clock and data.
Connecting a PLC controller to drives, HMIs and networks
How does a PLC controller connect to a VFD, servo or HMI?
In a typical machine, the PLC controller sits at the center of one network. An HMI (human-machine interface, the operator touchscreen) shows status and takes operator input. VFDs (variable frequency drives, which control AC motor speed) and servo drives run the motors. Meanwhile, a safety relay watches e-stops and guard doors.

Rockwell’s Micro Control Systems page gives one example of this layout. It shows a Micro800 controller on EtherNet/IP with PowerFlex 520 series drives and PanelView 800 graphic terminals. It also includes a Guardmaster 440C-CR30 software-configurable safety relay and Kinetix 5100 servo drives. Other brands offer similar packages on their own networks.
Hardwired versus network control of a drive
You can control a drive with wires or over a network. Each method handles the same four jobs differently:
| Function | Hardwired control | Network control |
|---|---|---|
| Start and stop | Digital outputs to drive inputs | Command word sent over the network |
| Speed reference | Analog output, such as 0-10 V or 4-20 mA | Speed value sent over the network |
| Fault reset | Digital output pulse | Reset bit in the command word |
| Feedback | Digital and analog inputs | Status, speed, current and fault codes |
Hardwired control is simple to troubleshoot with a meter. On the other hand, network control uses fewer wires and gives far more feedback, such as fault codes. For drive-side setup, see our posts on VFDs, servo controllers and motor speed controllers.
PLC controller safety practices
How do I work safely on a PLC controller?
Before you touch wiring, use lockout/tagout (LOTO). That means you switch off and lock each energy source, then tag it so no one restores it. In the US, OSHA’s lockout/tagout rule, 29 CFR 1910.147, covers this. Then test with a meter to prove the circuit is dead.
Also remember that a PLC can have more than one power source. Field devices, drives and outputs may run from separate supplies. So lock out each one, and keep your hands out of the machine when you test in RUN.
What should outputs do in STOP or fault?
Plan this on purpose. In STOP, outputs usually go off, but some models let you hold the last state or set a chosen value. Check the manual for your model. Then design so that an off output leaves the machine in a safe condition.
Can a standard PLC handle safety functions?
Do not use a standard PLC alone for e-stops or guard doors. Use a safety relay or a safety PLC instead. Safety CPUs are designed and certified to functional safety standards such as IEC 61508 and ISO 13849. These standards define safety integrity and performance levels. Your risk assessment sets the level you need, so check the safety CPU’s certificate before you choose one.
Troubleshooting a PLC controller
How do I troubleshoot a PLC controller that is not working?
First, check the basics before you blame the controller. Most problems turn out to be power, wiring or field devices. Work through these steps:
- Measure the supply voltage at the PLC terminals.
- Read the status LEDs for power, run, fault and communication.
- Check the mode switch, if your model has one.
- Connect with the engineering software and read the fault or diagnostic buffer.
- Look up the fault code in the manual for your model.
Some controllers add other tools. For example, the S7-1200 G2 offers NFC for diagnostics and a built-in web server you can open in a browser.
What do the fault LEDs mean on Micro800, S7-1200 and iQ-F?
LED meanings differ by family, and they can change between models. Use the points below as a starting guide, then confirm them in the manual.
- Siemens S7-1200: The RUN/STOP LED shows yellow in STOP and green in RUN. A flashing red ERROR LED points to an error, such as an internal, memory card or configuration problem. A solid red ERROR LED points to a hardware fault. A flashing yellow MAINT LED means maintenance is needed. Read the diagnostic buffer in TIA Portal for the exact cause.
- Mitsubishi iQ-F: The ERR LED is normally off. If it flashes or stays on, the CPU has found an error. Connect GX Works3 and read the error code in the module diagnostics. Then look up that code in the manual.
- Rockwell Micro800: A lit fault LED means the controller has a fault. Connect Connected Components Workbench to read the fault code, then look it up in the Micro800 documentation.
In all three cases, the software shows the code and its cause. The LED only tells you that something is wrong.
Finding input and output faults
For an input fault, check the field device and its wiring first. Next, use the online monitor in your software to see whether the PLC sees the input as on. If the input LED is on but the program shows it off, suspect an address mix-up, the configuration or the module. If both are off, the problem lies in the field.
Likewise, outputs work the same way in reverse. If the program turns an output on but the load does not run, check the output LED, fuse and terminal voltage. Then check the load itself, such as a coil or valve.
Common causes of PLC controller faults
- Loose or corroded terminals
- A blown output fuse
- A relay output worn out by inductive loads without suppression
- Memory or battery faults, especially on older units
- Firmware or software version mismatches
- Network address conflicts, such as two devices with the same IP address
Why does an I/O change seem to arrive late?
In some cases, an input appears to lag behind the real world. In most cases, scan time and the process image explain it. Because the PLC reads inputs once per scan, a change just after the input scan waits for the next cycle. Also, the PLC can miss very short pulses altogether. For these signals, use a high-speed input or counter, and check the scan time in the online diagnostics.
When should I repair or replace a PLC controller?
If one I/O module has failed, replacing that module is usually the quickest fix. If the CPU itself has failed, you have three options: a new unit, a repair, or an exchange unit. A new unit makes sense when the part is current and easy to get. Repair or exchange makes sense for legacy controllers, or when an upgrade would mean new software and reprogramming.
Be clear about what a repair shop can and cannot do. A shop can repair many hardware faults in the controller. However, no shop can promise to recover the program from a failed unit. The failure itself may damage or wipe the memory. So keep a current backup, and plan to reload it after any repair or exchange.
Migrating from an obsolete PLC controller
How do I migrate from a MicroLogix, SLC 500 or FX3U?
Older families such as the Rockwell MicroLogix and SLC 500 and the Mitsubishi FX3U are aging. Their makers now offer newer lines, such as the Micro800 and CompactLogix from Rockwell and the iQ-F (FX5) from Mitsubishi. Ask the manufacturer or a distributor which model they name as the successor.

- Document the old system. Save the program, list every I/O point, and note the network settings.
- Pick the successor. Match I/O, memory, networks and special functions, and check the software it needs.
- Check for conversion tools. Some makers offer project conversion tools or import functions. Ask the manufacturer what they support for your model.
- Review the converted code. Tools rarely convert everything, so expect to fix and retest some logic.
- Plan the wiring. Terminal layouts and I/O types often differ, so check each point.
- Test before cutover. Run the new program with the outputs disconnected, then change over during planned downtime.
- Keep the old unit. Store it as a spare until the new system proves itself.
How to secure a PLC controller
What are the basics of PLC cybersecurity?
A PLC on a network can be a target, so treat it like any other connected device. First, set a password or access level on the controller if the family supports it. Then change default passwords and settings. Also turn off ports and services you do not use, such as a web server you do not need.
Next, limit who can change the program. Give operators view-only access, and keep engineering rights for the people who need them. In addition, keep firmware current, since makers release security fixes.
How do I segment the network?
Place PLCs on their own network, separate from the office network. Use a firewall between the two, and allow only the traffic you need. As a result, a problem in the office network is less likely to reach the machine. The IEC 62443 series of standards covers industrial network security in more depth.
How do I handle remote access?
Never connect a PLC directly to the internet. If a vendor or engineer needs remote access, use a secure VPN or a managed remote access tool, with individual logins. Also give access only for the time needed, and log each session. Finally, keep a current backup so you can restore a known good program.
Common mistakes with PLC controllers
What are the most common PLC mistakes?
In fact, the same few errors cause a lot of avoidable downtime. Watch for these:
- No spare I/O or memory. A controller sized exactly to today’s job leaves no room for changes. One added sensor can then force a new CPU.
- Wrong software or version. Third-party guides report that an FX5 project fails to open in GX Works2. Similarly, older TIA Portal versions do not support the S7-1200 G2.
- No current backup. Without a recent copy of the program and project file, a failed CPU can mean rewriting the logic from scratch.
- Heavy inductive loads on relay outputs. Large coils wear relay contacts quickly. Instead, use an interposing relay (a separate relay that switches the heavy load) and surge suppression.
- Assuming similar part numbers are identical. Models one character apart can differ in I/O, memory, networks or software support. For example, the 2080-L20E needs a newer Connected Components Workbench version than the 2080-L50E.
Where to get PLC manuals, software and support
Where do I download PLC software and manuals?
Go to the manufacturer first. Their documents are current and model-specific, and they take priority over any reseller page. Useful resources for the families in this guide include:

- Rockwell Automation Literature Library: the Micro800 Programmable Controller Family Selection Guide and the Micro800 Starter Pack Quick Start (2080-QS004).
- Rockwell Automation website: the Micro Control Systems page and the Micro800 Controllers Tutorials videos.
- Siemens Industry Online Support: the SIMATIC S7-1200 G2 System Manual.
- Siemens website: the SIMATIC S7-1200 G2 Technical Data and Applications document and the SIMATIC S7-1200 Basic Controller brochure.
- Mitsubishi Electric: the MELSEC compact PLC family brochure and the MELSEC iQ-F Series brochure.
Download the engineering software from the same manufacturer’s website. Rockwell provides Connected Components Workbench, Siemens provides TIA Portal, and Mitsubishi Electric provides GX Works3. Check the licence terms and version notes before you install.
How to read a catalog number to match a replacement
The catalog number on the label is your key to a correct match. First, copy it exactly, including every letter, dash and suffix. For example, in 2080-L50E, the “2080” prefix marks the Micro800 family and the rest identifies the model. Also note the series and firmware revision, since these can affect software support. Then compare the full number against the selection guide, not a similar-looking part.
Getting help from Precision Electric
If you cannot find a manual or match a part, our team can help. Send us the full catalog number, a photo of the label, and a short note on the fault. Then we can help you source a replacement, arrange a repair, or discuss an exchange unit.
What a PLC controller costs
How much does a PLC controller cost?
The price of a PLC controller varies widely by brand, region and configuration. So instead of a single number, look at what drives the total cost:
- I/O count: More points mean a larger base unit or more expansion modules.
- Memory: Higher-memory CPUs cost more.
- Communication ports: Extra networks may need modules or a higher model.
- Expansion modules: Analog, serial and special-function modules add up fast.
- Software licence: Some engineering packages need a paid licence.
- HMI: Most machines need an operator screen too.
- Programming time: Engineering, testing and commissioning hours belong in the budget.
New, repaired or exchange unit?
In addition, cost, lead time and warranty differ for each option and each part. Use this table to decide what to ask for:
| Option | Best fit | What to ask |
|---|---|---|
| New unit | Current models, upgrades, new machines | Is the part current? Which software version does it need? |
| Repair | Legacy units, or when you want your own unit back | What does the repair cover? What are the turnaround and warranty? |
| Exchange unit | Urgent downtime on a known part number | Is it the same revision? What are the core terms (the return of your failed unit) and the warranty? |
When downtime is on the line, ask for a quote on all three options. Our PLC Center repair-alternative post explains the repair route in more detail.
Frequently asked questions
What is a PLC controller?
A PLC controller is a ruggedized industrial computer built for the plant floor. It reads inputs from sensors and switches and runs a stored program on a repeating scan cycle. Then it drives outputs such as valves, solenoids and motor starters.
What is a micro PLC controller?
A micro PLC controller is a small, fixed-I/O controller, usually with some expansion. It suits standalone machines and small applications. Examples include the Rockwell Micro800, the Siemens S7-1200 and the Mitsubishi MELSEC iQ-F FX5. Check each model’s I/O, memory, network and expansion limits before you choose.
How does a PLC controller work?
It repeats a scan cycle of housekeeping, input scan, program execution and output scan. At the start of each scan, it captures the inputs into a process image. As a result, the logic works on a consistent snapshot of the machine.
What software do I need to program a PLC controller?
It depends on the brand and family. Micro800 uses Connected Components Workbench, and the S7-1200 G2 needs TIA Portal V20 or later. Mitsubishi iQ-F (FX5) uses GX Works3. Check the exact model and version in the manufacturer’s documents before you buy.
Which programming language should I use?
Use ladder for interlocks and discrete logic, and Function Block Diagram for analog and PID control. Structured Text suits math and data handling, while Sequential Function Chart suits step sequences. Mixing languages in one project is normal.
A PLC controller reads inputs, runs logic on a repeating scan, and drives outputs. Choosing one well means counting I/O with spares, matching your networks, and confirming the exact software version. When one fails, check power, wiring and field devices first, and always keep a current backup. If you need help sourcing, repairing or exchanging a PLC controller, contact Precision Electric for a quote.





