menu

This article describes the filter "Signal counter" of the ToolScope which can be used to achieve automatic counting of processes and workpieces based on the signal of a trigger.

Based on the trigger, the driver generates control signals. The name of the signal is configurable. By default, it is "Processing number". The ToolScope uses this to distinguish processes from each other.

In addition, two further "Serial number" and "Last processing number" signals are provided.

 

The driver is intended to be used in conjunction with the two display settings shown below (including set checkmarks).

 

If these settings have been made, the user will see a "Set process ID" button on the control panel. If the user then presses this button, he can view and modify the afore-mentioned signals.

 

 

The "Processing number" signal is increased by 1 in the event of a falling trigger.

If the "Last processing number“ signal is not equal to 0 AND the value of "Processing number" is greater than "Last processing number", then "Processing number" is reset to "1" and "Serial number" is increased by 1.

As an additional option, the counter can also be reset by a second trigger signal. To do this, set the checkmark next to "React to BCDTrigger" and enter both the BCD trigger and the trigger. With a falling flank of the BCD trigger, the counter then counts up until the trigger level is set to HIGH. With a falling flank of the trigger, the counter is reset to 1.

In both cases, the "Last processing number" and "Serial number" output signals can be deactivated by removing the checkmarks next to them accordingly.

The "Simple counter" signal filter is only visible if the internal "ShowDriverSimpleCounter0" setting is set to "true".