Edge Data Tag Options

Edge Data Tag Options in TilliT

When configuring Edge Data Tags in TilliT, you can supply options as a JSON string to modify how data is processed. All options must be formatted as follows:

{"option1": "value1", "option2": "value2"}

Available Options

Scale

The scale option allows you to adjust the raw value by multiplying or dividing it by a specified factor.

Examples:

  • Multiply the raw value by 1000:

    {"scale": 1000}
  • Divide the raw value by 1000:

    {"scale": 0.001}

Rollover

Use the rollover option when the tag you are reading has a rollover value. This is particularly useful for the COUNT_TOTAL template, ensuring that TilliT correctly calculates the difference when a counter resets to zero.

Example Scenario:

  • A counter rolls over at 1000.

  • The initial value is 950, and the next read is 5.

  • Without rollover handling, the difference would appear as -945.

  • With rollover ({"rollover": 1000}), TilliT correctly calculates the difference as 55.

Example Configuration:

{"rollover": 1000}

By using these options, you can ensure accurate data interpretation and seamless integration with TilliT’s processing logic.

Last updated