5 min read
How to write an I/O list for a customized PLC
Whether you buy a standard PLC or have a controller built around your machine, one document drives the design: the I/O list. A good one takes a few hours to write and saves weeks of questions, redesigns and surprises at commissioning. This guide covers what to record, the details that change the hardware, and a worked example.
I/O list template. An Excel workbook with the I/O list, communication ports and machine details laid out, with example rows. It follows the same structure as this guide.
Download (Excel, 7 KB)What an I/O list is
An I/O list has one row for every signal between the controller and the machine: each sensor, switch, valve, motor, indicator and analog instrument. For each row, record:
| Column | What to write |
|---|---|
| Tag | A short unique name, for example DI01 or AI03 |
| What it does | In plain words: “Guard door closed”, “Main pump running” |
| Kind | Digital input (DI), digital output (DO), analog input (AI) or analog output (AO) |
| Signal type | For example 24 V DC PNP, relay, 4–20 mA or Pt100 |
| Range or rating | The measuring range in real units, or the load current and voltage |
| Connected device | Make and model of the sensor, valve or drive, if known |
| Notes | Anything unusual: long cable, needs isolation, high speed |
Digital inputs
Push buttons, selector switches, limit switches, proximity sensors and relay contacts. For each input, note:
- Voltage. 24 V DC is the norm in control panels. Inputs at 230 V AC are possible, but they need a different input circuit, so say so early.
- Sensor type. Three-wire sensors are PNP (sourcing) or NPN (sinking), and the input must match. A plain contact works with either.
- Speed. Ordinary inputs are filtered against contact bounce and noise, so a pulse of a few milliseconds can be missed. Encoders and flow-meter pulses need high-speed counter inputs; note the highest pulse frequency.
Digital outputs
Contactor coils, solenoid valves, indicator lamps, buzzers. The main choice is between relay and transistor outputs:
- Relay outputs switch AC or DC and are isolated by nature. They are slower, and their contacts wear with every operation, so they suit loads that switch a few times a minute, not many times a second.
- Transistor outputs switch DC only. They are fast, do not wear, and suit frequent switching and pulse outputs.
Note the voltage and current of each load. Coils and solenoids are inductive, so they need suppression: a diode across DC loads, and an RC snubber or varistor across AC loads. Outputs usually share a common terminal in groups, and each group has a total current limit as well as a per-output one.
Analog inputs
Transmitters and instruments that measure a continuous value. Common signal types:
- 4–20 mA: the plant standard. It tolerates long cables and electrical noise, and a broken wire shows as 0 mA, which the controller can flag.
- 0–10 V: common on drives and simple sensors, but more sensitive to cable length and noise.
- RTD (Pt100) and thermocouples (type J, K): temperature sensors that need their own input type. Note 2, 3 or 4 wires for an RTD.
- Load cells: millivolt-level bridge signals that need a high-resolution input with excitation. Weighing accuracy depends heavily on this input, so describe the load cell and the accuracy you need.
For every analog input, write the range in engineering units, for example “4–20 mA = 0–10 bar”. Note whether the transmitter is loop-powered (2-wire) or has its own supply, and the resolution and update rate you actually need.
Analog outputs
Speed references to VFDs, valve positioners and proportional valves, usually 4–20 mA or 0–10 V. Note the device each one drives and the range it expects.
Communication ports
List each port with what is connected to it and which side starts the conversation:
- RS-485 with Modbus RTU, for example to read VFD status or energy meters. Note whether the controller is master or slave.
- Ethernet with Modbus TCP, for example to an HMI panel or SCADA.
- Other buses, such as CAN, if a device you must connect uses one.
The details that change the design
These are the questions that most often turn a “simple” controller into a redesign when they come up late:
- Safety functions. Wire emergency stops, guard interlocks and two-hand controls through a safety relay or a safety-rated controller, as the machine’s risk assessment requires. List them so the controller can monitor their state, but do not rely on ordinary inputs to make the machine safe.
- Spare capacity. Add 10 to 20 percent spare I/O of each kind. Commissioning nearly always finds one more sensor.
- Supply and power budget. State the supply (often 24 V DC from the panel supply) and whether sensors and transmitters are powered from the controller.
- Environment. Give the temperature inside the panel, not the shop floor. Mention dust, moisture, vibration and nearby noise sources such as drives or welders.
- Operator interface. None, buttons and LEDs, a text display with keys, or a touch screen.
- Mounting. DIN rail inside a panel, or directly on the machine.
- Quantity. Machines per year, and for how many years. For a customized controller this matters more than anything else.
- Programming. Whether your team writes and maintains the machine program, or needs that as part of the job.
A worked example
A small tank-filling station, as an illustration:
| Tag | What it does | Kind | Signal type | Range or rating |
|---|---|---|---|---|
| DI01 | Start push button | DI | 24 V DC, normally open contact | |
| DI02 | Tank high-level switch | DI | 24 V DC, PNP | |
| DI03 | Flow meter pulses | DI, high speed | 24 V DC, PNP pulses | Up to 1 kHz |
| DI04 | Emergency stop status, from the safety relay | DI | 24 V DC contact | Monitoring only |
| DO01 | Pump motor contactor | DO | Relay | 230 V AC coil, 0.5 A |
| DO02 | Fill valve solenoid | DO | Transistor, sourcing | 24 V DC, 1 A |
| AI01 | Tank level | AI | 4–20 mA, loop-powered | 0–3 m |
| AI02 | Product temperature | AI | Pt100, 3-wire | 0–100 °C |
| AO01 | Pump VFD speed reference | AO | 0–10 V | 0–50 Hz |
| COM1 | VFD status and fault codes | RS-485 | Modbus RTU, controller is master | 9600 baud |
Totals: four digital inputs, one of them high speed; two digital outputs, one relay and one transistor; two analog inputs of different types; one analog output; and one RS-485 port. Add spares, and this short table already tells a controller designer most of what they need.
Send it, even if it is incomplete
A partial list marked “not sure” is far more useful than no list. An engineer can fill the gaps with you in the technical review. To start:
- Download the I/O list template and fill in what you know.
- Or sketch your controller on the Customized PLC page and send the summary.
- Not sure whether a customized controller makes sense? See customized or off-the-shelf PLC.