Beckhoff Automation GmbH & Co. KG TX1200 — 10.1.4.1 Configure Visualization Elements

Visualization In the dialog for configuring visualization elements, you can specify a text for the element in the Text category. This can be entered directly or/and a variable can be defined which will determine the text string. The usage of placeholders is possible. Also the default settings for font and alignment are done here. As soon as text parameters are additionally provided dynamically, which means by a system or structure variable (see also below, category 'Text variables' resp. 'Programmability'), the static definitions which are done in the currently opened dialog , will be overwritten !

In case of multiple definition of an element property consider the specific order of precedence concerning according to which a value might be overwritten in online mode by another. Enter the text in the Content field. With the key combination + you can insert line breaks, with + , tab stops. Besides the input of a pure text string you can use the following formatting sequences: If you include "%s "into the text, then this location, in Online mode, will be replaced by the value of the variable from the Text Output field of the Variables category. You also can use a formatting string, which conforms with the standard C-library function 'sprintf':

The value of the variable will be displayed correspondingly in online mode. You can enter any IEC- conforming format strings, which fit to the type of the used variable. It is not checked whether the type which is used in the formatting string matches with the type of the variable which is defined in the 'Text Output' field ! TX1200 269 Version: 1.3 Character Argument / Output as d,i Decimal number o Unsigned octal number (without leading zerol) x Unsigned hexadecimal number (without leading 0x) u Unsigned decimal number c Single character s String f REAL-values [-]m.dddddd, whereby the accuracy defines the number of d's (Default is 6). The plus sign resp.

minus sign defines right aligned (default) or left aligned , m is the number of all decimal (position before decimal point, decimal point, position after decimal point) d defines number of decimal after point.