night shift, old bale press. slc 5/04, rslogix 500, input card 1746-ib16 in slot 3. a limit switch on the ram frame tells the sequence the ram is home, i:3 removed link about one cycle in ten the sequence runs the compact step twice because the home switch flickers when the ram bangs into the stop, you can watch the input led blink.
tried a new limit switch, same, and moved it onto the second input point on the card, same again. someone on days said put a capacitor across the input, i don't want to do that without asking.
what's the simplest way to debounce this in the ladder? not the whole card, just this one input.
Seen it on a bale press. Before the code, how loose is the switch bracket? Grab it and shake. And is it a roller arm or a plunger?
roller arm. bracket has maybe a sixteenth of play, the bolt holes are worn oval. i'll tighten what i can tonight. still want it in the ladder too so it doesn't come back when the bracket loosens again.