Grounding, Shielding, and EMC Troubleshooting for B&R Installations
Grounding and electromagnetic compatibility (EMC) are the invisible infrastructure of every B&R PLC installation. When these are correct, the system “just works.” When they are wrong, symptoms manifest as phantom sensor errors, intermittent communication dropouts, and watchdog faults that look exactly like software bugs. For an automation engineer maintaining B&R CP1584 PLCs on undocumented legacy machines from defunct OEMs, EMC problems are among the most difficult to diagnose because they are intermittent, configuration-dependent, and rarely documented. This document covers systematic grounding audit procedures, shield termination techniques for B&R fieldbus cables, common EMC problems in industrial installations, and measurement techniques to identify EMC issues. Cross-references: analog-calibration.md for analog signal noise diagnosis, physical-layer-sniffing.md for physical-layer signal analysis, and io-card-hardware.md for IO card isolation and filtering.
1. Overview
B&R X20 systems are sensitive to grounding quality because the architecture relies on multiple bus systems (POWERLINK, X2X Link, CANopen) operating simultaneously in electrically noisy industrial environments. The X20 backplane communicates via the X2X Link at up to 10 Mbit/s over the DIN rail itself, making the rail’s ground integrity a critical path for both power distribution and data communication. A poor ground connection on the DIN rail can corrupt X2X packets, causing I/O module dropouts that appear as random hardware faults.
This document provides systematic procedures for auditing, diagnosing, and remediating EMC problems in B&R installations where no original documentation exists. The focus is on the X20CP1584 CPU and its associated I/O, communication, and bus systems.
1.1 How Grounding Faults Mimic Software Bugs
| Symptom | Looks Like | Often Actually Is |
|---|---|---|
| Intermittent sensor reading jumps | Scaling error in PLC program | Common-mode noise on analog input from ground loop |
| Random digital input state changes | Logic error or floating input | EMI coupling into unshielded sensor cable |
| POWERLINK node dropping out | Network configuration error | Shield not bonded at both ends, ground loop on Ethernet |
| X2X station not responding | Bus module failure | DIN rail oxidation breaking X2X ground return |
| Watchdog fault | Task class cycle time violation | EMI causing CPU cycle jitter or bus retry overhead |
| Analog input noise floor 3-5% | ADC calibration drift | Missing shield termination or cable routed with VFD power |
| CAN bus error frames | Wrong baud rate or node address | Missing termination resistor or shield not grounded |
The diagnostic challenge: all of these symptoms can also have legitimate software causes. The key differentiator is that EMC-induced problems are correlated with external events – motor starts, contactor closures, VFD operation, cell phone proximity, or time of day (when grid impedance changes).
1.2 The Legacy Machine Challenge
Defunct OEM machines typically present these grounding deficits:
- No single-line diagram or grounding plan
- PE terminals daisy-chained instead of star-point wired
- Cable shields left floating, pigtailed, or grounded at wrong points
- Signal cables routed in same tray as motor power cables
- Missing termination resistors on bus endpoints
- DIN rails not bonded to cabinet ground
- VFD output cables unshielded or improperly shielded
- No surge protection on field cables entering cabinet
- Cabinet door bonding straps removed or missing
2. B&R Grounding Fundamentals
2.1 X20 System Grounding Requirements
The B&R X20 system requires two distinct ground connections:
Protective Earth (PE) / Safety Ground
- The PE connection protects personnel from electric shock
- Required by IEC 61131-2 for all PLC equipment
- Connected via the DIN rail mounting, PE terminal blocks, and cable shields
- Minimum wire gauge: 2.5 mm², yellow-green insulation
Functional Ground / Reference Ground
- The functional ground provides a stable 0V reference for signal integrity
- B&R modules use the DIN rail as the primary functional ground path
- The X2X Link uses the rail as its ground return conductor
- Functional ground and PE are typically bonded together at the cabinet star point
2.2 Mains Network Systems and B&R Compatibility
| Network Type | Description | B&R Compatibility | Notes |
|---|---|---|---|
| TN-S | Separate neutral and PE from transformer to consumer | Best | Preferred. No neutral-to-PE currents in building wiring. Clean PE reference. |
| TN-C-S | Combined neutral/PE (PEN) from transformer, separated at consumer | Good with conditions | Requires proper separation at the main distribution board. If PEN currents flow in the building PE, noise can propagate. |
| TN-C | Combined neutral/PE throughout | Problematic | Neutral currents flow in PE, creating noise on the reference ground. Avoid for B&R installations. |
| TT | Separate earth electrodes for transformer and consumer | Good with conditions | Requires equipotential bonding between all exposed conductive parts. Earth electrode impedance must be low. |
| IT | Isolated or impedance-grounded neutral | Good | Used in medical and some industrial. No first-fault trip. Requires insulation monitoring. |
For undocumented machines, identify the network type by inspecting the main disconnect:
- TN-S: 5-wire (L1, L2, L3, N, PE) with separate N and PE bars
- TN-C-S: 4-wire at meter, split to 5-wire at distribution board with N-PE link
- TT: Earth electrode visible at building entry, separate from supply earth
2.3 Control Cabinet Grounding Hierarchy
B&R systems follow a hierarchical grounding structure. Each level must maintain low-impedance bonding to the level above it:
Building Ground (earth electrode / equipotential bonding bar)
|
| >= 16 mm² Cu or equivalent
|
Cabinet Ground (cabinet backplate / ground bus bar)
|
| >= 6 mm² Cu (preferably 16 mm²)
|
DIN Rail Ground (mounting rail with PE clip to cabinet)
|
| Via module-to-rail contact (X2X Link ground return)
|
Module Ground (bus module, electronic module, terminal block)
|
| Via PE terminal (2.5 mm² min, yellow-green)
|
Field Ground (cable shields bonded at EMC clamps)
2.4 X20 Backplane Grounding Through DIN Rail Contact
This is one of the most commonly overlooked grounding points in B&R installations.
The X2X Link bus uses the DIN rail itself as a ground return conductor. Every X20 bus module makes electrical contact with the DIN rail through its spring-loaded mounting clips. The X2X Link communication runs on two wires (DATA and GND), where GND is referenced to the DIN rail. If the DIN rail has poor connectivity to the cabinet ground bus, the X2X ground return path is compromised.
Critical requirements:
-
The DIN rail must be conductive (zinc-plated steel or aluminum). Painted or anodized rails are NOT acceptable unless the paint is removed at mounting clip contact points.
-
The DIN rail must be bonded to the cabinet ground bus with a PE clip (e.g., Phoenix Contact FT-DIN) and a minimum 6 mm² yellow-green wire.
-
Multiple DIN rails in the same cabinet must be bonded together with at least 6 mm² copper.
-
The rail must be clean – oxidation, paint, or anodizing under the module mounting clips creates intermittent contact that degrades X2X communication.
-
When using coated X20c modules, the grounding path through the module housing is unchanged; the coating does not affect the DIN rail contact.
Verification procedure:
- Measure resistance from any bus module’s DIN rail contact to the cabinet ground bus
- Target: less than 0.1 ohm (measured with 4-wire method)
- If greater than 0.5 ohm, clean rail contact points and check PE clip torque
2.5 PE Terminal Block Wiring Requirements
| Parameter | Requirement |
|---|---|
| Minimum wire gauge | 2.5 mm² (14 AWG) for individual module PE |
| Recommended wire gauge | 4 mm² or 6 mm² for PE bus runs |
| Insulation color | Yellow-green (mandatory for PE per IEC 60445) |
| Terminal type | Ring tongue or ferrule, not bare stranded wire |
| Torque | Per terminal manufacturer specification |
| PE bus bar bonding | 16 mm² minimum to cabinet ground |
For the X20CP1584 CPU, the power supply terminal block (X20TB12) includes dedicated PE connections:
- Pins 1-2: +24V CP/X2X Link supply and GND
- Pins 3-4: +24V I/O supply and GND
- The PE reference for the CPU is established through the DIN rail mounting and the X2X Link ground return
2.6 CP1584 CPU and Interface Module Grounding
The X20CP1584 provides galvanic isolation between its interfaces:
- Ethernet (IF2), POWERLINK (IF3), and X2X Link (IF6) are all isolated from each other, from other interfaces, and from the PLC core
- The I/O supply is NOT isolated from the I/O power supply
- The CPU/X2X Link supply IS isolated from the CPU/X2X Link power supply
This isolation means that each interface has its own ground reference. Cable shields must still be bonded to the cabinet ground at both ends (for Ethernet/POWERLINK) to maintain EMC integrity, but the isolation prevents ground loops from propagating between interfaces through the module itself.
Implication for interface modules: When installing X20IF2772 (CANopen) or other interface modules in the CP1584’s slot(s), those modules receive their ground reference through the X2X backplane. The module’s own cable shields must be bonded to the cabinet ground separately from the module’s signal ground.
2.7 Ground Loop Formation: Causes and Prevention
A ground loop occurs when two or more ground paths exist between equipment, creating a loop that can pick up electromagnetic interference and inject it as common-mode voltage into signal circuits.
Common causes in B&R installations:
-
Cable shield grounded at both ends with no equipotential bonding between the two ground points (creates a loop through the shield)
-
Sensor grounded at the field device and again at the B&R analog input module
-
Multiple cabinets with separate earth references connected by signal cables without proper equipotential bonding
-
24V supply negative connected to ground at more than one point
Prevention strategies:
- Ensure all cabinets and ground points are bonded to a single equipotential ground bus with impedance less than 0.1 ohm between any two points
- For analog signals from remote sensors with their own ground, use isolated analog input modules or signal isolators
- Never connect the 0V of the B&R I/O supply to PE at more than one point
- For cables between buildings or between separately grounded structures, use galvanic isolation at one end
2.8 Reference Ground vs. Safety Ground
| Property | Safety Ground (PE) | Reference Ground (0V) |
|---|---|---|
| Purpose | Personnel protection | Signal integrity |
| Color code | Yellow-green | Blue or black (0V), or per IEC 60445 |
| Current capacity | Must handle fault currents (kA range) | Signal currents only (mA range) |
| Connection | DIN rail to cabinet to building earth | Internal to module, derived from power supply |
| Test method | Earth electrode resistance test | Voltage measurement, noise floor |
| Separation | Never remove or disconnect for testing | May be isolated for measurement with caution |
3. Shield Termination for B&R Fieldbus Cables
3.1 POWERLINK (Ethernet) Cable Shield Termination
B&R POWERLINK uses standard Ethernet physical layer (100BASE-TX) with the X20CA0E61 series cables. These are shielded twisted-pair cables with RJ45 connectors.
Cable specifications (X20CA0E61 series):
- Type: Cat5e industrial, shielded, PVC jacket
- Connectors: 2 x shielded RJ45 (plug to plug)
- Available lengths: 0.2 m to 60 m (X20CA0E61.00020 through X20CA0E61.0600)
- For lengths beyond 20 m: use X20CA0E61.xxxx series (up to 60 m)
- UL recognized (E470046)
Shield termination for POWERLINK/Ethernet:
Ethernet standards (IEEE 802.3) and B&R guidelines require shielded cables to have their shields bonded at both ends. This is different from analog signal practice (which often uses single-ended grounding).
[CP1584 PLK port] ---X20CA0E61 cable--- [Remote node PLK port]
|RJ45 shield| |RJ45 shield|
| |
Cabinet PE Remote cabinet PE
| |
Building equipotential bond <-----> |
Why both-end bonding for Ethernet:
- The shield acts as a Faraday cage for the differential pairs
- High-frequency EMI requires low-impedance grounding at both ends to be effective
- The shield current from potential differences between grounds is confined to the shield by the twisted-pair’s balanced coupling
- Ethernet transformers at each end provide galvanic isolation from the shield
RC circuit in shielded RJ45 jacks:
- B&R shielded RJ45 ports (both Ethernet IF2 and POWERLINK IF3 on the CP1584) include RC circuits connecting the jack shield to chassis ground
- These circuits (typically 1 nF capacitor + 1 MOhm resistor) provide high-frequency bonding to ground while blocking low-frequency ground loop currents
- This allows both-end shield bonding without creating low-frequency ground loops through the shield
Practical notes:
- Never use unshielded (UTP) patch cables for POWERLINK in industrial environments
- Maximum segment length between two stations: 100 m (per 100BASE-TX standard)
- Cross-over wiring is used in X20CA0E61 cables (B&R uses MDI-X internally on POWERLINK ports)
3.2 X2X Bus Cable Shield Termination
The X2X Link is B&R’s proprietary backplane bus that connects the CPU to X20 I/O stations via the X2X Link bus modules. The cable carries both communication and power.
B&R recommendation (from X20 System User’s Manual):
“B&R recommends always using a grounding terminal via the top-hat rail to connect the X2X Link cable shield directly with the conductive and grounded backplane.”
For X2X cables:
- The shield should be bonded to the DIN rail (which serves as the X2X ground reference) at both ends
- Use a grounding terminal block at each end to connect the cable shield to the DIN rail
- The B&R cable shield clamp (X20AC0SG1) is designed for this purpose
Shield connection using X20AC0SG1 cable shield clamp:
- The X20AC0SG1 latches to the terminal block position on the DIN rail
- A cable lug connects the clamp to the bus module’s ground connection
- Accepts cable shields from 3 mm to 8 mm diameter
- Available in packs of 10 (X20AC0SG1.0010) or 100 (X20AC0SG1.0100)
[X2X Link port] ----[X2X cable]---- [Remote X2X station]
| |SHLD| |
Module GND X20AC0SG1 Module GND
| clamp |
DIN rail --> PE rail <------- DIN rail
3.3 CAN Bus Shield Termination
For CANopen on the X20IF2772 interface module:
Pinout of the 5-pin multipoint connector (0TB2105 terminal block):
| Pin | Function |
|---|---|
| 1 | CAN_GND (CAN ground) |
| 2 | CAN_L (CAN low) |
| 3 | SHLD (Shield) |
| 4 | CAN_H (CAN high) |
| 5 | NC (not connected) |
Termination resistors:
- The X20IF2772 has integrated terminating resistors (120 ohm each, one per CAN interface)
- Each CAN interface has a physical switch on the bottom of the module to enable/disable the termination
- LED “TERM CAN 1” or “TERM CAN 2” (yellow) indicates the resistor is active
- Per CAN specification, both ends of the bus must have 120 ohm termination (two resistors in parallel = 60 ohm on the bus, which matches the characteristic impedance of typical CAN cable)
Shield grounding for CAN bus:
- B&R provides a dedicated SHLD pin (pin 3) on the CAN connector
- For CANopen in industrial environments, the shield should be bonded to the cabinet ground at both ends
- Use an EMC cable clamp or the X20AC0SA08 shield connection clamp (accepts 3-8 mm shield diameter)
- The shield ground path is separate from CAN_GND (pin 1) – CAN_GND is the signal reference, SHLD is the EMC shield
- Bond SHLD to the cabinet equipotential ground bus, not to CAN_GND
Maximum bus parameters:
- Maximum distance: 1000 m (at lower baud rates; at 1 Mbit/s, distance is typically limited to ~40 m)
- Maximum transfer rate: 1 Mbit/s
- CAN controller: SJA 1000 (per X20IF2772 datasheet)
3.4 Serial RS485/RS232 Shield Handling
The X20CP1584 provides an RS232 interface (IF1) via the 12-pin X20TB12 terminal block. RS232 is typically used for programming/debug and is short-range (max 15 m per RS232 standard, though B&R rates it to 900 m – this likely assumes RS422/RS485 conversion equipment).
RS232 shield handling:
- RS232 cables are rarely shielded in practice, but in noisy environments a shielded cable should be used
- Shield should be grounded at the CP1584 end (cabinet ground) only – single-point grounding
- Do not ground the RS232 cable shield at the PC end, as PCs may have different ground potentials
For RS485 field connections (via interface modules):
- Use twisted-pair shielded cable
- Bond shield at both ends if both devices share the same equipotential ground
- If grounds differ significantly (e.g., remote field panel), ground shield at the B&R end only
- Use 120 ohm termination at both ends of the RS485 bus
See serial-diagnostics.md for detailed RS485 noise diagnosis.
3.5 Shield Continuity Testing Procedure
Equipment needed: Multimeter with low-ohm mode (resolution to 0.01 ohm), or preferably a 4-wire milliohmeter.
Procedure:
- Power down the cabinet and all connected field devices
- Disconnect one end of the cable under test from its module
- At the disconnected end, separate the shield from any ground connection
- Measure resistance from the shield at the near end to the shield at the far end
- For X2X Link cables: measure from the shield at the CPU end to the shield at the remote station end
Pass/fail criteria:
| Cable Type | Length (m) | Max Shield Resistance |
|---|---|---|
| POWERLINK (X20CA0E61) | 1-20 | < 1 ohm |
| POWERLINK (X20CA0E61) | 20-60 | < 3 ohm |
| X2X Link | 1-10 | < 0.5 ohm |
| CAN bus | 1-100 | < 5 ohm |
| Analog sensor | 1-50 | < 2 ohm |
If shield resistance is high:
- Check shield clamp connections at both ends
- Check for broken braid at cable entry points
- Check for shield crimped too tightly (individual strands broken)
- Replace cable if shield integrity is compromised
3.6 EMC Cable Clamps and Shield Connection Terminals
B&R-specific components:
| Part Number | Description | Shield Diameter | Notes |
|---|---|---|---|
| X20AC0SG1.0010 | Cable shield grounding clamp, 10 pcs | 3-8 mm | Latches to DIN rail terminal block position |
| X20AC0SG1.0100 | Cable shield grounding clamp, 100 pcs | 3-8 mm | Same as above, bulk pack |
| X20AC0SA08.0010 | Shield connection clamp, 10 pcs | 3-8 mm | Alternative shield connection method |
Third-party equivalents:
- Phoenix Contact SK series shield terminals
- Weidmuller KLS shield clamps
- Wago 2606 shield connection
Proper installation technique:
- Strip cable jacket back approximately 30-40 mm from the cable entry point
- Do NOT untwist or comb out the shield braid – keep it as a cylinder
- Slide the EMC clamp over the exposed shield braid
- Tighten the clamp screw to the specified torque (do not over-tighten – this breaks individual strands and increases resistance)
- Route a short ground wire from the clamp to the DIN rail PE bar or cabinet ground bus
- Ground wire: minimum 2.5 mm² yellow-green, ferrule at both ends
4. Cable Routing and Segregation
4.1 Separation of Power and Signal Cables
Minimum separation distances between power cables and signal cables:
| Voltage Level | Minimum Separation (parallel run) | Minimum Separation (crossing) |
|---|---|---|
| 24 VDC signal | 50 mm (2 in) | Contact crossing at 90 degrees is acceptable |
| 230 VAC power | 200 mm (8 in) | 50 mm with shielded signal cable |
| 400 VAC / 480 VAC power | 300 mm (12 in) | 100 mm minimum |
| VFD output (PWM) | 500 mm (20 in) | 200 mm, shielded motor cable mandatory |
4.2 B&R Recommended Cable Routing in Control Cabinets
TOP OF CABINET
+---------------------------------------------------+
| |
| [AC power distribution] [AC power out] | <- Power zone (top)
| |
|---------------------------------------------------|
| |
| [EMC filters] [Surge protection] | <- Filter zone
| |
|---------------------------------------------------|
| |
| [VFD / drives] | <- Drive zone
| |
|---------------------------------------------------|
| |
| [24V power supply] | <- Power supply zone
| |
|---------------------------------------------------|
| |
| [X20CP1584 CPU] [Interface modules] | <- PLC zone
| [X20 I/O stations on DIN rails] |
| |
|---------------------------------------------------|
| |
| [POWERLINK cables] [X2X Link cables] | <- Communication zone
| [CAN bus cables] [Field signal cables] |
| |
+---------------------------------------------------+
BOTTOM OF CABINET
Cable entry from bottom for signal/communication cables.
Cable entry from top for power cables (if possible).
4.3 Crossing Angles
When power and signal cables must cross:
- Cross at exactly 90 degrees (perpendicular)
- Never run power and signal cables parallel for any distance
- If parallel routing is unavoidable, maintain the minimum separation distance
- At crossings, maintain physical separation – do not strap cables together
4.4 Cable Tray Segregation
| Tray | Cable Types | Color Convention |
|---|---|---|
| Power tray (top) | Motor power, VFD output, AC mains | Black jacket |
| Communication tray (middle) | POWERLINK, X2X, CAN bus, Ethernet | Green (B&R POWERLINK), blue or grey |
| Signal tray (bottom) | Analog inputs, digital inputs, encoder cables | Blue or grey, individually shielded |
4.5 Ferrite Core Placement
Ferrite cores suppress high-frequency common-mode currents on cables. Place them:
On POWERLINK/Ethernet cables:
- Near the CP1584 RJ45 connector (within 50 mm of the connector)
- Near the remote node connector
- Useful when cable routes near VFDs or motor power cables
- Use ferrite clamps sized for Cat5e cables (inner diameter ~7 mm)
On CAN bus cables:
- Near each end of the bus (at the X20IF2772 and the last node)
- Prevents high-frequency emissions from the CAN bus and reduces susceptibility to external fields
- Use ferrite clamps sized for the CAN cable diameter
On X2X Link cables:
- Near the CPU end and near the remote station end
- Especially important if the X2X cable runs near VFD output cables
On analog input cables:
- Near the B&R analog input module end
- Reduces high-frequency noise coupling into the ADC
- See analog-calibration.md for analog noise floor measurement
On VFD motor cables:
- At the VFD output terminals (essential)
- Prevents conducted emissions from traveling along the motor cable
- B&R ACOPOS drives require EMC-compliant output cable installation
Ferrite core selection:
| Application | Material | Impedance at 100 MHz | Inner Diameter |
|---|---|---|---|
| Ethernet/CAN | MnZn | 50-100 ohm | 7-8 mm |
| X2X Link | NiZn | 30-60 ohm | 5-6 mm |
| Motor cable | MnZn | 100-200 ohm | 15-25 mm (snap-on) |
| Analog signal | NiZn | 30-60 ohm | 5-8 mm |
4.6 Recommended Cable Types
| Bus System | Recommended Cable Type | Notes |
|---|---|---|
| POWERLINK | B&R X20CA0E61 series (Cat5e, shielded) | Do not substitute with UTP patch cables |
| X2X Link | B&R X2X Link cable (shielded) | Shield must be bonded to DIN rail at both ends |
| CANopen | CAN bus cable per CiA DR-602 (shielded, twisted pair) | Characteristic impedance 120 ohm |
| Analog 4-20 mA | Individually shielded twisted pair | Overall shield acceptable if no power cables nearby |
| Digital inputs | Unshielded acceptable for short runs (< 5 m), shielded for longer runs | |
| RS232 | Shielded twisted pair for industrial use | |
| RS485 | Shielded twisted pair, 120 ohm characteristic impedance |
5. Common EMC Problems in B&R Installations
5.1 Intermittent Sensor Reading Errors from EMI
Symptoms: Analog sensor readings jump randomly by 1-5% of span. Digital inputs flicker on and off.
Root cause: Common-mode noise coupled into signal cables from nearby power cables, VFDs, or contactor coils.
Diagnosis:
- Observe correlation between sensor errors and motor starts/stops
- Measure common-mode voltage on analog inputs (see Section 6.4)
- Check cable routing for proximity to power cables
- Verify shield termination at both the sensor and the module
Remediation:
- Ensure sensor cable shields are properly bonded at both ends (or at the PLC end for grounded sensors)
- Re-route cables away from power cables
- Add ferrite cores near the B&R module end
- For analog signals, verify the module’s noise specifications (see analog-calibration.md)
5.2 POWERLINK Communication Dropouts from Ground Loops
Symptoms: POWERLINK S/E LED shows error states (red on, or blinking). Remote nodes drop out intermittently. Automation Studio network view shows nodes in error.
Root cause: Ground loop creating common-mode voltage on POWERLINK cable shield, exceeding the Ethernet transformer’s common-mode rejection range.
Diagnosis:
- Check S/E LED state on CP1584 (see Section 2.8 in the CP1584 datasheet for LED error codes)
- Measure voltage between the shield of the POWERLINK cable and the cabinet ground at the CP1584 end
- If voltage is present (more than ~1V AC), there is a ground loop
Remediation:
- Ensure all cabinets in the POWERLINK network are bonded to a single equipotential ground
- If cabinets cannot be bonded (e.g., different buildings), use POWERLINK fiber optic converters
- Replace unshielded Ethernet cables with B&R X20CA0E61 shielded cables
- Check that the RC circuit in the RJ45 jack shield is intact (not bypassed)
See powerlink-internals.md for POWERLINK frame error analysis.
5.3 X2X Bus Faults from VFDs and Contactor Switching
Symptoms: X2X stations (I/O modules) drop off the bus and reappear. IO module status LEDs show error. Bus module LEDs indicate communication failure.
Root cause: The X2X Link ground return is through the DIN rail. If VFD switching noise or contactor arc energy couples into the DIN rail, X2X communication is corrupted.
Diagnosis:
- Check if X2X errors correlate with VFD starts or contactor operations
- Measure noise on the DIN rail using an oscilloscope (probe between DIN rail and cabinet ground)
- Verify DIN rail-to-cabinet ground bonding (should be < 0.1 ohm)
Remediation:
- Improve DIN rail bonding to cabinet ground bus
- Separate X2X cables from VFD output cables
- Add EMC filters to VFD power inputs
- Use shielded VFD output cables with 360-degree shield bonding at both ends
- Ensure VFD motor cable shield is bonded at the VFD chassis and at the motor frame
See x2x-protocol.md for X2X bus diagnostic details.
5.4 Analog Input Noise
Symptoms: Analog input readings show excessive jitter or noise floor. Readings may drift with motor speed or process state.
Root cause: Inadequate shielding, ground loops on analog signal cables, or missing reference ground.
Diagnosis:
- Short the analog input at the terminal block and observe noise floor
- If noise persists with shorted input, the problem is internal to the module or its power supply
- If noise disappears with shorted input, the problem is on the cable/sensor side
Remediation:
- Verify shield bonding on analog cables
- Check for ground loops between sensor ground and module ground
- Consider using isolated analog input modules (B&R X20AI463x with galvanic isolation)
- Add analog input filters in software (moving average, median filter)
See analog-calibration.md for detailed analog noise analysis.
5.5 CAN Bus Error Frames from EMI
Symptoms: CAN bus error counters increment rapidly. CAN bus goes bus-off. X20IF2772 TxD LED shows constant activity even when no data should be transmitted (error frame retransmission).
Root cause: EMI on the CAN bus wiring causing bit errors, triggering error frames and retransmissions.
Diagnosis:
- Use Automation Studio or CAN analyzer to monitor error frame count and error type (bit error, stuff error, CRC error)
- Check that termination resistors are enabled at both ends of the bus (TERM CAN LED on X20IF2772)
- Verify CAN cable shield is bonded to ground at both ends via pin 3 (SHLD)
Remediation:
- Verify both-end termination (120 ohm at each end = 60 ohm measured across CAN_H/CAN_L with bus powered down)
- Re-route CAN bus cables away from power cables
- Add ferrite cores near both ends of the CAN bus
- Replace damaged CAN cable (check for crushed or kinked sections)
See if2772-canopen.md for CAN error handling specifics.
5.6 Phantom IO State Changes
Symptoms: Digital inputs change state without any physical stimulus. Outputs toggle unexpectedly.
Root cause: EMI coupling into input circuits through unshielded cables, floating inputs, or inadequate input filtering.
Diagnosis:
- Monitor input states in Automation Studio watch window while operating nearby motors/contactor
- Check if inputs are properly wired (not floating – floating inputs are noise antennas)
- For digital inputs, verify input filter time is appropriate (default is typically 3 ms, increase to 10 ms for noisy environments)
Remediation:
- Wire unused digital inputs to 0V (never leave floating)
- Use shielded cable for long digital input runs
- Increase input filter time in Automation Studio configuration
- Add pull-down resistors to inputs that receive very short signals in noisy environments
See io-card-hardware.md for IO module signal conditioning details.
5.7 Ethernet Link Dropouts on POWERLINK
Symptoms: POWERLINK PLK LED goes dark. Node disappears from the network. Link re-establishes after a variable delay.
Root cause: Physical layer signal degradation from EMI, poor cable, or marginal shield termination.
Diagnosis:
- Check PLK LED state on CP1584 and remote nodes
- Measure POWERLINK cable shield continuity
- Try a known-good X20CA0E61 cable of the same length
- Check if problem is correlated with specific activities (motor starts, welding, etc.)
Remediation:
- Replace POWERLINK cable with genuine B&R X20CA0E61
- Verify RJ45 connector seating (fully latched)
- Add ferrite core near the CP1584 POWERLINK port
- Reduce POWERLINK segment length if operating near the 100 m limit
- Check for cable damage from mechanical stress or crushing
5.8 Watchdog Faults from EMI-Induced Cycle Time Violations
Symptoms: CPU watchdog triggers. System enters FAULT state. Logbook shows cycle time exceeded configured limit.
Root cause: EMI causing X2X bus retries or POWERLINK retransmissions, which add latency to the I/O cycle, pushing the total cycle time beyond the watchdog limit.
Diagnosis:
- Check Automation Studio logbook for cycle time values near the limit
- Correlate watchdog events with communication error events
- Measure task class cycle times under normal and noisy conditions
Remediation:
- Fix the underlying EMC problem (shielding, grounding, cable routing)
- Increase the watchdog timeout in Automation Studio (if the application can tolerate it)
- Reduce the number of nodes on affected bus segments
- Optimize the task class configuration to reduce communication overhead
5.9 ADC Reading Jitter and Noise Floor
Symptoms: Analog readings fluctuate by several LSBs even with a stable physical input.
Root cause: Insufficient ADC resolution for the signal range, inadequate filtering, or noise on the reference ground.
Diagnosis:
- Apply a known stable voltage to the analog input
- Measure the peak-to-peak variation in the digital reading
- Compare to the module’s published resolution and noise specifications
Remediation:
- Ensure the analog input module’s power supply is clean and well-regulated
- Verify the module’s AGND reference is solid (check DIN rail contact)
- Apply software filtering (oversampling + averaging)
- Check for nearby noise sources (switch-mode power supplies, VFDs)
6. Systematic EMC Audit Procedure
6.1 Step 1: Visual Inspection Checklist
Perform this inspection with all power OFF and locked out/tagged out (LOTO).
Cabinet grounding:
- Cabinet bonded to building ground with visible, properly sized conductor
- Ground bus bar present and all PE wires landed on it (no daisy-chains)
- Cabinet door bonded to cabinet body with braided strap or bonding conductor
- DIN rail bonded to cabinet ground bus with PE clip and yellow-green wire
- Multiple DIN rails bonded together
DIN rail condition:
- DIN rail is conductive (not painted/anodized at module contact points)
- DIN rail is clean, no visible oxidation or corrosion
- All modules are fully seated on the rail (no gaps)
- End clamps installed at both ends of each module row
Cable shields:
- All shielded cables have shields bonded at entry points (EMC clamps present)
- No pigtail shield connections (shield wires wrapped around a screw terminal)
- Shields bonded with 360-degree contact via EMC clamps, not via flying leads
- POWERLINK cables are B&R X20CA0E61 (shielded), not UTP patch cables
- CAN bus cable shields bonded to ground at both ends
- X2X Link cable shields bonded to DIN rail at both ends
Cable routing:
- Power cables separated from signal cables per minimum distances
- No signal cables routed through power cable trays
- Power/signal cable crossings are at 90 degrees
- Cable entry points are at correct locations (power from top, signals from bottom)
- No excessive cable lengths coiled inside the cabinet
Termination and configuration:
- CAN bus termination resistors active at both ends (check X20IF2772 TERM LEDs)
- All unused digital inputs wired to 0V
- Analog input reference jumpers installed correctly
- No visible damage to cable jackets or shield braids at entry points
EMC components:
- EMC filters installed on VFD power inputs
- Surge protectors installed on field cables entering the cabinet
- Ferrite cores present on POWERLINK and CAN bus cables (if in noisy environment)
- VFD output cables are shielded with shield bonded at both ends
6.2 Step 2: Ground Impedance Measurements
4-wire (Kelvin) measurement method for ground impedance:
The 4-wire method eliminates the contribution of test lead resistance from the measurement, providing accurate low-ohm readings down to 0.01 ohm.
Current source Voltmeter
(I+) (V+)
| |
+---[R_under_test]---+---+
| |
(I-) (V-)
Current leads carry the measurement current.
Voltage leads measure the voltage drop across R.
Impedance = V_measured / I_forced
Equipment:
- Dedicated ground impedance tester (Fluke 1654B, Megger MIT430, or similar): $500-2000
- Alternative: Precision multimeter with 4-wire ohms mode (Fluke 87V does NOT have 4-wire; use Fluke 8846A or Keithley 2110): $500-1500
- Minimum resolution: 0.01 ohm
Measurement points and targets:
| Measurement Point A | Measurement Point B | Target |
|---|---|---|
| Cabinet ground bus | Building ground bar (main) | < 0.1 ohm |
| DIN rail | Cabinet ground bus | < 0.1 ohm |
| Module PE terminal | DIN rail (via module contact) | < 0.1 ohm |
| EMC clamp (any cable) | Cabinet ground bus | < 0.1 ohm |
| Remote cabinet ground bus | Local cabinet ground bus | < 0.1 ohm |
Procedure:
- Verify all power is OFF and LOTO is applied
- Select 4-wire ohms mode on the meter
- Connect current leads to the two points under test
- Connect voltage leads to the same two points (inside the current lead connections)
- Read the impedance value
- Record the measurement with date, ambient temperature, and equipment ID
With a standard 2-wire multimeter (less accurate but possible):
- Set multimeter to lowest ohms range
- Touch probes together and note the lead resistance (typically 0.1-0.5 ohm)
- Measure between the two points
- Subtract the lead resistance from the reading
- This method is only reliable for measurements above 0.5 ohm; for lower values, use a dedicated 4-wire instrument
6.3 Step 3: Shield Continuity Testing
Procedure:
- Power OFF, LOTO
- Disconnect the cable under test at one end (remove terminal block or disconnect RJ45)
- At the far end, verify the shield is disconnected from ground (or note which end is grounded)
- Measure shield resistance end-to-end using the 2-wire method (subtract lead resistance)
- Measure shield-to-conductor insulation resistance (should be > 1 Mohm at 500V DC)
Pass/fail criteria:
- Shield resistance end-to-end: proportional to length, typically < 1 ohm per 20 m
- Shield-to-core insulation: > 20 Mohm (ideally > 100 Mohm)
Common findings in legacy machines:
- Shield continuity broken at cable entry point (braid cut during cable stripping)
- Shield grounded through a pigtail (single strand of braid wrapped around a screw) – high resistance
- Shield crimped too tightly at a terminal, breaking most braid strands
- Shield not connected at all (floating)
6.4 Step 4: Cable Routing Assessment
Document the current cable routing with photographs and a sketch. Note:
- Cable types and approximate routing paths
- Proximity of signal cables to power cables (measure and record distances)
- Cable crossings: are they at 90 degrees?
- Cable entry and exit points from the cabinet
- Coiled or excess cable lengths inside the cabinet
- Whether VFD output cables are shielded
Assessment checklist:
| Item | Finding | Remediation Priority |
|---|---|---|
| POWERLINK cable routed near VFD output | Distance: ___ mm | High |
| Analog sensor cable in power tray | Yes/No | High |
| X2X cable parallel to 480V motor cable | Distance: ___ mm | Critical |
| CAN bus cable routed through cable tray with contactor wiring | Yes/No | Medium |
| Excess cable coiled inside cabinet | Length: ___ m | Low |
| Unshielded cable used for analog signal | Yes/No | High |
6.5 Step 5: Near-Field Probing for Noise Sources
This step requires the cabinet to be powered ON with the machine in operation.
Equipment:
- Near-field probe set (H-probe for magnetic field, E-probe for electric field)
- Oscilloscope (Rigol DS1054Z or similar, 100 MHz minimum bandwidth)
- BNC coaxial cable to connect probe to oscilloscope
Procedure:
- Set oscilloscope to 20 MHz bandwidth limit initially
- Set timebase to 1 us/div
- Set trigger to normal mode with threshold above noise floor
- Hold the H-probe (magnetic) near suspect noise sources:
- VFD output terminals
- Contactor coils
- Relay coils
- Switch-mode power supplies
- POWERLINK/Ethernet cables
- X2X Link cables
- Move the probe slowly along cable runs to locate the highest emission points
- Note the frequency and amplitude of the strongest emissions
- Repeat with the E-probe (electric field)
Typical noise signatures:
| Noise Source | Frequency Range | Character |
|---|---|---|
| VFD PWM switching | 1-100 kHz (fundamental), up to 20 MHz (edges) | Bursty, correlated with motor operation |
| Contactor coil release | 1-100 MHz | Single burst at contact opening |
| Switch-mode power supply | 50-500 kHz (fundamental), up to 30 MHz (harmonics) | Continuous |
| POWERLINK traffic | 10-100 MHz | Periodic packets |
| X2X Link traffic | DC-10 MHz | Continuous during operation |
6.6 Step 6: Common-Mode Voltage Measurements on I/O
Equipment: Oscilloscope with differential probe or isolated measurement capability.
WARNING: Do NOT connect an oscilloscope ground clip to any point in a live cabinet that is not at true earth potential. This can create a ground loop through the oscilloscope and damage equipment. Use a differential probe or battery-powered oscilloscope.
Measurement procedure:
- Connect differential probe across the analog input terminals (e.g., AI+ and AI-)
- Set probe to 1X or 10X as appropriate for the signal range
- Observe the signal waveform and noise superimposed on it
- Switch the probe to measure between AI- and cabinet ground (common-mode voltage)
- If common-mode voltage exceeds 1V peak, the signal quality is compromised
Acceptable levels:
| Signal Type | Max Common-Mode Voltage (peak) |
|---|---|
| Analog 4-20 mA | < 1 V |
| Analog 0-10 V | < 0.5 V |
| Digital 24 V input | < 5 V |
| RS485 | < 3 V (check module spec for exact common-mode range) |
| CAN bus | < -2V to +7V per CAN standard |
6.7 Step 7: Ground Loop Detection
Method 1: Voltage measurement between grounds
-
Power ON the system
-
Using a multimeter set to AC millivolts range, measure the voltage between:
- Cabinet ground bus and a known earth reference (building ground bar)
- DIN rail and cabinet ground bus
- The shield of any POWERLINK/Ethernet cable and the local cabinet ground
- The GND terminal of a remote field device and the cabinet ground
-
If AC voltage is detected (> 100 mV), a ground loop or ground potential difference exists
Method 2: Current measurement on ground conductors
-
Power ON the system
-
Using a clamp-on current probe (AC mA range), measure current flowing in:
- The PE conductor between cabinets
- The shield of POWERLINK cables
- The cable between cabinet ground and building ground
-
Any AC current > 10 mA on a shield or PE conductor indicates a ground loop or improper bonding
Method 3: Visual verification of ground topology
- Trace all PE connections from the cabinet ground bus
- Verify there is exactly one path from any equipment to the building ground (star topology)
- Identify any connections that create loops (e.g., two separate PE paths between two cabinets)
6.8 Step 8: Document Findings and Create Remediation Plan
Create a structured report with:
- Machine identification (location, OEM if known, B&R CPU model, Automation Studio project version)
- Photos of cabinet layout and cable routing
- All measurement results with equipment used, date, and ambient conditions
- Findings categorized by severity:
- Critical: Safety hazard or system-stopping fault
- High: Degrading performance or intermittent errors
- Medium: Non-optimal but functional
- Low: Cosmetic or best-practice improvement
- Prioritized remediation plan with estimated effort and materials
- Before/after measurements after remediation
7. Remediation Techniques
7.1 Adding Proper Ground Connections
Star-point grounding topology:
Building Ground Bar
|
| 16 mm² Cu
|
[Cabinet Ground Bus]
/ | | \
/ | | \
[Cabinet 1] | | [Cabinet 3]
| | | |
6 mm² Cu | | 6 mm² Cu
| | | |
[DIN rail 1] | | [DIN rail 3]
| | | |
[Modules] | | [Modules]
|
[Cabinet 2]
|
6 mm² Cu
|
[DIN rail 2]
|
[Modules]
Key principle: Each cabinet has exactly one path to the building ground bar. No loops. No daisy-chains of PE connections between cabinets.
Procedure for adding a ground connection:
- Identify the nearest point on the cabinet ground bus
- Determine the required wire gauge based on fault current capacity and distance
- Use a ring tongue terminal crimped to the wire
- Bond the wire to the ground bus with a washer, lock washer, and nut
- Torque to specification (typically 2-3 Nm for M6 hardware)
- Verify impedance after installation (< 0.1 ohm to building ground)
7.2 DIN Rail Grounding Upgrade
- Remove all modules from the affected rail section
- Clean the rail surface with isopropyl alcohol and a non-abrasive pad
- Install a PE bonding clip (Phoenix Contact FT-DIN or equivalent) at each end of the rail
- Run a 6 mm² yellow-green wire from the PE clip to the cabinet ground bus
- For rails longer than 1 m, add additional PE clips at 1 m intervals
- Reinstall modules and verify seating
- Measure rail-to-cabinet ground impedance: target < 0.1 ohm
7.3 Isolation Transformers for Noisy Power Feeds
When the 24V power supply receives noise from the mains or from other loads on the same circuit:
Application points:
- Between the mains supply and the 24V power supply input
- Between the mains supply and VFD input (VFDs usually have their own built-in DC bus isolation)
Specifications for industrial isolation transformer:
- Turns ratio: 1:1
- Power rating: Match or exceed the total load (e.g., 500 VA for a 10A 24V supply)
- Electrostatic shield (Faraday shield between primary and secondary): Recommended for EMC applications
- Voltage regulation: < 3%
- Insulation class: F or H
- K-factor rated if supplying nonlinear loads (switch-mode power supplies)
7.4 Ferrite Chokes on Cables
Installation procedure:
- Select ferrite core of appropriate material and size for the cable
- Pass the cable through the ferrite core
- For best high-frequency suppression, pass the cable through the core as many times as possible (each pass doubles the effective impedance)
- For common-mode suppression: pass both signal and return conductors through the core together
- For differential-mode suppression (rare): pass only one conductor through the core
- Position the ferrite as close to the susceptible device (usually the B&R module) as practical
- Secure the ferrite with cable ties or heat-shrink tubing
When ferrite is not enough:
- If noise is below 1 MHz, ferrite may not be effective
- Consider active filtering or cable re-routing instead
- For very strong noise sources, shielded enclosures may be necessary
7.5 Shielded Cable Replacement Procedure
- Identify the cable to be replaced (trace from module to field device)
- Determine the required cable type and length
- Remove the old cable:
- Disconnect at both ends
- Pull the cable from the cable tray/conduit
- Note the routing path
- Install the new cable:
- Pull the new cable through the same path (or a better path if re-routing)
- Leave 30-40 mm of jacket stripped back at each termination point for shield clamping
- Do not untwist or comb out the shield braid
- Install EMC cable clamps at both ends:
- Clamp the shield braid with a 360-degree EMC clamp
- Bond the clamp to the local ground bus
- Terminate the individual conductors at the module terminal block
- Test shield continuity before energizing
- Energize and verify correct operation
7.6 EMC Filter Installation on VFD Power Feeds
Types of EMC filters for VFDs:
| Filter Type | Location | Purpose |
|---|---|---|
| Mains EMC filter | Between mains and VFD input | Suppress conducted emissions from VFD back to mains |
| dv/dt filter | At VFD output | Reduce voltage rise time to protect motor insulation |
| Sine-wave filter | At VFD output | Convert PWM to near-sine wave, reduce EMI significantly |
| Common-mode choke | At VFD output | Reduce common-mode currents on motor cable |
Installation notes:
- Follow the VFD manufacturer’s EMC installation guide
- B&R ACOPOS drives have specific EMC installation requirements documented in their manual
- EMC filter must be installed as close to the VFD as possible
- Filter enclosure must be bonded to the cabinet ground
- Input and output cables must be kept separated (never route VFD output cable through the EMC filter area)
See acopos-drives.md for B&R ACOPOS-specific EMC requirements.
7.7 Surge Protection for B&R I/O Modules
Field cables entering the cabinet can carry surge energy from:
- Lightning strikes (direct or indirect)
- Switching of inductive loads
- Electrostatic discharge
Surge protection placement:
| Cable Type | Protection Device | Placement |
|---|---|---|
| Analog input (4-20 mA) | Surge protector for analog signals | In the field cabinet or at the B&R terminal block |
| Digital input (24 V) | Varistor or TVS diode array | At the terminal block or in a surge protection module |
| POWERLINK | Ethernet surge protector (RJ45) | At the cabinet cable entry point |
| CAN bus | CAN bus surge protector | At each cabinet entry point |
| RS485 | RS485 surge protector | At the field end and the B&R end |
Installation:
- Surge protectors must be bonded to the cabinet ground bus
- The ground connection of the surge protector is critical – use short, direct wiring to ground
- Replace surge protectors after a known surge event (most have indicator LEDs showing protection status)
7.8 Cable Relocation
Priority order for cable relocation (based on impact):
- Critical: Relocate X2X Link cables away from VFD output cables
- Critical: Relocate analog input cables out of power cable trays
- High: Separate CAN bus cables from motor power cables
- Medium: Increase separation between POWERLINK cables and 24V distribution
- Low: Reorganize cable ties and bundles for neatness
Relocation procedure:
- Verify the machine is in a safe state (stop all motion, lock out)
- Disconnect cables at both ends
- Re-route through appropriate cable tray/duct
- Re-terminate at both ends
- Test shield continuity
- Re-energize and verify operation
7.9 Adding EMC Cable Clamps to Existing Installations
- Identify cables that are missing shield termination
- At the cable entry point, strip back 30-40 mm of jacket to expose the shield braid
- Install an EMC clamp (X20AC0SG1 for DIN rail mounting, or generic clamp for cable tray mounting)
- Route a short ground wire from the clamp to the nearest ground reference
- Do NOT cut the shield braid or create a pigtail – the clamp must grip the full circumference
8. Measurement Equipment
8.1 Recommended Equipment Table
| Equipment | Recommended Model | Price Range (USD) | Use Case |
|---|---|---|---|
| Digital multimeter | Fluke 87V | $200-400 | General voltage, continuity, low-ohm measurements |
| Ground impedance tester | Fluke 1654B or Megger MIT430 | $500-2000 | 4-wire ground impedance, PE/N continuity |
| Bench oscilloscope | Rigol DS1054Z (4ch, 100 MHz) | $400-800 | Waveform analysis, noise measurement, common-mode voltage |
| Handheld oscilloscope | Fluke 120B Series | $1500-2500 | Field measurements, live cabinet probing |
| Differential probe | Rigol RP1020D (100X) or Micsig DP10013 | $50-200 | Safe measurement in live cabinets without ground reference |
| Near-field probe set | DIY (ferrite toroid + coax) or Beehive Electronics 100A/B | $50-200 | Noise source identification |
| Current probe | Clamp-on AC/DC (Fluke i400s or Uni-T UT210E) | $50-500 | Ground current measurement for ground loop detection |
| CAN bus analyzer | PCAN-USB or Kvaser Leaf | $200-500 | CAN bus traffic monitoring and error analysis |
| POWERLINK analyzer | B&R Automation Studio Ethernet capture + Wireshark | $0 (software) | POWERLINK frame analysis |
| Insulation resistance tester | Fluke 1587FC or similar | $400-800 | Cable insulation integrity testing |
8.2 DIY Near-Field Probe Construction
For budget-constrained situations, an H-field (magnetic) near-field probe can be constructed:
Coaxial cable (RG-58 or RG-316)
|
| Strip outer jacket
| Expose braid 10-15 mm
| Form braid into small loop (10-15 mm diameter)
| Solder braid to itself to form closed loop
| Center conductor is not connected
| BNC connector at other end
This probe detects magnetic fields. Sweep it along cables and modules while watching the oscilloscope to locate noise sources. Sensitivity is lower than commercial probes but sufficient for identifying major problems.
9. Quick Diagnostic Flowchart
Symptom EMC Cause First Test Remediation
-----------------------------------------------------------------------------------------------
Intermittent sensor Common-mode noise Scope on analog input Fix shield termination
readings jumping terminals Re-route cable
Add ferrite core
-----------------------------------------------------------------------------------------------
POWERLINK node Ground loop on cable Measure AC voltage Verify equipotential
dropping out shield between cable shield bonding between cabinets
Shield not bonded and cabinet ground Replace with shielded cable
at both ends Add RC filter to jack shield
-----------------------------------------------------------------------------------------------
X2X stations DIN rail ground Scope on DIN rail Clean DIN rail contacts
disappearing impedance too high (rail to cabinet GND) Improve PE clip bonding
VFD noise on DIN rail Check during VFD start Separate X2X from VFD cables
-----------------------------------------------------------------------------------------------
Analog input Ground loop or Short AI terminals Check sensor grounding
noise/jitter poor shielding and observe noise Add/relocate shield
Reference ground Use isolated AI module
unstable
-----------------------------------------------------------------------------------------------
CAN bus error Missing termination Measure 60 ohm across Enable termination at both
frames, bus-off or shield CAN_H/CAN_L ends (X20IF2772 switch)
Cable damage with bus powered down Replace damaged cable
Bond shield to ground
-----------------------------------------------------------------------------------------------
Phantom digital Floating input Wire input to 0V Wire all unused inputs
input state changes EMI on unshielded and observe Use shielded cable
cable Increase filter time
-----------------------------------------------------------------------------------------------
Watchdog fault / Bus retries from Check cycle time Fix underlying EMC issue
cycle time exceeded EMI adding latency in logbook Increase watchdog timeout
Reduce bus loading
-----------------------------------------------------------------------------------------------
Ethernet link Cable/cable shield Try known-good cable Replace POWERLINK cable
dropout problem Check RJ45 seating Add ferrite core
Verify shield continuity
-----------------------------------------------------------------------------------------------
Motor cable Unshielded VFD Near-field probe at VFD Install shielded motor cable
radiating EMI output cable output Bond shield at both ends
Install dv/dt or sine filter
10. Cross-References
| Topic | File | Relevance |
|---|---|---|
| Analog signal noise and calibration | analog-calibration.md | ADC noise floor, analog input filtering, calibration procedures |
| Physical wire-level signal analysis | physical-layer-sniffing.md | Capturing and analyzing POWERLINK, X2X, and CAN physical signals |
| IO module signal conditioning | io-card-hardware.md | Digital and analog input filter circuits, threshold behavior |
| Encoder signal quality | encoder-diagnostics.md | Encoder cable shielding, differential signal integrity |
| POWERLINK communication diagnostics | powerlink-internals.md | POWERLINK frame structure, error detection, CRC analysis |
| X2X bus diagnostics | x2x-protocol.md | X2X packet structure, error handling, bus fault recovery |
| CAN bus error handling | if2772-canopen.md | X20IF2772 configuration, CAN error counters, termination |
| RS485 noise issues | serial-diagnostics.md | RS485/RS232 signal quality, noise diagnosis |
| Drive EMC considerations | acopos-drives.md | ACOPOS drive EMC installation, motor cable shielding |
11. Key Findings
-
DIN rail ground integrity is the single most important grounding point in an X20 system. The X2X Link uses the rail as its ground return. Poor rail contact causes X2X communication failures that mimic hardware faults.
-
POWERLINK cable shields must be bonded at both ends. Ethernet/POWERLINK standards and B&R guidelines require both-end shield bonding. The RC circuits in shielded RJ45 jacks prevent low-frequency ground loops while maintaining high-frequency EMC protection.
-
Analog input noise is almost always a grounding problem, not a calibration problem. Before recalibrating any analog input, verify shield termination and check for common-mode voltage between the sensor ground and the module ground.
-
90% of EMC problems in undocumented legacy machines trace to three root causes: missing shield termination, power/signal cable proximity violations, and DIN rail-to-cabinet ground impedance above 0.1 ohm.
-
The X20IF2772 has integrated termination resistors controlled by physical switches. Check that TERM CAN 1/2 LEDs are active at both ends of the CAN bus. Missing termination is the most common CAN bus fault.
-
Never leave digital inputs floating. A floating digital input acts as an antenna for EMI, causing phantom state changes. Wire all unused inputs to 0V.
-
Ground loop detection is a voltage measurement, not a continuity measurement. Measure AC voltage between suspected ground points with the system powered ON. Any reading above 100 mV AC indicates a ground potential difference that will cause EMC problems.
-
VFD output cables are the strongest EMI source in most industrial installations. Always use shielded motor cables with 360-degree shield bonding at both the VFD and the motor. Install EMC filters on VFD inputs.
-
The X20CP1584 provides galvanic isolation between Ethernet, POWERLINK, and X2X interfaces. This isolation prevents ground loops from propagating between bus systems through the CPU, but does not eliminate the need for proper shield bonding at each interface.
-
Document everything you find during an EMC audit. Undocumented machines will be serviced by the next person who has even less context than you. Photograph the cabinet layout, record all measurements, and note what you changed.
-
Use the 4-wire (Kelvin) method for ground impedance measurements below 1 ohm. Standard 2-wire multimeter measurements include test lead resistance and are unreliable for verifying the low impedances required by B&R grounding specifications.
-
Cable crossing angle matters. When signal and power cables must cross, crossing at 90 degrees reduces capacitive and inductive coupling by orders of magnitude compared to parallel routing. Even a few centimeters of parallel run can inject measurable noise.
12. Sources
Key Findings
-
Most intermittent B&R problems are grounding-related. Phantom sensor errors, random IO dropouts, and watchdog faults that look like software bugs are frequently caused by poor grounding, improper shield termination, or cable routing violations.
-
The X2X Link uses the DIN rail as a data path. X2X communicates at up to 10 Mbit/s through the DIN rail’s metal structure. Ground integrity of the rail directly affects IO module reliability — a loose rail clamp can cause X2X communication errors.
-
Shield termination at both ends (360-degree) is mandatory for POWERLINK and CAN. Pigtail shield connections are inadequate for high-speed fieldbus. Use B&R shield grounding clamps (X20AC0SG1) for proper 360-degree termination.
-
Cable segregation prevents crosstalk. POWERLINK, CAN, analog signals, and power cables must be routed in separate conduits or with adequate separation. Parallel routing of power and signal cables is the most common EMC installation error.
-
Systematic measurement beats guessing. Use a multimeter to verify ground continuity between all panels and the main ground bar before anything else. Then use an oscilloscope to check for high-frequency noise on signal shields. These two measurements catch 80% of EMC problems.
-
Star grounding is preferred over daisy-chain. Each panel and device should have its own ground conductor back to the main ground bar. Daisy-chained grounds create ground loops and unequal potentials.
B&R Documentation
- B&R Automation, X20 System User’s Manual, document MAX20. Sections: “Shielding and earthing”, “Mechanical and electrical configuration”, “Shield connection”. Available from br-automation.com downloads.
- B&R Automation, Installation / EMC Guide, document MAEMV. Comprehensive EMC installation guidelines for B&R industrial PCs, panels, and control systems. Available from br-automation.com downloads.
- B&R Automation, X20(c)CP158x and X20(c)CP358x Data Sheet, V1.56. Technical specifications for X20CP1584 CPU including power supply, interfaces, and grounding requirements. Available from br-automation.com.
- B&R Automation, X20IF2772 Interface Module Data Sheet, V2.23. CAN bus interface specifications, pinout, termination resistor details.
- B&R Automation, X20CA0E61 POWERLINK/Ethernet Cable product page. Cable specifications and ordering information.
- B&R Automation, X20AC0SG1 Cable Shield Grounding Clamp product page. Shield clamp specifications and installation.
EMC Standards
- IEC 61000-5-2: Electromagnetic compatibility (EMC) - Installation and mitigation guidelines - Part 5-2: Earthing and cabling.
- IEC 61131-2: Programmable controllers - Equipment requirements and tests.
- IEC 60364-4-41: Low-voltage electrical installations - Protection for safety - Protection against electric shock.
- IEC 60445: Basic and safety principles for man-machine interface, marking and identification - Identification of equipment terminals, conductor terminations and conductors.
- CiA DR-602: CAN in Automation - CAN bus cable recommendation.
- IEEE 802.3: Standard for Ethernet. Physical layer and shield termination requirements for 100BASE-TX.
- IEC 61800-5-1: Adjustable speed electrical power drive systems - Safety requirements - Electrical, thermal and energy.
Industry References
- Siemens, EMC - Technical Overview, document 103704610. General EMC installation guidelines applicable to all industrial control systems.
- ABB, Technical Guide No. 3: EMC-compliant installation and wiring for drives. VFD cable shielding and grounding best practices.
- SEW-Eurodrive, Notes on cable routing and shielding. Cable segregation and shield termination guidelines.
- InCompliance Magazine, “Where to Ground Cable Shields” article. Analysis of shield grounding methods for different cable types and signal frequencies.
Community Resources
- B&R Community Forum (community.br-automation.com): Practical discussions on POWERLINK, X2X, and CAN troubleshooting.
- B&R Automation Help (built into Automation Studio): Reference for X20 system configuration, error codes, and diagnostic procedures.