DataGuard via Analog Inputs

This page describes how to set up a DataGuard analog channel from the physical input signal to the value shown and logged in Emiko.

To complete an analog channel, you must configure both the analog input itself and the DataGuard reporting parameters. DataGuard logging alone is not enough.

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 rather than a physical analog input.

Complete Setup Workflow

When DataGuard is Needed

Activation Rules

Typical Uses

Product Paths That Use Analog DataGuard

Use the product page first when the analog value belongs to a product-specific flow. Use this page for the shared DataGuard reporting parameters.

Product path Analog source DataGuard values Product setup
Standalone DataGuard Physical analog input on the controller or I/O module. VREQT#=35 and a supported child DTY such as 1101. This page
WeatherStation 4-20 mA or voltage wind direction transmitter. NRG 200M and RNRG/NRG 200P use voltage AI only. VREQT#=23 and VRDATATYPE# values such as 1106, 9000, 9004, 9006, 9012, or 9013. WeatherStation DataGuard setup
OceanWatcher Analog radar distance-to-water value. VREQT#=20 and VRDATATYPE#=9007. OceanWatcher DataGuard setup
FlexVander Optional field value connected to an available analog input. Use the equipment type and DTY required by the delivered sensor path. FlexVander LX9 eco IO list

Worked Example

This example shows a standalone DataGuard unit with a temperature transmitter on channel 1.

Field Example value
Transmitter type 4-20 mA
Measurement range 0 to 100 deg C
Reported in Emiko as DataGuard equipment, temperature data

Configure the transmitter type and measurement range in the shared analog input settings. Typical DataGuard reporting values for this setup are:

Parameter Example value Result
VREQT1 35 Reports the value under the DataGuard equipment itself.
VRDATATYPE1 1101 Sends the value as temperature.
VRLOGMODE1 and VRLOGINT1 Installation-specific Controls how and when the value is logged or exported.

Analog Source Prerequisites

Configure the analog input source before setting the DataGuard reporting parameters on this page. The full analog source reference is maintained in the shared analog input settings.

Analog Wind Direction Calculation Selectors

Use the 9000..9006 selectors only for an analog wind-direction transmitter where the input signal represents a direction over 0..360 degrees. The code scales the electrical signal directly to direction, applies optional VRLIN# true-north offset, and then calculates the selected state, mean, spread, or package output.

Use 9012 only for an NRG 200M wind vane on voltage AI. DataGuard calculates degrees = volts * 147.91 - 1.460 from a 0.007 to 2.5 VDC signal and applies VRLIN# after the NRG voltage conversion.

Use 9013 only for an RNRG/NRG 200P wind vane on voltage AI. DataGuard calculates degrees = 4 + ratio * 352, where ratio = (signal_mV - TMIN#) / (TMAX# - TMIN#), and applies VRLIN# after the 200P conversion. Use TMIN# and TMAX# as the conditioned signal range in mV for this selector.

Generic wind-direction selectors do not identify the exact physical wind-direction sensor model. Confirm the installed model from the delivery or installation record. DataGuard owns the calculation and emitted child-DTY values.

When VRLIN# is changed on an analog wind-direction channel that uses mean, spread, or package output, DataGuard rebuilds the averaging history for that channel from samples with the new correction. The first output after the change can use warmup child values until the 10-minute history is complete.

Selector Calculation How DataGuard calculates it Emitted child-DTY
9000 Wind direction state/QC Checks analog range, transmitter setup, and calculation state. 1117
9001 10-minute mean direction Builds rolling vector history and calculates circular mean after coverage. 1118; warmup/QC as 1117
9002 10-minute spread Finds the largest circular distance from the 10-minute mean. Spread at or above 60.00 degrees sets variable direction state. 1119; warmup/QC as 1117
9003 Reserved Not accepted by the current setup parser. None
9004 10-minute package Sends state/QC during initial warmup, then the 2-minute package during early coverage, then 10-minute mean, spread, and state/QC. 1117, 1120, 1121 during 2-minute coverage; 1117, 1118, 1119 after 10-minute coverage
9012 NRG 200M 10-minute package Uses NRG 200M voltage conversion, then sends state/QC before 2-minute coverage, the 2-minute package during warmup, and the 10-minute package after 10-minute coverage. 1117 before 2-minute coverage; 1117, 1120, 1121 during 2-minute warmup; 1117, 1118, 1119 after 10-minute coverage
9013 RNRG/NRG 200P 10-minute package Uses RNRG/NRG 200P mV range conversion from TMIN# and TMAX#, then sends state/QC before 2-minute coverage, the 2-minute package during warmup, and the 10-minute package after 10-minute coverage. 1117 before 2-minute coverage; 1117, 1120, 1121 during 2-minute warmup; 1117, 1118, 1119 after 10-minute coverage
9005 2-minute mean direction Calculates circular/vector mean over the 2-minute window after coverage. 1120; warmup/QC as 1117
9006 2-minute package Sends 2-minute mean, 2-minute spread, and state/QC after coverage. 1117, 1120, 1121; warmup/QC as 1117

NRG 200M voltage wind vane

RNRG/NRG 200P voltage wind vane

DataGuard Water Level

Use VRDATATYPE# 9007 when an analog radar such as an LR100 4-20 mA sensor must be handled as a shared water-level source.

Typical analog radar setup for a 0..10 m distance range:

DataGuard Reporting Parameters

Configure these parameters after the analog signal type and measurement range are correct. This is the DataGuard part of the analog setup.

Equipment Type

Select which Emiko equipment type the analog value is reported under. For a standalone DataGuard installation, use the DataGuard EQT value.

Parameter Index Range Format Default Example
VREQT# 1..32 0..35

0 = None (disabled)

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

0 VREQT1 12

Defined EQT IDs: 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).

Data Type

Select which data type (DTY) the value is sent as in Emiko. For temperature values, use the temperature data type.

Parameter Index Range Format Default Example
VRDATATYPE# 1..32 0..1312 + supported selectors

0 = None (disabled)

1..1312 = Data type (DTY) for the value sent to Emiko. See Shared Runtime Data Type Reference.

Supported 9000-series calculation selectors can also be used where the product or setup page documents them, for example 9000..9006 for generic analog wind direction, 9007 for the water-level package, 9012 for NRG 200M wind direction, and 9013 for RNRG/NRG 200P wind direction. Selectors are setup values; they send one or more child DTY values and are not themselves sent as the measurement DTY. See DataGuard calculation selectors. For 9013, set TMIN#/TMAX# from the actual post-input mV signal range; see 9013 setup examples.

0 VRDATATYPE1 1101

Log Mode

Select how the value is triggered and sent, for example periodically, on threshold change, or on event.

Parameter Index Range Format Default Example
VRLOGMODE# 1..32 0..4

0 = None (disabled)

1 = Periodic (logs according to VRLOGINT)

2 = Periodic + threshold change (hysteresis via VRLOGHYS)

3 = Periodic + event (on change in signal status)

4 = Hybrid (periodic + threshold change + event)

1 VRLOGMODE1 4

Log Interval

Use this parameter when the selected log mode includes periodic logging.

Parameter Index Range Format Default Example
VRLOGINT# 1..32 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 VRLOGINT1 19

Hysteresis

Use this parameter when the selected log mode includes threshold or hybrid logging.

Parameter Index Range Format Default Example
VRLOGHYS# 1..32 0..32767

0 = No hysteresis (disabled)

1..32767 = Hysteresis in the same unit as the measured value

0 VRLOGHYS1 5

Related References


Public revision 21/08/2026