1. Description of the problem and scope of application
This guide is intended for diagnosing and troubleshooting programmable logic controller (PLC) communications in Profinet, EtherNet/IP, and Modbus industrial networks. Communication failures are classified as critical because they lead to the halt of production processes, loss of control over equipment and potential security threats.
Applications include: automated lines, drive control systems (VFD), robotic systems and data acquisition systems. Areas include the automotive, food, chemical and energy industries.
2. Safety measures
WARNING: LOCKOUT/TAGOUT (LOTO) MUST BE PERFORMED BEFORE STARTING WORK. ALL EQUIPMENT CONNECTED TO THE CONTROL CABINET MUST BE DISCONNECTED. BE AWARE OF RESIDUAL ENERGY IN CAPACITORS OF FREQUENCY CONVERTERS. USE PERSONAL PROTECTIVE EQUIPMENT (PPE) IN ACCORDANCE WITH INTERNAL COMPANY RULES.
3. Necessary diagnostic tools
| Tool | Specification | Measuring range | Purpose |
|---|---|---|---|
| Digital multimeter | True RMS, CAT III 600V | DC 0-1000V, AC 0-750V, Resistance 0-40 MΩ | Checking the power supply voltage, the integrity of the cables |
| Network tester | RJ45 / M12 (Profinet/Ethernet) | Cat5e/Cat6 compliant | Checking the wiring and shielding of the cable |
| Oscilloscope | Minimum 100 MHz, 2 channels | Frequency up to 50 MHz | Diagnosis of RS-485 (Modbus) signals, noise level |
| Protocol analyzer | Wireshark software | Ethernet/IP, Profinet protocols | Packet analysis, detection of IP conflicts |
4. Initial assessment
| action | What to pay attention to |
|---|---|
| Checking the state of LEDs of PLC/network modules | Red color (error), flashing (activity), no indication (power) |
| Analysis of accident history (Alarm Log) | Time of occurrence, error code, dependence on other events |
| Overview of the physical state of the network | Cable insulation damage, loose contacts in connectors |
| Checking sources of electromagnetic interference | Proximity to power cables, proper shielding, grounding |
5. Systematic diagnosis
- Step 1: Checking the connection (Ping test)
- If Ping does not pass: Check the physical connection, IP address, power supply of the node.
- If Ping passes, but the connection is unstable: Check the network load, timeout settings.
- Step 2: Physical Layer Diagnostics (Network Physics)
- Line Resistance Check (RS-485): Resistance between A and B (with power off) should be around 60-120 ohms (depending on termination).
- Shield check: Shield resistance to PE (ground) should be close to 0 ohms.
- Step 3: Protocol Analysis
- Use Wireshark to analyze the packets. Pay attention to CRC errors, retransmissions.
6. Matrix of errors and reasons
| Symptom | Probable reasons | Diagnostic test | Expected result |
|---|---|---|---|
| Complete loss of node | IP conflict, broken cable | Ping, checking connections | The node is available |
| Periodic loss of communication | Electromagnetic interference, aging of the cable | Oscilloscope, packet analysis | No CRC errors |
| High CRC error rate | Bad termination, interference | Checking the termination resistance | 120 ohms for Modbus/RS-485 |
7. Analysis of the main reasons
Electromagnetic interference (EMI): Occurs when network cables are laid next to motor power cables. This leads to packet corruption. It is confirmed by an oscilloscope as a high level of high-frequency noise on the communication lines.
Grounding problems: Ground loops create a potential difference that damages communication interfaces. The check is carried out by measuring the voltage between the housings of the control cabinets.
Incorrect termination of RS-485 (Modbus): Missing or incorrect termination (120 ohms at the ends of the line) causes signal reflection, resulting in data transmission errors.
8. Removal procedures
- Replacing a damaged cable: Use only standard shielded cables (eg Profinet Type B). Make sure that the screen is properly connected to the connector.
- IP reconfiguration: Assign unique IP addresses, check subnet masks and gateways.
- Termination Setup: Install 120 ohm resistors at both ends of the Modbus RS-485 line.
9. Preventive measures
| The reason | Strategy | Control method | Periodicity |
|---|---|---|---|
| Cable wear | Planned replacement | Visual inspection | Annually |
| EMI interference | Separate laying of lines | Measurement of the level of interference | With each upgrade |
10. Spare parts and components
| Description | Specification | When to replace | Category UNITEC |
|---|---|---|---|
| Industrial Ethernet cable | Cat5e/Cat6 Shielded | Insulation damage | Networking |
| RJ45 connector | Industrial IP67 | Oxidation of contacts | Networking |
| Terminating resistor | 120 Ohms, 0.25W | Loss of denomination | Components |
To order spare parts, visit our catalog: https://www.unitecd.com/e-catalog/
11. Links
- IEC 61158: Fieldbuses for control systems.
- IEC 61784: Industrial communication networks.
- Technical documentation of the OEM manufacturer of the PLC.