VisiLogic offers 24 built-in counters.
To count pulses without using a built-in counter, 'build' one by using the Increment function as shown below.

Note ♦ Do not use the Equal (=) function together with high-speed counter values, meaning the high-speed counters included in the controller's hardware. If the counter does not reach the value required by the Equal function during the actual program scan, the function cannot register that the value has been reached. Use functions Greater Than Or Equal To ( ≥) and Lesser Than Or Equal To ( ≤).