6.3 Programmable Logic Controllers (PLCs): Hardware, Chassis & I/O Modules
Key Takeaways
A PLC CPU executes logic. The power supply, backplane or network, and I/O interfaces connect that logic to field devices.
A PNP output sources current to a compatible sinking DC input. An NPN output sinks current from a compatible sourcing input.
Select an output for the load’s supply, inrush, steady-state current, off-state leakage and switching needs.
Use the module’s documented raw range for analog scaling. Apply the cable shield and enclosure bond as specified for the installation.
Follow the path through the controller
A programmable logic controller (PLC) reads input data, executes configured logic, and sends output data. Its processor and memory store and execute the application. A fixed controller can house power, processor and I/O in one assembly. A modular system can combine chassis, separate power supplies, a controller and modules. A backplane can carry module power and data inside a chassis. A remote I/O adapter exchanges data with the controller over its supported network. The field supply and module operating power can be separate.
Some modules share a field-side common among channels and provide isolation between the field group and the backplane. Check the isolation ratings and wiring diagram for the selected module. The ControlLogix isolated contact module instructions describe removal and insertion under power for that module and explain the arc hazard and location restrictions. Follow the module instructions and site electrical isolation requirements before disturbing a chassis, field terminal or removable block.
Match a DC input and field device
A dry contact makes or breaks an externally supplied input circuit. A three-wire electronic sensor typically has separate supply connections and an output. An energized PNP output supplies positive-side current to the input, called sourcing. To complete that path, a compatible sinking input returns current to the negative side. An energized NPN output returns current to the negative side, called sinking. It pairs with an input that provides current from the positive side. These examples show conventional current through an input circuit while the transistor conducts. Use the pinout, polarity and common in the device and module drawings. The Banner D11E wiring diagrams illustrate both output types.
PNP output with sinking input
+DC → sensor output → PLC input circuit → input common at −DC
NPN output with sourcing input
+DC at input common → PLC input circuit → sensor output → −DC
Input thresholds, filtering and isolation are model-specific. To find an input that stays off, verify compatible voltages and commons first. Compare the sensor indication, the voltage at the selected input relative to its specified common, the input LED and the controller tag. An open circuit or miswired common can keep a bit off. A short to another conductor or an incorrect software mapping can also mask the intended state. Assess wiring faults separately from the required safety function.
Select an output for the load
| Output type | Typical application | Check before connecting |
|---|---|---|
| Relay contact | A compatible AC or DC circuit switched by a physical contact. | Contact voltage and load type, inrush, switching frequency, wear and whether terminals share a common |
| Transistor | Solid-state DC switching for suitable loads. | Sourcing or sinking topology, polarity, current and any suppression needed for an inductive load |
| AC solid-state output | A compatible AC solenoid or other AC load. | Rated AC voltage, inrush, off-state leakage, minimum load and switching specifications |
A triac used for AC switching can remain conducting until current drops below its holding current. An inductive load shifts current relative to voltage. See STMicroelectronics’ holding current note. Use the actual output specification for behavior at turn-on and turn-off. On compatible AC solid-state modules, off-state leakage can leave a sensitive load partly energized or give an unexpected meter reading. Select any corrective load interface or suppressor from the equipment instructions. The ControlLogix digital I/O technical data gives model-specific leakage, delay, current and load limits. An off command alone cannot establish electrical isolation.
Convert analog counts to a process value
An analog input converts a voltage or current to digital data. An analog output converts its command data to a field signal. Verify the selected signal type and channel range, the circuit reference, the diagnostics and the documented raw codes. An ideal -bit analog-to-digital converter has codes. The ideal input-bin width across the converter’s full-scale span is that span divided by . A module can report formatted or signed counts that differ from converter codes. Use the configured endpoints to scale the reported value.
Suppose the module is configured to report count 0 at 4 mA and count 16,383 at 20 mA. The transmitter range is 0–500 psig, linear in current. At count 8,192 the fraction is . The corresponding pressure is about 250.0 psig and the normalized current is about 12.0005 mA. If a different module uses signed codes or reports engineering units, the same raw endpoints cannot be assumed.
Route instrumentation cable according to the installation drawings. For the Rosemount 3051 analog signal wiring example, the shield is insulated at the transmitter and terminated at the power-supply end. The enclosure bond is a separate connection. Network systems may specify another topology. Read the module, field instrument and wiring requirements as a set.
NI analog acquisition fundamentals, ControlLogix wiring and module data.
A three-wire DC sensor has a sinking NPN output. Which input completes the circuit when the output conducts?
A compatible sourcing DC input with its common connected as the module specifies.
A sinking DC input with both paths returning to negative.
Any AC input rated for the cabinet supply.
A voltage input configured for the transmitter range.
For a 120 V AC solenoid, which output is a candidate if its switching, inductive-load and leakage ratings meet the application?
An NPN DC sensor output.
An analog current output.
A 24 V DC transistor output.
A rated 120 V AC solid-state output.
A module reports 0 counts at 4 mA and 16,383 at 20 mA. Which expression gives its fraction of span at 8,192 counts?
8192/32767
8192/65535
8192/16383
8192/16384
Sections you finish are checked off in the contents.