beautypg.com

Input debounce – Printronix PrintNet Enterprise User Manual

Page 217

background image

The Toolbar And Menus

217

Relays

This section has 8 icons, each representing a single output relay.

An active icon means that the relay will be active when the printer is
powered on. Click the icon to toggle the state.

Figure 188. Power-Up Configuration – IO Tab, Input Debounce

Input Debounce

When using mechanical switches it is possible that more than one event is
generated due to multiple contact detections. The solution to this undesired
effect is debouncing. Debouncing waits a specific amount of time after the first
contact has been detected before responding to the next contact.

Printer firmware that supports debouncing will apply a 30ms default debounce
time. However if this value is not enough for some mechanical and digital
switches such as optical sensors, debouncing may not be needed.

You can change the 30ms default value by setting a debounce time for each
input. Simply adjust the debounce time in steps of 1ms; a setting of 0 (zero)
means that debounce will be disabled. The maximum debounce value 65535.