Is there some type of ON timer script that I can use for de-bouncing logic

I have bit which goes on/off rapidly as its sensor controlled (Part moves causes this). Is there a way I can do some tag change / timer event script that I can use to only trigger the bit when its continuously ON for certain seconds . Thanks

Does your sensor input come through a PLC or other logical controller? If so, that seems like the best place to handle debounce logic. There are too many variables that affect when tags turn on and off for me to confidently use Ignition for this purpose, particularly for something that switches rapidly.

Not for this application, unfortunately I don’t have a PLC for this.

A common hack for a timed event is to set an alarm on the tag, and have the script fire on alarmActive

2 Likes