Shared Runtime Digital Inputs and Counters

Use this page to configure shared runtime digital inputs and the counter functions that build on those digital input signals.

Best Practice

Digital inputs work with factory settings, but alarm texts, timing, and counter behaviour should always be reviewed for the installation.

Digital Input Alarm Texts

High Alarm Text

Create the text that should be sent when the input becomes active or high.

Parameter

Index Range Format Default Example
DRH# 1..256 ASCII Text (average length is max. 38 characters)

DRH1 Pumpe startet

Low Alarm Text

Create the text that should be sent when the input returns low or inactive.

Parameter

Index Range Format Default Example
DRL# 1..256 ASCII Text (average length is max. 38 characters)

DRL1 Pumpe stoppet

Input Timing and Logic

Input Timer

Use the input timer to delay registration of a signal change. If the timer is set to 2 seconds, the input must keep the same state for at least 2 seconds before the change is accepted.

Parameter Index Range Format Default Example
DRT# 1..28 0..127 Number of seconds 0 DRT1 2

Input Type

Use DRCONTACT# to define whether each digital input should be interpreted as NO or NC.

Use this when the field contact or relay works opposite to the default logic.

Parameter Index Range Format Default Example
DRCONTACT# 1..127 0..1 0 = NO
1 = NC
0 DRCONTACT1 1

Delay After First Detection

DRTV# adds an extra delay after the first detection of an active alarm. The range is 0..127 seconds.

Parameter Index Range Format Default Example
DRTV# 1..127 0..127 Seconds 0 DRTV1 10

Delay Before Sending

DRTH# delays the actual sending of a registered alarm. The range is 0..127 seconds.

Parameter Index Range Format Default Example
DRTH# 1..127 0..127 Seconds 0 DRTH1 30

Counter Enablement and Start Values

Counters use the underlying digital input signals. Configure the input logic first, then enable the counter behaviour where needed.

Enable Counter

Enable the counter for the relevant digital input channel.

Parameter

Index Range Format Default Example
TIN# 1..16 0..2

0 = Disabled

1 = Use VRC and VRCT

2 = Use VRCT only

Note: Runtime applies TIN# 1 high-speed counter binding without requiring a restart.

Note: DataGuard counter/timer reporting requires TIN# to be greater than 0 on the same channel.

0 TIN1 2

Set Hour Counter Value

Set a starting value or reset the hour counter. Use this when runtime should continue from a known operating-hour value.

Parameter

Index Range Format Default Example
TINH# 1..16 0..2147483647 Number of seconds 0 TINH1 1200

Set Total Counter Value

Set a starting value or reset the total counter. Use this when runtime should continue from an existing pulse or totalized value.

Parameter

Index Range Format Default Example
TINP# 1..16 0..2147483647 Number of pulses 0 TINP1 1200

Counter Scaling

TINS# scales the counter value. The range is 1..32767.

Parameter Index Range Format Default Example
TINS# 1..127 1..32767 Scaling factor 1 TINS1 10

Report Through DataGuard

This page owns the digital input, counter, and timer source setup. If a configured counter or operating-hours timer must be logged in DataGuard or exported onward to Emiko, continue on DataGuard via Counters and Timers.

Counter Surveillance

Runtime can monitor whether a counter changes too little or too much within a defined period.

Monitoring Type

Use monitoring type to define whether runtime should monitor minimum change, maximum change, or both.

Parameter Index Range Format Default Example
TINMON# 1..32 0..3 0 = Disabled
1 = Minimum monitoring
2 = Maximum monitoring
3 = Minimum and maximum monitoring
0 TINMON1 3

Monitoring Period

Use monitoring period to define the evaluation window for the selected counter monitoring type.

Parameter Index Range Format Default Example
TINMONT# 1..32 0..32767 Monitoring period 0 TINMONT1 60

Minimum Allowed Change

Use minimum allowed change only when the channel must alarm if the counter changes too little during the monitoring period.

Parameter Index Range Format Default Example
TINMONMIN# 1..32 0..32767 Minimum allowed change in the monitoring period 0 TINMONMIN1 5

Maximum Allowed Change

Use maximum allowed change only when the channel must alarm if the counter changes too much during the monitoring period.

Parameter Index Range Format Default Example
TINMONMAX# 1..32 0..32767 Maximum allowed change in the monitoring period 0 TINMONMAX1 100

Alarm Text for Counter Surveillance

Use a clear alarm text so the recipient can identify which counter is outside the expected range.

Parameter Index Range Format Default Example
TINMONTXT# 1..32 Text Alarm text for counter monitoring Empty TINMONTXT1 Counter too low

Recommended Order

  1. Define the input logic with DRCONTACT#.
  2. Add the high and low alarm texts.
  3. Set DRT# if debounce filtering is needed.
  4. Enable the counter with TIN# greater than 0 if the channel should count or be reported through DataGuard.
  5. Set start values with TINH# and TINP# if existing values must be continued.
  6. Apply TINS# if the displayed unit should differ from raw pulses.
  7. Configure DataGuard reporting only after the counter or timer value is correct, when the value must be logged or exported onward to Emiko.
  8. Use the TINMON# family only when counter development must be monitored actively.

Public revision 21/05/2026