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

Visualization TX1200 283 Version: 1.3 Component (+data type) Meaning Sample (the object name "vis1" was defined for the ele- ment. ) corresponding setting option in the configura- tion dialog: bInputDisabled: BOOL; Inputs from category Input are considered with TRUE, not with FALSE vis1.bInputDisabled:=FAL SE; (no input possible on this element) - Cat. Variables: disable input stTooltipDisplay:STRIN G; Tooltip text vis1.stTooltipDisplay:= 'Switch for .....'; - Cat. Text for tooltip: Entry for 'Content' Component (+data type) Meaning Sample (the object name "vis1" was defined for the element. ) corresponding setting option in the configuration dialog: dwTextFlags: DWORD; Text position:

1 left aligned 2 right aligned 4 horizontally centered 8 top 16 bottom 32 vertically centered Both horizontal and vertical positioning should always be set (addition of values)! vis1.dwTextFlags:=36; (text is placed in the middle of the element (4 + 32) - Cat. Text: Options from Horizontal and Vertical - Cat. Text variables: Text flags dwTextColor : DWORD; Text color (to enter the color values see after the table) vis1.dwTextColor := 16#00FF0000; (text is displayed in blue) - Cat. Text: Font | Color - Cat. Text variables: Text color nFontHeight : INT; Font height in pixels. Should be in the range 10-96. vis1.nFontHeight:=16; (text height is 16 pt) - Cat. Text: Font | Degree' - Cat.

Text variables: Font height dwFontFlags : DWORD; Font representation. The following flags can be set: 1 italic 2 bold 4 underlined 8 strikethrough + Combinations by adding the values vis1.dwFontFlags:=10; (text is displayed bold and strikethrough) - Cat. Text: Font | Font style - Cat. Text variables: Fontflags stFontName : STRING; Font name vis1.stFontName:='Arial'; (Arial as font for the text) - Cat. Text: font | Font - cat. Text variables: Font name nLineWidth : INT; Line width of the element frame (number of pixels) vis1.nLWidth:=3; (frame is 3 pixels thick) -Cat. Line width dwFillColor : DWORD; Fill color.

(to enter the color values see after the table) vis1.dwFillColor":= 16#00FF0000; (element is blue in "normal" state) - Cat. Colors: Color | Interior - Cat. Color variables: Color Inside