Formats & Formulas provide a flexible way to control how tag data is displayed throughout your project.
Formats & Formulas can be configured in two locations:
Applied within the Tags Editor.
When configured here, formatting can be reused anywhere the tag is linked.
Best for: Standardizing how a tag appears across the entire project.
When linking tag to an object in the Canvas Editor, you can choose:
Raw – displays the original value
Formatted – applies the predefined formatting from the Communication Page
Applied directly to an object from the Properties Panel.
Allows unique formatting per object, even when using the same tag.
Best for: Custom displays (e.g., different precision, labels, or formats for the same tag).
To apply Formats & Formulas at the tag level:
Open the Tags Editor by selecting the desired tag nested below its respective controller.
Click the green “Select Formats & Formulas” icon
The configuration window will open, containing:
Preview area
Quick format buttons
Format/Formula selection tool
Apply / Cancel buttons
% (Percent): Adds a percent symbol and enables decimal selection
123 (Number): Enables decimal selection
abc (Text): Treats the value as text
Click “Select Format/Formula” to access the following tools:
Plain Text: Displays value as text
Convert to ASCII: Converts binary data to ASCII
Number: Displays numeric values with selectable precision
IP Address: Formats value as an IPv4 address
Percentage: Adds % with selectable precision
Scientific: Displays in exponential notation
Duration: Displays as xH xM xS
More Duration: Multiple time conversion options
Date: MM/DD/YYYY
Time: HH:MM AM/PM
Date Time: Full date and time display
More Date/Time: Additional format variations
Formulas allow you to transform raw data values.
Select Formulas from the Format selection tool
Click Add
Enter:
Formula Name
Formula Expression
Use x to represent the tag value.
Example:
x / 1000
(Commonly used to convert scaled integers to decimal values.)
You can include additional variables:
Under Range, select Current Read Value
Click + Add Constant
Constants are assigned letters (a, b, etc.)
Constants can reference other tags
Example: Totalizer Calculation
(a * 32767) + x
Where:
x = current value
a = rollover counter
Dictionaries map numeric values to text.
Select Dictionaries
Click Add
Enter a Dictionary Name (use shorthand for easy identification)
Click Add Definition for each value
Examples:
0 = OFF, 1 = ON
0 = OK, 1 = ALARM
0 = HAND, 1 = ON, 2 = AUTO
Labels add units or suffixes to values.
Select Labels
Click Add
Enter the desired label (e.g., PSI, GPM, pH, Kgal)
Scaling converts raw input values into engineering units.
Select Scale → Custom
Enter:
Raw Low: 4000
Raw High: 20000
Scale Low: 0
Scale High: 100
Offset: (if applicable)
This maps the raw range (4000–20000) to a display range (0–100).
To apply formatting to an HMI object:
Select the object on the canvas
Open the Properties Panel
Scroll to Formats & Formulas
Click Select next to the Options field
The Preview field displays the formatted value in real time
To remove formatting, click the “-” icon next to each applied item