A physical PLC test rig remains necessary when acceptance depends on real electrical I/O, PROFINET devices, IO-Link sensors, or mixed-controller networking. PLCSIM Advanced can validate control logic and many communication paths, but it cannot reproduce every device-specific electrical, timing, discovery, and diagnostic behavior. Use simulation for early logic development and physical hardware for integration and fault testing.
Symptom Pattern
The usual symptom is simple: the program works in simulation, but commissioning fails when real devices are connected. The failure may appear as an undiscovered field device, an IO-Link port that never reaches operational state, an incorrect input value, an output that does not drive its load, or intermittent communication after network changes.
| Observed symptom | Likely test gap | Deciding check |
|---|---|---|
Logic passes in PLCSIM Advanced, but an input never changes |
Sensor wiring, input type, common reference, or channel configuration | Measure the signal at the PLC terminal and compare it with the online input state |
PROFINET device is physically connected but unavailable |
Device name, IP configuration, topology, switch configuration, or configuration mismatch | Compare the configured identity with the identity reported by the physical device |
IO-Link sensor supplies incomplete or invalid data |
Master port mode, device description, process-data layout, or sensor compatibility | Read the master and port diagnostics, then compare the reported data layout with the PLC mapping |
Communication fails after adding a VLAN
|
Required discovery or cyclic traffic is separated by the network boundary | Verify switch membership and test discovery and cyclic exchange independently |
| Metal mounting parts become energized during a fault | Missing protective bonding or incorrect conductor use | De-energize the rig and test continuity from every exposed conductive part to protective earth |
Physical-Hardware Mechanism
The term here means a powered assembly containing actual controllers, network components, I/O interfaces, and field devices. A mixed rig may include Siemens PLC hardware, Schneider Electric PLCs, and a Wago Compact Controller 100. Its value is not merely that it avoids a simulator; it closes the gap between software behavior and the physical interfaces used during commissioning.
A simulator represents controller execution and selected communication functions. Physical testing adds terminal-level voltage states, channel diagnostics, device startup sequences, connector faults, power interruptions, network discovery, and product-specific process data. An IO-Link sensor also depends on its physical port and master. The PLC program may process the resulting data correctly while the real port remains misconfigured or reports a device diagnostic.
PROFINET integration adds another hardware-dependent layer. A controller must communicate with the intended physical device using matching identity and configuration data. Link indication proves only that an Ethernet connection exists; it does not prove that the configured device identity, module layout, or cyclic I/O exchange is correct.
Electrical Construction Requirements
Green-and-yellow conductors belong exclusively to protective earth. Never use them temporarily for a live mains conductor, neutral, control voltage, or signal. Temporary use creates a dangerous false indication for anyone testing, modifying, or fault-finding the panel later.
Bond exposed conductive mounting parts, including conductive DIN rails, through protective-earth terminal blocks or another deliberate protective bonding arrangement. A DIN rail used only as mechanical support is not automatically bonded merely because equipment is clipped onto it. Verify the bonding path by measurement before applying mains power.
Replacing temporary wiring with tri-rated cable addresses conductor suitability only when the cable size, insulation rating, color, termination, and protective device all match the circuit. It does not correct misuse of green-and-yellow insulation, missing strain relief, exposed terminals, absent overcurrent protection, or an unbonded rail.
A wooden mounting board adds combustible material close to power supplies, wiring faults, and components that can dissipate heat. Use a suitable noncombustible enclosure or mounting system for a rig that will remain energized or operate unattended. Maintain manufacturer-required clearances and keep mains terminals guarded against accidental contact.
Network and Device Coverage
Add a managed switch when the test objective includes segmentation, diagnostics, port configuration, or VLAN behavior. A managed switch is not inherently required for every small rig, but it becomes part of the device under test when the final installation uses managed network functions.
Define the test boundary before configuring segmentation. Put controllers and devices in the same intended network segment for the initial integration test. Establish device discovery and cyclic data exchange first. Introduce VLAN separation afterward, then prove that required traffic still passes and prohibited traffic remains isolated.
For mixed manufacturers, test each communication relationship separately. Confirm physical link, device identity, address configuration, controller ownership, I/O mapping, and diagnostic behavior. A successful ping or link light does not validate real-time I/O. Likewise, a valid PLC program does not prove that the field device presents the expected process-data bytes.
Build and Test Procedure
-
Define the test cases. List the controller logic, physical inputs and outputs,
IO-Linksensors,PROFINETdevices, and network-management functions that require real hardware. - Separate mains and control wiring. Route and terminate each circuit according to its function. Reserve green-and-yellow conductors for protective earth and guard live terminals.
- Install protective bonding. Connect exposed conductive rails and mounting parts to the protective-earth system through identified terminals.
- Inspect the mounting arrangement. Check component spacing, terminal covers, cable retention, ventilation, and the fire characteristics of the mounting surface before energization.
- Commission one power domain at a time. Verify the incoming circuit and power-supply output against the equipment nameplates before connecting controllers and field devices.
- Establish the basic network. Connect one controller and one device without optional segmentation. Assign the intended identity and address settings, then verify cyclic I/O.
-
Add field devices incrementally. Connect each
IO-Linkmaster, sensor, and additionalPROFINETdevice individually. Record the normal diagnostic state before adding the next component. -
Add managed-switch functions. Configure port settings and
VLANmembership only after the unsegmented system operates correctly. - Inject controlled faults. Disconnect a device, remove sensor power, interrupt a network link, and restore each condition. Confirm that the controller detects the fault and recovers as designed.
Numbered Verification Checks
- Check 1: conductor identification. Expect every green-and-yellow conductor to terminate only in the protective-earth system.
- Check 2: protective bonding. With power isolated, expect a continuous low-resistance path from each conductive DIN rail and exposed metal part to the protective-earth terminal. Compare the reading with the project’s bonding acceptance criterion and account for test-lead resistance.
- Check 3: circuit isolation. Expect no unintended continuity between live conductors and bonded metal. Apply the insulation-test method and acceptance criterion required for the installed equipment.
- Check 4: power application. Expect no unexpected energization, overheating, odor, or protective-device operation. Confirm each supply output is within the connected equipment’s stated input range.
- Check 5: controller diagnostics. Expect no unresolved hardware-configuration or I/O faults after startup.
-
Check 6: physical device identity. Expect each configured
PROFINETdevice to match the connected device and enter cyclic data exchange. -
Check 7: sensor data. Expect every
IO-Linkport to report the intended sensor and the mapped process data to change correctly when the measured condition changes. -
Check 8: network policy. If
VLANfunctions are enabled, expect required controller-to-device traffic to pass while deliberately separated traffic remains blocked. - Check 9: fault response. Expect each disconnected device or interrupted link to produce the intended diagnostic, safe control response, and documented recovery after restoration.
Recurring Pitfalls
Wrong practice starts with treating temporary mains wiring as harmless. Conductor colors communicate function during every later intervention, including emergency fault-finding. Replacing a wrongly colored conductor after a functional test is too late if the first energization creates the hazard.
Another recurring mistake is using network reachability as the acceptance test. Ethernet link and address reachability do not validate device identity, configured module structure, cyclic process data, or alarm handling. Test each layer in order and retain the device diagnostic record.
Adding all controllers, devices, and switch features at once makes fault isolation unnecessarily difficult. Commission incrementally and capture the known-good state after each addition. When a new device causes a failure, the last change then defines a narrow diagnostic boundary.
Simulation and physical testing should not compete for the same role. Use simulation for repeatable logic tests and conditions that are difficult to create safely. Use the rig for real wiring, device commissioning, interoperability, network behavior, and recovery from physical faults.
FAQ
Why does PLC logic work in simulation but fail on real I/O?
Simulation can validate logic without reproducing terminal voltage, common wiring, channel configuration, sensor power, or physical device diagnostics. Measure the signal at the terminal and compare it with the online channel state.
Why does a PROFINET device have a link light but no I/O?
A link light confirms the Ethernet physical connection only. Compare the device identity, address configuration, module layout, and controller configuration, then confirm cyclic data exchange.
Why does an IO-Link sensor require physical testing?
The sensor depends on a real master port, wiring, port mode, device configuration, and process-data mapping. Verify the master diagnostic state and operate the sensor while watching the mapped PLC data.
Why does VLAN configuration break PLC device discovery?
A VLAN boundary can separate traffic required for discovery or cyclic communication. Prove operation on the basic network first, then apply segmentation and retest both permitted and blocked paths.
How do I complete final acceptance of a PLC test rig?
Repeat Check 9 with each planned device and link fault: expect the correct diagnostic, the intended safe control response, and complete recovery after the connection is restored.