Choosing Your Counter

Overview

Start the HSC configuration by choosing a counter type according to the application need.

In the Counters editor, select a Counting function from the list that offers the following types of counters:

oHSC Simple

oHSC Main Single Phase

oHSC Main Dual Phase

oFrequency Meter

oPeriod Meter

The Frequency Meter type and the Period Meter type are both based on an HSC Main type.

For each counter defined in the Counters editor, a default Instance name is assigned by EcoStruxure Machine Expert. This default Instance name is editable. You must use the instance name as an input to the function blocks affecting the counter.

Type and Mode Matrix

This table presents the different types and modes available:

Type

HSC Simple

HSC Main Single Phase

HSC Main Dual Phase

Frequency Meter

Period Meter

Mode

One-shot

X

X

Modulo-loop

X

X

X

Event Counting

X

Free-large

X

Edge to Edge

X

Edge to Opposite

X

HSC Simple

This table presents an overview of the specifications available in HSC Simple type according to the mode requested:

Feature

Function

One-shot Mode

Modulo-loop Mode

Counting mode

Count down

Count up

Enable with an HSC physical input

No

No

Synchronization / preset with an HSC physical input

No

No

Comparison function

No

No

Capture function

No

No

Trigger external event on stop

Yes(1)

No

(1)   TM3XFHSC202 modules only

HSC Main Single Phase

This table presents an overview of the specifications available in HSC Main Single Phase type according to the mode requested:

Feature

Function

One-shot Mode

Modulo-loop Mode

Event Counting Mode

Counting mode

Count down

Count up

Pulse counting during given time base (10 ms, 100 ms, or 1000 ms)

Enable with an HSC physical input

Yes

Yes

No

Synchronization / preset with an HSC physical input

Yes

Yes

Yes

Comparison function

Yes, 4 thresholds, 4 reflex outputs, and 4 external events(1)

Yes, 4 thresholds, 4 reflex outputs, and 4 external events(1)

No

Capture function

Yes, 1 capture register

Yes, 1 capture register

No

Trigger external event on stop

Yes(1)

No

No

(1)   TM3XFHSC202 modules only

HSC Main Dual Phase

This table presents an overview of the specifications available in HSC Main Dual Phase type according to the mode requested:

Feature

Function

Counting mode

Count up / down

Pulse / direction

Quadrature

Enable with an HSC physical input

Yes

Synchronization / preset with an HSC physical input

Yes

Comparison function

Yes, 4 thresholds, 4 reflex outputs, and 4 external events(1)

Capture function

Yes, 1 capture register

(1)   External events are supported by TM3XFHSC202 modules only.

Frequency Meter

This table presents an overview of the specifications available in Frequency Meter type:

Feature

Function

Counting mode

Pulse frequency in Hz with updated value available every time base value (10 ms, 100 ms, or 1000 ms)

Enable with an HSC physical input

Yes

Synchronization / preset with an HSC physical input

No

Comparison function

No

Capture function

No

Period Meter

This table presents an overview of the specifications available in Period Meter type according to the mode requested:

Feature

Function

Counting modes

Edge to edge: Measure the time between two events

Edge to opposite: Measure the duration of an event

Enable with an HSC physical input

Yes

Synchronization / preset with an HSC physical input

No

Comparison function

Yes, 4 thresholds, 4 reflex outputs, and 4 external events(1)

Capture function

No

Resolution

Duration counting with configurable resolution (0.1 µs, 1 µs, 100 µs, or 1000 µs)

Timeout

0...858993459, calculated using resolution units

0 means no timeout

Trigger external event at end of period

Yes(1)

(1)   External events are supported by TM3XFHSC202 modules only.