Start the HSC configuration by choosing a counter type according to the type of sensor you are using and the application need.
In the Counter Function):
editor, select a from the list that offers the following types of counters (for more information, refer to the
The
type and the type are both based on an type.For each counter defined in the EcoStruxure Machine Expert. This default is editable. You must use exactly the same instance name as an input to the function blocks dealing with the counter.
editor, a default is assigned byThis table presents the different types and modes available:
Type |
|
|
|
|
|
---|---|---|---|---|---|
Mode |
|||||
|
X |
X |
– |
– |
– |
|
X |
X |
X |
– |
– |
|
– |
X |
– |
– |
– |
|
– |
– |
X |
– |
– |
|
– |
– |
– |
– |
X |
|
– |
– |
– |
– |
X |
This table presents an overview of the specifications available in
type according to the mode requested:
Feature |
Function |
|
---|---|---|
Mode |
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 |
This table presents an overview of the specifications available in
type according to the mode requested:
Feature |
Function |
||
---|---|---|---|
Mode |
Mode |
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, 2 outputs, and 4 events |
Yes, 4 thresholds, 2 outputs, and 4 events |
No |
Capture function |
Yes, 1 capture register |
Yes, 1 capture register |
No |
This table presents an overview of the specifications available in
type according to the mode requested:
Feature |
Function |
|
---|---|---|
Mode |
Mode |
|
Counting mode |
Count up / down Pulse / direction Quadrature |
Count up / down Pulse / direction Quadrature |
Enable with an HSC physical input |
No |
No |
Synchronization / preset with an HSC physical input |
Yes |
Yes |
Comparison function |
Yes, 4 thresholds, 2 outputs, and 4 events |
Yes, 4 thresholds, 2 outputs, and 4 events |
Capture function |
Yes, 1 capture register |
Yes, 1 capture register |
This table presents an overview of the specifications available in
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 |
This table presents an overview of the specifications available in
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 |
No |
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 |