Main Type Overview

Overview

The Main type is a counter that uses up to 2 fast inputs, 2 regular inputs, and 2 reflex outputs.

Main Type Modes

The Main type supports the following counting modes on single phase (1 input) or dual-phase (2 inputs) pulses:

One-shot: In this mode, the counter current value register decrements (from a user-defined value) for each pulse applied to the A input until the counter reaches 0.

Modulo-loop: In this mode, the counter repeatedly counts up from 0 to a user-defined modulo value, then returns to 0 and restarts counting. In reverse, the counter counts down from the modulo value to 0, then presets to the modulo value and restarts counting.

Free-large: In this mode, the counter behaves like a high range up and down counter. Can be used with one encoder.

Event Counting: In this mode, the counter accumulates the number of events that are received during a user-configured time base.

Frequency meter: In this mode, the counter measures the frequency of events. Frequency is the number of events per second (Hz).

Optional Features

Optional features can be configured depending on the selected mode:

oHardware inputs to operate the counter (enable, sync) or capture the current counting value

oUp to 2 thresholds, the values of which can be compared.

oUp to 2 events (1 for each threshold) can be associated with external tasks

oUp to 2 reflex outputs

Performance

The maximum frequency with a Main type is 100 kHz.