Counters
Extended Counter Comparator
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.

Note: This block requires an Extended Counter v2 Function Block to be placed in the SFD or the Program Status will display Association Warning.

This block is used to compare the Output of the Extended Counter v2 to the value set for Compare Value. Counter is a pull-down menu that will display any available Extended Counter v2 Function Blocks that have been placed. Function is set to whether the comparison is Greater than or equal to (0) or Less than (1). Output is set High (1) when the condition of the comparison is met.
Availability
  • Available only in the dw2xx-v2 series products
  • Requires library: Process Control (option -05)
  • Firmware versions 0x2114 and later
savvy-SFD Graphic extendedCounterComp
Graphic with Parameters extendedCounterComp

Parameters

Counter Internal Parameter, Read-write, Function Block Association (signed 16-bit integer)

The Counter parameter associates this function block with an Extended Counter v2function block. If set to None, the smarty will report an AssociationWarning.
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 value.

0 = Low
1 = High
Compare Value Input, Read-write, Analog (32-bit IEEE-754 floating point value)
-2E9 to 2E9
Function Internal Parameter, Read-write, Boolean (signed 16-bit integer)
0 = ≥
1 = <