Overview

Holds a single whole number (no decimal places). This is the most common type for PLC/controller registers, counts, status codes, and any other integer reading.

Value

A 32-bit signed integer.

Transform Options

IntTag supports one Transform:

Transform Syntax Effect
SCALE SCALE(inMin,inMax,outMin,outMax) Rescales the raw value from an input range to an output range, using standard linear scaling:
output = ((value - inMin) / (inMax - inMin)) * (outMax - outMin) + outMin

Example: a sensor reports a raw value from 0 to 4095 (a typical 12-bit analog input), and you want the tag to show a 0–100 percentage instead:

SCALE(0,4095,0,100)

A raw reading of 2048 would then be stored as 50.

Type Attributes

IntTag uses the Type Attributes field for one thing: entering U treats an incoming raw/byte value as unsigned rather than signed, before it's converted to the tag's normal (signed) integer. Useful when a device reports a value as an unsigned word and the plain signed reading would come out negative for large values.

Notes

  • Change Tolerance applies to IntTag when Capture Changes Only is checked — the value has to move by more than the configured tolerance to count as a change and be captured/published. A tolerance of 0 means any difference counts.