PLC Communication Troubleshooting Guide: Fieldbuses and Industrial Networks

Technical analysis: Troubleshooting PLC communication failures: fieldbus diagnostics (Profinet, EtherNet/IP, Modbus), ca

Посібник з діагностики несправностей зв'язку ПЛК: Польові шини та промислові мережі - UNITEC-D Industrial MRO
Цей посібник пропонує систематичний підхід до виявлення та усунення несправностей зв'язку ПЛК у промислових мережах Profinet, EtherNet/IP та Modbus. Основна увага приділяється діагностиці фізичного рі

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

ToolSpecificationMeasuring rangePurpose
Digital multimeterTrue RMS, CAT III 600VDC 0-1000V, AC 0-750V, Resistance 0-40 MΩChecking the power supply voltage, the integrity of the cables
Network testerRJ45 / M12 (Profinet/Ethernet)Cat5e/Cat6 compliantChecking the wiring and shielding of the cable
OscilloscopeMinimum 100 MHz, 2 channelsFrequency up to 50 MHzDiagnosis of RS-485 (Modbus) signals, noise level
Protocol analyzerWireshark softwareEthernet/IP, Profinet protocolsPacket analysis, detection of IP conflicts

4. Initial assessment

actionWhat to pay attention to
Checking the state of LEDs of PLC/network modulesRed 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 networkCable insulation damage, loose contacts in connectors
Checking sources of electromagnetic interferenceProximity 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

SymptomProbable reasonsDiagnostic testExpected result
Complete loss of nodeIP conflict, broken cablePing, checking connectionsThe node is available
Periodic loss of communicationElectromagnetic interference, aging of the cableOscilloscope, packet analysisNo CRC errors
High CRC error rateBad termination, interferenceChecking the termination resistance120 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

  1. Replacing a damaged cable: Use only standard shielded cables (eg Profinet Type B). Make sure that the screen is properly connected to the connector.
  2. IP reconfiguration: Assign unique IP addresses, check subnet masks and gateways.
  3. Termination Setup: Install 120 ohm resistors at both ends of the Modbus RS-485 line.

9. Preventive measures

The reasonStrategyControl methodPeriodicity
Cable wearPlanned replacementVisual inspectionAnnually
EMI interferenceSeparate laying of linesMeasurement of the level of interferenceWith each upgrade

10. Spare parts and components

DescriptionSpecificationWhen to replaceCategory UNITEC
Industrial Ethernet cableCat5e/Cat6 ShieldedInsulation damageNetworking
RJ45 connectorIndustrial IP67Oxidation of contactsNetworking
Terminating resistor120 Ohms, 0.25WLoss of denominationComponents

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.

Related Articles