Get MBLogic at SourceForge.net. Fast, secure and Free Open Source 
	software downloads

Displaying Text and Numbers


Text and Digits

Digits and text widgets display numeric or string data.

Type Name Description HMIBuilder Name
clip-art Floating point numeric display digits_float_<colour> Floating point numbers Float Digits
clip-art Integer numeric display digits_int_<colour> Integer numbers (right justified) Integer Digits
clip-art String display text_centred_<colour> Centre justified string Centred String Display
clip-art String display text_left_<colour> Left justified string String Display

HMIBuilder Parameters for Integer Digits and String Display

Parameter Type Values Description
Output Tag Option menu Address tags The HMI server tag to read the current state from

HMIBuilder Parameters for Float Digits

Parameter Type Values Description
Output Tag Option menu Address tags The HMI server tag to read the current state from
Decimals Data entry box Integer The number of decimals to display

Text Lists

Text list widgets display a string from a defined list of strings. This permits a text message from a defined list of text messages to be displayed based on the value in a register. If the register value is 0, the first item in the list will be displayed. If the register value is 1, the second item in the list will be displayed, etc.

For example, if the list is ["strawberry", "raspberry", "saskatoon berry", "blueberry"], a register value of 0 will display "strawberry" and a register value of 2 will display "saskatoon berry".

Type Name Description HMIBuilder Name
clip-art String display textlist_centred_<colour> Centre justified text list Text List Display Centred
clip-art String display textlist_left_<colour> Left justified text list Text List Display Left

HMIBuilder Parameters

Parameter Type Values Description
Output Tag Option menu Address tags The HMI server tag to read the current state from
Text List1 Data entry box List of strings. A comma separated list of strings.

Note1: This should be a list of text items separated by commas. When the entry is read, it will be split into separate strings by the commas. Both single and double quotes will be stripped out automatically.


Special Purpose Text and Digits

There are several special purpose text and digits display widgets which derive their data from elements of the HMI protocol message. The "messaged ID" is an integer number that continually increments with each message (and eventually resets after reaching a maximum). This will change each time a new message is received. The "server ID" is a string which identifies the HMI server. It is defined in the HMI server configuration and sent with each message.

Type Name Description HMIBuilder Name
clip-art Message ID numeric display digits_msgid_<colour> HMI protocol message ID Server Message ID
clip-art display textcentre_serverid_<colour> Centre justified server ID Server ID - Centred
clip-art display textleft_serverid_<colour> Left justified server ID Server ID - Left

HMIBuilder Parameters

There are no parameters required for these items.


Text and Numeric Boxes

These are normally combined with text or digits to form text or numeric displays. These are purely decorative backgrounds and have no input or output functions on their own.

Type Name Description
clip-art Text / numeric box. bezel_digit_2 Text and numeric display background for 2 digits.
clip-art Text / numeric box. bezel_digit_4 Text and numeric display background for 4 digits.
clip-art Text / numeric box. bezel_digit_8 Text and numeric display background for 8 digits.
clip-art Text / numeric box. bezel_simple_<colour> Simple text and numeric display background.

Text and Numeric Increment Boxes

These are normally combined with text or digits and with numeric increment and decrement buttons to form text and numeric increment boxes. These are purely decorative backgrounds and have no input or output functions on their own.

Type Name Description
clip-art Text / numeric increment box. bezel_inc_2 Text and numeric display background for 2 digits for use with increment and decrement push buttons.
clip-art Text / numeric increment box. bezel_inc_4 Text and numeric display background for 4 digits for use with increment and decrement push buttons.