Skip to main content
Skip table of contents

Pulse Counter

The pulse counter adds the pulses of the S0-interface, the arbitrary KNX-telegrams or the operation time of EIBPORT. S0-interfaces have every EIBPORT version 3, up from august 2012, as a standard feature. In case you like to upgrade your EIBPORT version 3 with a S0-interface, please contact info@bab-tec.de.

To count pulses of a S0-interface, it is necessary to connect them correctly. Please consider following wiring diagram:

image-20250625-195838.png

S0-connection schematic

(1) Reed-contact to be placed on the counter.

(2) e.g., ELTAKO Single-phase Energy Meter WSZ12D-32A

(3) Power Supply 24V DC

(4) S0 pulse input terminal for analysing measured value

(5) Terminal for S0 pulse input Power Supply 24V DC

The access to several S0-interfaces takes place in the job mask by respective menu.

Job configuration

To apply a new pulse counter job, either button in menu bar of job editor or the right click on the job container (β€œpulse counter”) can be used. In case, that you haven`t use a S0 interface, you can utilize the job for counting KNX-telegrams or for counting the operation time of EIBPORT (β€œpower on timeβ€œ)

Job Name

Required field. Assign a unique name for the job. The name must not contain more than 15 characters.

Job Editor Classic - Job mask pulse counter

Release object

By release object, job will be released or blocked. It is an EIS1 object.

  • Group address not assigned = Job released

  • Group address registered, value 1 = Job released

  • Group address registered, value 0 = Job blocked

  • Group address registered, no value = Job blocked

As soon as one address was entered in the field, release will work accordingly to the group address’s value. When no value was sent to the address up to this point and therefore address is without a value, job will be blocked.

Source

Here please define the source of pulses, which shall be counted. For selection:

  • KNX: Job will count the number of an arbitrary KNX telegram (thereby data type doesn`t play any role).

  • S0 #1 -#4: Job will count So-pulses of the So-terminals connected units. Numbering β€ž#1-#4β€œ is the result of the unit`s labelling. By connecting So-units, please consider wiring diagram as shown above.

  • Power on timer: In this case, job will reproduce operating time in seconds of EIBPORT since its initial commissioning.

By source selection, differences arise for the choice of parameters. These are marked in the description of parameters and will be greyed out in the job mask by configuration.

Parameter

All parameters of the pulse counter jobs in job mask are described top down as follows. One illustration example of a configuration, you will find at the end of this chapter.

Input address

This field will be enabled only by source selection β€œKNX”. The numbers of telegrams are counted which will reach this group address. Thereby, EIS-type (data type) is not relevant.

Value request

This object serves for the request of actual count and state values. This object can include one arbitrary data type, only the input of a telegram will be rated. Requested values will be sent to the objects β€œCounter” and β€œValue” (see Description further down).

Watchdog Interval / Watchdog Output

If no pulse will receive the source β€žInput addressβ€œ (KNX) or β€žS0β€œ (So#1-#4) during this interval, job will sent out a telegram to the output β€žWatchdog outputβ€œ to notify one faulty or misconfiguration.

Prescaler

The pre-scaler can be used to convert directly between the units. If, for example, a pulse counter gives a pulse per Wh then this can be converted directly into kWh with a pre-scaler of 1000.

Main counters settable?

This field only will be enabled by the source selection β€žKNXβ€œ or β€œSo #1- So #4”. If this flag is set, the unscaled counter value of the main counter can be set to an arbitrary value, by the help of the object β€œcounter setting”. Also see the description of β€œcounter setting”.

ZZ reset value

The intermediate counter (ZZ) will be reset to the here entered value, as soon as an EIS1 telegram will be detected on the group address under menu β€žZZ resettingβ€œ. See also β€œZZ resetting”.

Transmission only by modification

This field will be enabled only by source selection β€œKNX β€œ or β€œS0#1 – S0#4”. If this flag is active, job will send values as soon as they were modified towards previous values. Please consider here the specification of the pre-scaler. Is the actual value of the pre-scaler = β€ž1β€œ, counter will reproduce every pulse, because the counter value changes after every pulse. But is the actual value of the pre-scaler = β€œ10”, counter value will alter after every 10th pulse, in order that, the sending will happen only then. Did you select β€œpower on timer” for the source, the menu item β€œSending only in case of change β€œ can`t be used. This option can be adjusted separately for main or intermediate counters.

Periodically transmission

By setting this flag, job sends initial values periodically in an interval, which was preadjusted under menu item β€žtransmission intervalβ€œ. This option you can be adjusted separately for main or intermediate counters.

This option can be adjusted separately for main or intermediate counters.

Transmission interval

Please enter here the interval in seconds, in which job will send out initial values. Transmission interval can be adjusted separately for main or intermediate counters.

Counter setting

This field will be enabled only by source selection β€œKNX β€œ or β€œS0#1 – S0#4”. By this object, main counter can be reset to desired value as soon as flag β€œmain counter settable” is activated. In doing so, data type of the object refers on the data type, which are adjusted in the job for the unscaled counter values (β€œCounter EIS”). That only applies for the main counter. The intermediate counter only could be reset, see β€œZZ reset value” and β€œZZ resetting”.

Counter

By help of the entered group address here, the unscaled counter value will be sent with the also selected data type. The data type can be defined in the field below β€œCounter EIS”. Main und intermediate counter must get different group addresses.

Counter EIS

Please select here the data type for the unscaled counter value, which will send to the group address in field above. Possible data types are:

  • EIS 10u (2 byte value unsigned) = value from 0 - 65.535

  • EIS 11u (4 Byte Wert unsigned) = value from 0 - 4.294.967.295

  • EIS 14u (1 Byte Wert unsigned) = value from 0 - 255

This option can be adjusted separately for main or intermediate counters.

Value

By the help of the used group address here, the scaled counter value is sent. In the process the β€œvalue” will be multiplied by the β€žfactor of valueβ€œ and added with β€žvalue offsetβ€œ Data type will be defined by β€œvalue EIS”. Main and intermediate counter must get different group addresses.

Value EIS

Please enter here data the type of the value, which will sent out by the group address in field β€žvalueβ€œ It is a matter of a scaled counter value. Possible data types are:

  • EIS 5 (2 byte floating point value)

  • EIS 9 (4 byte floating point value)

This option can be adjusted separately for main or intermediate counters.

Factor value / Offset value

To get the scaled counter account β€žvalueβ€œ, the value of the counter has to be multiplied with factor und added with offset. This option can be adjusted separately for main or intermediate counters.

Example: To convert an unscaled counter value (Wh pulses) to KWh, a factor of β€žo,001β€œ has to be filled in.

Overflow

According to selection of data type, the unscaled counter value β€žcounterβ€œ exceeds the maximum value. These are for EIS 14 = 255, for EIS 10 = 65535 and for EIS 11 = 4.294.967.295. If these values are exceeded, counter will restart from zero. Simultaneously one EIS 1 telegram with value of β€ž1β€œ will be sent to the group address β€žOverflowβ€œ , to inform of counting in the overflow.

ZZ counting direction

This field is unique to the intermediate counter (ZZ). By an EIS 1 telegram to this group address, the counting direction can be adjusted. Thereby it is valid:

  • Value β€ž1β€œ = intermediate counter enumerates forwards

  • Value β€ž0β€œ = intermediate counter enumerates backwards

Please note: If the group address has not got a value, object will work as a value of β€ž0β€œ, the intermediate counter also will enumerate backwards.

ZZ reset

This field is unique to the intermediate counter (ZZ). By an EIS 1 telegram with value β€œ1”, intermediate counter can be reset to the under β€œZZ reset value” determined value. A telegram with value β€œ0” has no function.

ZZ start / stop

This field is unique to the intermediate counter (ZZ). The intermediate counter can be started or stopped by an EIS1 telegram to this group address. Thereby it is valid:

  • Valueβ€œ1β€œ = intermediate counter starts

  • Value β€ž2β€œ = intermediate counter stops

Example: Measuring energy consumption

To use pulse counter job for a counter of energy consumption in kWh, example configuration might look as follows:

  1. Please connect the pulser to the So terminal of EIBPORT (see connecting diagram). The pulser is connected for example to So #1 und will send a pulse for every Wh.

  2. Please change the job mask and apply a new pulse counter job with following parameters:

    1. Source= S0 #1

    2. Pre-scaler = 1

    3. ZZ reset value = 0

    4. Transmit by modification of HZ = ON

    5. Counter = 16/0/1

    6. Counter EIS = EIS 11u

    7. Value= 16/0/2

    8. Value EIS = EIS 9 FP

    9. Value factor = 0.001

    10. Value offset = 0

Example configuration pulse counter job

In order that, pulse counter enumerates Wh pulses of the unit, connected to S0#1 and will reproduce unscaled counter values (number of pulses) of GA16/0/1. To the address 16/0/2, the scaled counter value (also number of pulses multiplied with 0.001) will be reproduced. Because of factor 0.001, it isn`t about Wh, but KWh.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.