Counters
Extended Counter v1
Description

Extended Counter

Requires dwOption-05, Process Control.

A unipolar up / down counter capable of counts up to 655,359,999.

The value is contained in two adjacent parameters. The low count parameter counts 0 to 9,999. The high count parameter counts 0 to 655,350,000 in 10,000 count increments.

savvy and savvyPanel can show the combined count total as a single number.

A preset number input is provided.

A comparator is included with a boolean output.

Power-up clear, preset, or persistent count choice is available.

Availability
  • Available only in the dw2xx & dw2xx-v2 series products
  • Requires library: Process Control (option -05)
  • Firmware versions 0x2024 through 0x2104
savvy-SFD Graphic extendedCounter
Graphic with Parameters extendedCounter

Parameters

Up Clock Input, Read-write, Boolean (signed 16-bit integer)

Extended Counter - Up Clock

The count is incremented at the rising edge of this Boolean input.

0 = Low
1 = High
Down Clock Input, Read-write, Boolean (signed 16-bit integer)

Extended Counter - Down Clock

The count is decremented at the rising edge of this Boolean input.

0 = Low
1 = High
Enable Input, Read-write, Boolean (signed 16-bit integer)

Extended Counter - Enable

Clock inputs are ignored while this Boolean input is inactive, low.

0 = Disable
1 = Enable
Clear Input, Read-write, Boolean (signed 16-bit integer)

Extended Counter - Clear

The count is reset to zero while this Boolean input is active, high.

Clear takes precedence over Preset Enable.


0 = Inactive
1 = Clear
Preset Enable Input, Read-write, Boolean (signed 16-bit integer)

Extended Counter - Preset Enable

The count is set to the preset value while this Boolean input is active, high.

Clear takes precedence over Preset Enable so this input is ignored while Clear is active, high.


0 = Inactive
1 = Preset
Preset Value Low Input, Read-write, Analog (unsigned 16-bit integer)
0000 to 9999

Extended Counter - Preset Value Low

The four least significant digits of the preset value.

Preset Value High Input, Read-write, Analog (unsigned 16-bit integer)
0 to 65535

Extended Counter - Preset Value High

The five most significant digits of the preset value.

Compare Value Low Input, Read-write, Analog (unsigned 16-bit integer)
0000 to 9999

Extended Counter - Compare Value Low

The four least significant digits of the comparator preset value.

Compare Value High Input, Read-write, Analog (unsigned 16-bit integer)
0 to 65535

Extended Counter - Compare Value High

The five most significant digits of the comparator preset value.

Count Low Output, Read-only, Analog (unsigned 16-bit integer)
0000 to 9999

Extended Counter - Count Value Low

The four least significant digits of the count.

Count High Output, Read-only, Analog (unsigned 16-bit integer)
0 to 65535

Extended Counter - Count Value High

The five most significant digits of the count.

Compare Output Output, Read-only, Boolean (signed 16-bit integer)

Extended Counter - Compare Output

Active, high when the count value is greater than or equal to the comparator preset value.

0 = Low
1 = High
Power Up Preload Internal Parameter, Read-write, Enumerated (signed 16-bit integer)

Extended Counter - Power Up Preload

Choose Clear to reset the count to zero when the device powers-up.

Choose Preset to set the count to the preset value when the device powers-up.

Choose Persistent to maintain the last count when the device powers-up.


0 = Clear
1 = Preset
2 = Persistent