Variable Bindings

Binding Parameters

Configure scale, offset, deadband, and sampling interval for data transforms.

Each binding can apply data transforms to convert raw values from the data source into the format your variables expect. These parameters are set during binding creation and can be updated later.

Transform formula

The transform is applied in this order:

output = (raw_value x scale) + offset

If scale is not set, it defaults to 1 (no multiplication). If offset is not set, it defaults to 0 (no addition).

Parameters

Scale (multiplier)

The scale factor multiplies the raw value before any offset is applied.

ExampleScaleUse Case
W to kW0.001Data source reports watts, variable expects kilowatts
kW to W1000Data source reports kilowatts, variable expects watts
kJ to kWh0.000278Convert energy units

Scale cannot be zero. A scale of 1.0 means no scaling is applied.

Offset (additive)

The offset is added to the value after scaling.

ExampleScaleOffsetUse Case
Kelvin to Celsius1.0-273.15Subtract 273.15 from Kelvin reading
Celsius to Fahrenheit1.832Multiply by 1.8, then add 32
Sensor calibration1.02.5Compensate for a known 2.5-unit sensor bias

Deadband (change threshold)

The deadband defines the minimum change required to trigger a data update. If the difference between the new value and the current value is smaller than the deadband, the update is suppressed.

Update only if: |new_value - current_value| > deadband

This is useful for:

  • Reducing noise — sensors that fluctuate within a small range
  • Lowering data volume — suppress insignificant changes to reduce storage and network traffic
  • Filtering jitter — ignore minor oscillations in stable signals
DeadbandEffect
0Report every change (default)
0.5Ignore changes smaller than 0.5 units
10Only report significant changes (e.g., for noisy vibration sensors)

Deadband cannot be negative. A deadband of 0 means every value change is reported.

Sampling interval (ms)

The sampling interval controls how frequently the edge gateway reads the data point, in milliseconds.

IntervalFrequencyUse Case
10010 HzHigh-frequency monitoring (vibration, fast transients)
10001 HzStandard monitoring (power, temperature, wind speed)
50000.2 HzSlow-changing values (ambient temperature, humidity)
600001/minInfrequently changing values (daily counters, status codes)

Trade-offs:

  • Lower intervals produce more data and higher network/storage load
  • Higher intervals reduce data volume but may miss transient events
  • The default of 1000ms is suitable for most industrial sensor readings

Setting parameters

Parameters are configured during binding creation:

  • Manual binding — set individually per binding in step 3 of the editor
  • Match suggestions — bindings created by accepting suggestions use default parameters (scale 1.0, offset 0.0, sampling interval 1000 ms)
  • Batch operations — bindings created through batch accept use the same defaults as match suggestions

Parameters can be updated after creation by editing the binding.

On this page