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.
- Review alarm texts, timing, and logic before the input is used in alarms or counters.
- Configure the digital input behavior first, then enable counter functions that depend on that same signal.
- Configure recipient delivery separately on Shared Runtime Recipients when digital input or counter alarms must be sent to users.
- Use DataGuard via Counters and Timers when a configured counter or operating-time timer must be logged or exported onward to Emiko. The same channel must have
TIN#greater than0before DataGuard can report it.
Best Practice
Digital inputs work with factory settings, but alarm texts, timing, and counter behaviour should always be reviewed for the installation.
- Add alarm texts before expecting the input to send meaningful messages.
- Configure the input logic before enabling counter functions.
- Alarm texts, timing, and counter settings only define channel behavior. If a digital input or counter alarm must be sent to someone, configure the recipient groups separately on Shared Runtime Recipients and Notifications.
Digital Input Alarm Texts
High Alarm Text
Create the text that should be sent when the input becomes active or high.
| 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.
| 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.
- Use this when a signal is unstable or where contact bounce should be ignored.
| 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.
0= NO1= 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 = NO1 = 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.
- Use it when a signal may be detected immediately, but should remain active for a longer confirmation period before being accepted as a real event.
| 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.
- Use it when the alarm should be registered internally at once, but the message to recipients should wait.
- This is useful where short service or transition states should not create unnecessary alarm messages.
| 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.
- The actual counter behaviour depends on the hardware and input function selected for the channel.
- For DataGuard counter/timer reporting,
TIN#must be greater than0on the same channel as the DataGuard reporting parameters.
| Index | Range | Format | Default | Example | |
TIN# |
1..16 | 0..2 |
0 = Disabled 1 = Use 2 = Use |
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.
| 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.
| 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.
- Use scaling when one pulse does not correspond directly to one physical unit.
- Example: if 10 pulses correspond to 1 kWh or 1 litre, use scaling so the reported value matches the wanted engineering unit.
| 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-time timer must be logged in DataGuard or exported onward to Emiko, continue on DataGuard via Counters and Timers.
- Use the same channel number in the source setup and the DataGuard reporting setup.
- Keep
TIN#greater than0for that channel. DataGuard does not report VRC/CN data from a disabledTIN#channel. - Configure input logic, counter enablement, start values, and scaling here before adding DataGuard reporting.
- Enable DataGuard reporting only when the counter or timer should produce history or data forwarding.
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 = Disabled1 = Minimum monitoring2 = Maximum monitoring3 = 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
- Define the input logic with
DRCONTACT#. - Add the high and low alarm texts.
- Set
DRT#if debounce filtering is needed. - Enable the counter with
TIN#greater than0if the channel should count or be reported through DataGuard. - Set start values with
TINH#andTINP#if existing values must be continued. - Apply
TINS#if the displayed unit should differ from raw pulses. - Configure DataGuard reporting only after the counter or timer value is correct, when the value must be logged or exported onward to Emiko.
- Use the
TINMON#family only when counter development must be monitored actively.