DataGuard via Counters and Timers

Use this page when a configured digital input counter or operating-time timer must be logged in DataGuard or exported onward to Emiko.

The counter and timer source setup is documented on Shared Runtime Digital Inputs and Counters. This page explains when DataGuard is needed and owns the DataGuard reporting parameters for counter and timer values.

Use DataGuard via Analog Inputs when the value comes from a physical analog input. Use DataGuard via 1-Wire when the value comes from a mapped 1-Wire sensor channel. Use DataGuard via Driver Communication when the value comes from a configured driver profile.

Complete Setup Workflow

When DataGuard is Needed

Activation Rules

A DataGuard counter/timer row is active only when the same channel has enabled counter/timer source setup, a valid equipment type, supported data type selector, periodic log mode, and log interval.

Supported Counter and Timer Selectors

VRCDATATYPE# selects either one counter/timer data type or the supported package that sends both values from the same channel.

Selector Values sent Use
1001 Operating-time timer as DTY 1001 Use when runtime or active-time seconds should be logged.
1004 Pulse counter as DTY 1004 Use when pulse count or totalized counter value should be logged.
8003 QC as DTY 1007, pulse counter as DTY 1004, and operating time in seconds as DTY 1001 Use when both values from the same channel/slot should be sent together as one package selector.
9008 Wind-speed child values: DTY 1122, 1123, 1124, 1104, and 1105 Use for the Thies 4.3519 counter-based wind-speed package.
9010 Wind-speed child values: DTY 1122, 1123, 1124, 1104, and 1105 Use for the NRG 40C counter-based wind-speed package.
9011 Wind-speed child values: DTY 1122, 1123, 1124, 1104, and 1105 Use for the NRG 40H counter-based wind-speed package.
9009 Rain-gauge child values: DTY 1125, 1107, 1126, 1127, and 1128 Use for the Pronamic / Rain Gauge Professional package with VRCPROFILE#=2..5.

Selector boundary: 8003, 9008, 9009, 9010, and 9011 are setup selectors and are not emitted as payload DTY values. When a package includes QC, the QC child value is sent first.

Counter/VRC prerequisites: Supported wind-speed and rain selectors require a supported X32/NX32/NX32L high-speed counter path, TIN#=1, selector-specific VRCPROFILE#, VRCLOGMODE#=1, and periodic logging. Wind-speed selectors use profiles 1, 6, or 7; rain selector 9009 uses profiles 2..5.

Installed sensor check: The selector value does not identify the physical sensor by itself. Confirm the installed sensor and wiring from the WeatherStation delivery or installation record before selecting a profile.

Wind-speed slot limit: v1 supports a maximum of two active wind-speed VRC slots across selectors 9008, 9010, and 9011. Additional active wind-speed slots cannot allocate the running calculation and report QC.

Rain-gauge setup: For WeatherStation rain-gauge selector 9009 with Pronamic / Rain Gauge Professional on a supported X32/NX32/NX32L high-speed counter target, use TIN#=1, VRCEQT#=23, VRCDATATYPE#=9009, VRCPROFILE#=2..5, VRCLOGMODE#=1, and VRCLOGINT#=13 for 10-minute reporting (RR_10MIN).

WeatherStation Profile Values

VRCPROFILE# selects the supported profile for the WeatherStation counter-based selectors.

Profile value Required setup pair Use
1 VRCDATATYPE#=9008 + VRCPROFILE#=1 Thies 4.3519 WeatherStation wind-speed profile.
2 VRCDATATYPE#=9009 + VRCPROFILE#=2 Rain gauge with 0,2 mm/tip.
3 VRCDATATYPE#=9009 + VRCPROFILE#=3 Rain gauge with 0,1 mm/tip.
4 VRCDATATYPE#=9009 + VRCPROFILE#=4 Rain gauge with 0,25 mm/tip.
5 VRCDATATYPE#=9009 + VRCPROFILE#=5 Rain gauge with 0,5 mm/tip.
6 VRCDATATYPE#=9010 + VRCPROFILE#=6 NRG 40C WeatherStation wind-speed profile.
7 VRCDATATYPE#=9011 + VRCPROFILE#=7 NRG 40H WeatherStation wind-speed profile.

WeatherStation Wind-Speed Calculations (9008, 9010, 9011)

Selector 9008 calculates wind speed from high-speed counter frequency using the Thies 4.3519 v1 profile selected by VRCPROFILE#=1. The released profile uses 11 pulses/rev, a valid frequency range of 2..630 Hz, and the formula V = 0.07881 * f + 0.32, where f is frequency in Hz.

The controller stores wind-speed values as m/s x 0,01. The code path calculates speed_x100 = 32 + ((delta*7881 + elapsed*500)/(elapsed*1000)). Zero pulses and pulses below the start threshold are accepted as 0,00 m/s. Counter reset/backwards, invalid sample interval, over frequency range, and over accepted wind-speed range set QC.

Selectors 9010 and 9011 use the NRG wind-speed profile formula m/s = Hz * 0,765 + 0,35. The controller stores the calculated value as m/s x 0,01, so 0 Hz is sent as payload value 35. The NRG sensor cap is 125 Hz; lower RTCU/PCT target caps may still set QC before that sensor cap.

The rolling outputs are 2-minute mean and gust plus 10-minute mean and gust. The selector sends DTY 1122 for QC/status, 1123 and 1124 for 2-minute values, and 1104 and 1105 for 10-minute values. For normal WeatherStation wind-speed and gust values, use DTY 1104 and 1105.

WeatherStation Rain-Gauge Calculation (9009)

Selector 9009 calculates interval precipitation for Pronamic / Rain Gauge Professional from accepted high-speed counter pulse delta and the selected tip-size profile. VRCPROFILE#=2..5 maps to 0,2, 0,1, 0,25, and 0,5 mm/tip.

The interval precipitation is sent as DTY 1107 in mm x 0,01. The calculation also sends DTY 1125 for QC/status, 1126 for accepted pulse delta, 1127 for current counter total, and 1128 for selected tip size in 0,001 mm/tip. Invalid elapsed time or more than 12 tips/min sets QC bit 32.

Product Paths That Use Counter and Timer DataGuard

Use the product page first when the counter or timer value belongs to a product-specific setup. Use this page for the shared DataGuard reporting parameters.

Product path Counter source DataGuard values Product setup
Standalone DataGuard Digital input pulse counter or operating-time timer. VRCEQT#=35 and VRCDATATYPE#=1001, 1004, or 8003. This page
WeatherStation wind speed Thies 4.3519 wind-speed sensor on supported X32/NX32/NX32L high-speed counter input. VRCEQT#=23, VRCDATATYPE#=9008, VRCPROFILE#=1, VRCLOGMODE#=1. WeatherStation DataGuard setup
WeatherStation wind speed NRG 40C wind-speed sensor through signal conditioning or a verified clean countable pulse path. VRCEQT#=23, VRCDATATYPE#=9010, VRCPROFILE#=6, VRCLOGMODE#=1. WeatherStation DataGuard setup
WeatherStation wind speed NRG 40H wind-speed sensor with external supply and pull-up wiring for the open-collector Hall output. VRCEQT#=23, VRCDATATYPE#=9011, VRCPROFILE#=7, VRCLOGMODE#=1. WeatherStation DataGuard setup
WeatherStation rain gauge High-speed counter input from a supported tipping-bucket rain gauge. VRCEQT#=23, VRCDATATYPE#=9009, VRCPROFILE#=2..5, VRCLOGMODE#=1, VRCLOGINT#=13. WeatherStation DataGuard setup

Typical Uses

Worked Example

This example shows a standalone DataGuard unit with a pulse input on channel 1, where both the pulse counter and operating-time timer are reported under DataGuard equipment.

Counter and Timer Source Prerequisites

Configure the source first. The DataGuard parameters on this page do not create the underlying counter or operating-time timer value.

DataGuard Reporting Parameters

Configure these parameters after the digital input counter or operating-time timer source is working correctly.

Equipment Type

Select which Emiko equipment type should own the reported counter or timer value. For a standalone DataGuard installation, use the DataGuard EQT value.

Parameter Index Range Format Default Example
VRCEQT# 1..8 0..35

0 = None (disabled)

1..35 = EQT value for the equipment in Emiko

Defined EQT IDs in this software:
1 = MarinePro (MAP)
2 = EnergyLogger (ENL)
3 = GateKeeper (GKE)
4 = SmartCharger (SMC)
5 = WaterStation (WAS)
6 = ShoreSupply (SSU)
7 = ReeferPedestal (REP)
10 = NaviLight (NLI)
11 = OnSiteLight (OSL)
12 = FlexGuard (FLG)
14 = EasyPump (EYP)
17 = EasyWash (EWA)
19 = Marinella (MAL)
20 = OceanWatcher (OWA)
21 = ServiceTower (SET)
22 = Marineium (MAU)
23 = WeatherStation (WST)
24 = Lantern (LNT)
25 = MarineMax (MMA)
26 = Gate2Gate (G2G)
31 = PowerGuard (PWG)
32 = TallyKey (TAL)
33 = Beas (BEA)
34 = DockPoint (DOP)
35 = DataGuard (DAG)

0 VRCEQT1 35

Data Type or Package Selector

Select whether the channel sends the operating-time timer, the pulse counter, or both values as one supported package.

Parameter Index Range Format Default Example
VRCDATATYPE# 1..8 supported values only

0 = None (disabled)

1001 = Operating time / on-time counter in seconds

1004 = Pulse counter

8003 = Counter and timer package

9008 = WeatherStation wind-speed selector, Thies 4.3519 profile via VRCPROFILE#=1

9009 = WeatherStation rain-gauge selector, Pronamic / Rain Gauge Professional profiles via VRCPROFILE#=2..5

9010 = WeatherStation wind-speed selector, NRG 40C profile via VRCPROFILE#=6

9011 = WeatherStation wind-speed selector, NRG 40H profile via VRCPROFILE#=7

0 VRCDATATYPE1 9010

Selector notes: 8003 sends pulse counter as DTY 1004 and operating time as raw seconds in DTY 1001 for the same channel/slot.

9008, 9010, and 9011 are WeatherStation wind-speed setup selectors. They are not emitted as payload DTY values. They send the same wind-speed child package: DTY 1122, 1123, 1124, 1104, and 1105, with speed and gust values in m/s x 0,01.

9008 calculates wind speed with the Thies 4.3519 profile selected by VRCPROFILE#=1. 9010 calculates NRG 40C wind speed with VRCPROFILE#=6. 9011 calculates NRG 40H wind speed with VRCPROFILE#=7. The NRG profiles use m/s = Hz * 0.765 + 0.35, so 0 Hz is sent as payload value 35.

9009 is the WeatherStation rain-gauge setup selector for Pronamic / Rain Gauge Professional. It calculates interval precipitation from accepted pulse delta and the selected tip-size profile VRCPROFILE#=2..5.

Log Mode

The current supported counter/timer reporting path is periodic export.

Parameter Index Range Format Default Example
VRCLOGMODE# 1..8 0..1

0 = None (disabled)

1 = Periodic counter/timer export

0 VRCLOGMODE1 1

Log Interval

Use this parameter with VRCLOGMODE# 1 to set the periodic export interval.

Parameter Index Range Format Default Example
VRCLOGINT# 1..8 0..31

0 = Disabled

10 = Every minute
11 = Every 2 minutes
12 = Every 5 minutes
13 = Every 10 minutes
14 = Every 15 minutes
15 = Every 20 minutes
16 = Every 30 minutes

17 = Every hour
18 = Every 2 hours
19 = Every 4 hours
20 = Every 6 hours
21 = Every 8 hours
22 = Every 12 hours

23 = Every day
24 = Every 2 days
25 = Every 3 days
26 = Every week
27 = Every 2 weeks
28 = Every month
29 = Every quarter
30 = Every half year
31 = Every year

19 VRCLOGINT1 19

Profile

Use this parameter when the selected counter-based WeatherStation selector requires a profile.

Parameter Index Range Format Default Example
VRCPROFILE# 1..8 0..7

0 = None

1 = Thies 4.3519 WeatherStation wind-speed profile used with VRCDATATYPE#=9008 + VRCPROFILE#=1

2 = Pronamic rain gauge 0,2 mm/tip used with VRCDATATYPE#=9009 + VRCPROFILE#=2

3 = Pronamic rain gauge 0,1 mm/tip used with VRCDATATYPE#=9009 + VRCPROFILE#=3

4 = Pronamic rain gauge 0,25 mm/tip used with VRCDATATYPE#=9009 + VRCPROFILE#=4

5 = Pronamic rain gauge 0,5 mm/tip used with VRCDATATYPE#=9009 + VRCPROFILE#=5

6 = NRG 40C WeatherStation wind-speed profile used with VRCDATATYPE#=9010 + VRCPROFILE#=6

7 = NRG 40H WeatherStation wind-speed profile used with VRCDATATYPE#=9011 + VRCPROFILE#=7

0 VRCPROFILE1 6

Profile note: VRCPROFILE# selects the released calculation profile for the selected counter-based DataGuard selector. It does not replace installation evidence for the actual mounted sensor. The NRG wind-speed profiles use m/s = Hz * 0,765 + 0,35; 0 Hz is sent as payload value 35, meaning 0,35 m/s.

Related Source Setup

Use Shared Runtime Digital Inputs and Counters for digital input alarm texts, input logic, counter enablement, start values, scaling, and counter surveillance.


Public revision 21/08/2026