Counters
Extended Counter v2
Description Internally, the count can range from -2,000,000,000 to +2,000,000,000. Externally, -16,777,216 to +16,777,216 can be represented exactly; beyond that range may be rounded to multiples of powers of two.
Availability
  • Available only in the dw2xx-v2 series products
  • Requires library: Process Control (option -05)
  • Firmware versions 0x2105 and later
savvy-SFD Graphic extendedCounter2
Graphic with Parameters extendedCounter2

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 Input, Read-write, Analog (32-bit IEEE-754 floating point value)
-2E9 to 2E9
Compare Value Input, Read-write, Analog (32-bit IEEE-754 floating point value)
-2E9 to 2E9
Output Output, Read-only, Analog (32-bit IEEE-754 floating point value)
-2E9 to 2E9
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
Count Internal Parameter, Read-only, Analog (signed 32-bit integer)
-2000000000 to 2000000000