BX-DM1E-36ER3
For bench testing prior to build, I connected WY1 to WX0 to simulate a potentiometer input.
While "running" I am getting glitches where the WX0 value is going negative (greater than 32767 as Unsigned value).
This shouldn't be happening with the clamps should it? With a scope I am seeing noise, but none of it appears to go negative polarity. It's about a 0.5 microsecond transient with peaks at 6.4 to 14VDC.
At 9.98VDC out, I don't see any PLC issues (noise is still there) but I do at 9.99VDC.
So even if I clean the noise up, why aren't the clamps preventing the input from being scaled to zero? It sure looks like an excessive positive value rather than an actual negative.
SO I changed the WX0 input to +/- 10VDC and the RX0 Min and Max to -100 to 100 and let the LERP clamp handle over-range and the problem goes away. Now I can see RX0 is actually bouncing to 100% during the noise events.
Noise is bad, but I didn't expect the unipolar to behave as it does. The noise is from a VFD with no motor and connected via ModbusTCP Cat5 through a switch across the room and back. The wiring from WY1 to WX0 is just 2 loose 12" wires about 3 feet from the VFD. Yes I know the wiring is not correct, but neither is the unipolar behavior I don't think.