Short answer: the valve switching couples into the expansion board's signal cable, and you stop it in three moves. Fit a 0.1 µF + 220 Ω RC network across the switched valve circuit at the contactor, keep those conductors at least 4 in [100 mm] from the expansion cable or behind a grounded metal barrier, and bond the 0 V reference where the board documentation puts it. The worked example assumes a 24 VAC, 60 Hz supply and a valve drawing about 190 mA holding and 350 mA inrush; where your datasheet differs, the arithmetic shows which figures to replace.
Why do the expansion inputs misread only when the valve supply is on?
Because the expansion cable is the longest, most sensitive receiver in the panel, and the switched 24 VAC conductors are the one source that appears when you enable that supply; the cabinet can be perfectly grounded while all the coupling happens inside it.
Match the symptom to the path before you change anything:
| What you see | Where it points |
|---|---|
| One expansion input flips while its field device sits steady | Pickup on that channel's wire, usually along a shared duct run |
| Several inputs shift together | The board's 0 V reference is moving, not the individual signal wires |
| The LCD hangs or the program jumps when a valve switches | The transient reaches the controller's supply or reference, not just one channel |
| Trouble nearly disappears with the expansion board disabled | The path runs through the expansion cable or its reference wiring |
| A valve releases late after suppression was added | Suppression landed on the wrong element or is sized wrong for the circuit |
One flipping input plus an LCD hang together means the disturbance is bigger than one channel's filter absorbs, so the fix belongs at the source, not in the program.
What path does the noise take from the valve circuit?
Capacitive coupling between the valve conductors and the signal cable is the most likely path, then a shifting 0 V reference, then pickup conducted on shared wiring; check them in that order.
When the contactor opens, the coil current collapses within microseconds and the coil's inductance drives a voltage spike across the opening contact. That edge couples across the few picofarads between parallel wires — coupled current equals capacitance times the rate of voltage change — and inductively along a shared run. Wire and reference are the same two paths behind common mode noise on PLC inputs.
In order of likelihood for a panel like this:
- Valve conductors sharing a duct or bundle with the expansion cable.
- The expansion board's reference sharing copper with a conductor that carries valve current.
- A relay coil switched by the controller adding its own transient onto shared control power.
- Radiated pickup inside the cabinet, rare when the shell is bonded metal.
Digital inputs are typed 1, 2 and 3 under IEC 61131-2, which defines the disturbance levels a conforming input must ride through on its own terminals. That test does not model a contact transient running millimetres from the board's reference, so a compliant input can still flip in a tightly wired panel.
How do you find which channel and which edge is disturbed?
Cycle each valve by hand at the contactor while watching the input indicators, and record the channel plus whether it flips on energize, on release or both; the release edge causes most of the trouble, because that is where the coil current is interrupted.
Use the controller's input status display if it has one. A handheld meter updates a few times per second while the transient lives for microseconds, so the meter reads clean as the input flips; an oscilloscope probe on the suspect terminal, measured against its reference, shows the edge. Capture a baseline with the valve supply off, then run the same test with it on. Change one thing at a time and repeat the identical test after each change, or the result will not tell you which change paid.
How far apart do the valve and signal cables need to be?
Keep at least 4 in [100 mm] of free air between the valve power conductors and the expansion signal cable, put a grounded metal barrier between them where space is short, and cross at 90 degrees where they must cross.
Parallel distance is what couples, and that figure holds for panel-scale runs at this current, under an amp. A longer shared run wants more distance or its own duct. Route the valve wiring in its own wire duct with a steel divider bonded to the mounting plate, or into a separate compartment; the slots in slotted duct shield nothing. The same rule with the reasoning behind it is in running 24 V control wire beside 120/208 V power wiring, and the duct-by-duct layout in panel cable segregation: separate analog, digital and power wiring. Lock out the valve supply and confirm absence of voltage before you move any conductor.
Where do the GND and shield bonds land?
Bond the expansion board's GND to the controller's 0 V reference exactly as the board documentation shows, and keep the cabinet on its equipment grounding conductor; a new ground rod adds nothing to this problem.
The rod advice treats the soil as a signal reference, and it is not one. NEC 250.54 makes a rod driven next to an enclosure an auxiliary electrode: it may connect to the equipment grounding conductor and it never replaces it. NEC 250.4(A)(5) says the earth is not an effective ground-fault path. What your inputs compare against is the controller's 0 V wiring, so that bond is the one to get right. Size the equipment grounding conductor from the overcurrent device ahead of it with NEC Table 250.122, which gives 14 AWG copper for a 15 A branch. An improvised GND-to-earth jumper can route valve current through the reference instead of quieting it; the same reasoning settles whether to bond the control common when a drive runs and the PLC 0 V floating case. The enclosure-side connections are in the enclosure grounding and bonding guide.
What RC snubber fits a 24 VAC valve circuit?
Start with 0.1 µF in series with 220 Ω across the contactor's switched output, the line that feeds the valve coils; at 60 Hz the network is almost invisible to the valve and it takes the edge off the interruption.
Put suppression at the contactor or at the coil, never as components hanging on the PLC input terminals, where they only load and slow the signal. If a small DC relay drives the contactor coil, suppress that coil by its own datasheet method as well.
How do you check the snubber values for your valve?
Example valve: 24 VAC, 60 Hz, 190 mA holding, 350 mA inrush. Replace those with your datasheet figures and redo the four lines.
- Reactance: Xc = 1 / (2π × 60 Hz × 0.1 µF) ≈ 26.5 kΩ, so the 220 Ω hardly counts.
- Leakage, contact open: 24 V ÷ 26.5 kΩ ≈ 0.9 mA, about 0.5 % of the 190 mA holding current, so the valve still drops out.
- Time constant: R × C ≈ 22 µs, far shorter than any solenoid's mechanical release, so release timing is unchanged.
- Dissipation: (0.9 mA)² × 220 Ω ≈ 0.18 mW steady. Each switching event adds ½CV² = 0.5 × 0.1 µF × (34 V)² ≈ 58 µJ, which is 0.6 mW even at 10 events per second; a 0.25 W resistor runs cold.
The supply peaks at 34 V, so a 100 V-rated part has three times margin; the choice between film and ceramic for snubber duty is its own decision, covered in choosing film versus ceramic snubber capacitors. A bigger valve or a faster cycle rate moves the resistor's heating and the stored energy, so redo the four lines with your figures. If one input still flips after the separation and this network, put a second network at that valve's coil, which shortens the loop the transient drives.
How do you confirm the fix and stop it coming back?
Run the identical valve-cycling test again: every expansion input follows its field device, the LCD stays up, and each valve energizes and releases on time through at least ten cycles per valve, on both edges.
- Watch each expansion input across the ten cycles; a channel that flips while its field device sits still means the path is still open.
- Time valve release against the pre-fix behavior; a shift beyond the mechanical spread points at the suppression.
- Leave the valve supply enabled through one full production sequence before you close the door.
To keep it fixed, write the spacing rule and the valve-duct assignment onto the wiring drawing so the next modification inherits them. Add the snubber to the bill of materials, one per contactor, and to the spares list. When a valve is added later, its conductors go into the valve duct beside the barrier, never into the signal duct.
When does the fix call for a different enclosure?
Only when the panel is too tight to hold the spacing, or the shell is plastic: a bonded stainless box buys shielded volume and room for separate duct runs, while the noise itself is fixed in the wiring.
A stainless shell bonded to the equipment grounding conductor keeps outside noise out and radiated valve noise in. Cable-to-cable coupling inside the box ignores it, as grounded versus floating metal enclosure for low-noise signals works through, so re-specify for space. Two 2 in ducts, the 4 in gap, a 6 in component band and edge margins add to about 16 in of plate width; below that, the controller, the contactor and both ducts will not fit the rule. A 24 x 24 x 10 in [610 x 610 x 250 mm] 304 stainless wall-mount enclosure, 23.88 x 23.88 x 9.88 in inside, holds both runs with room for a bonded divider. It is rated NEMA 4X / IP66 by the manufacturer; not UL listed, and delivered in 10 business days. See the wall-mount enclosure range or the 24 x 24 x 10 in 304 stainless box.
Enclosures in this article
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 24 × 24 × 10 in | 304 stainless | 24 x 24 x 10 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Does the RC network keep the valve energized when the contactor opens?
No. With the contact open the network passes about 0.9 mA against a holding current near 190 mA, under 0.5 %, so the coil cannot stay pulled in and the valve releases as before. On reclosing, the resistor limits the capacitor's discharge spike, so the contact sees the normal inrush, about 350 mA for the example valve, plus only a brief extra pulse.
Why does the LCD hang as well as the inputs flipping?
The transient is reaching the controller's reference or supply rail, not only one input channel. Set an input filter to 10 ms and it ignores anything shorter, so a 22 µs edge vanishes from the channel, but the same edge still lands on the reference and the display, which the filter leaves unprotected. That symptom moves the fix from input settings to suppression at the contactor, where the edge is born.
What changes if the valves are switched by triac outputs instead of a contactor?
Keep the network, and check the off-state voltage across the coil. The snubber's 0.9 mA through a coil of roughly 126 Ω, the supply voltage over its holding current, leaves about 0.1 V across the valve, far too little to hold it, and the network also protects a triac from dv/dt retriggering. Measure the coil voltage with the output off; anything near the full supply voltage means leakage is holding the valve.
Should the expansion cable be a shielded cable?
Yes, when the route cannot hold the spacing: use shielded twisted pair with an 85 % coverage braid, and land the shield at the controller end alone, unless the board documentation bonds it at both ends. The shield intercepts the capacitive current headed for the signal conductor and diverts it to the reference. It backs up good routing rather than replacing it, because a shield does little against the magnetic part of an edge from a cable running right beside it.





