Beckhoff Automation GmbH & Co. KG TX1200 — 10.1.4.2 Configure Table

Visualization Here you define the table elements. In the left window you get al list of all elements, which are handled in the array per index. In case of an array of a structure these would be the structure components. Using the arrow button > you can transfer a selected component from the left window to the right window where you define the set of elements to be displayed in the table. Pressing button >> all elements will be transferred at a single blow. In the same manner you can remove elements from an already defined set ( elements, perform a double-click on the desired entry in the right part of the window, or press button '...' to open the dialog 'Configure columns':

Dialog for Configuring a Table, Category Columns, Column Properties Editing the column header and the column width: Initially the edit field Column header will contain an automatically created title (e.g. "PLC_PRG.arr1[INDEX].iNo" in case of an array of structure. for the column representing the structure component "iNo"). which you can change Further on the Column width (number of characters) can be set. Editing configuration parameters for all elements of a column: By default the table fields are displayed as simple rectangles and the entries are not editable. If you however activate the option Use template , a pre-defined set of parameters can be used, e.g.

for the line width, the text input possibilities etc. To edit these parameters the common configuration dialogs as know for rectangles, bitmaps, buttons etc. are available, which you can access by a mouse-click on the button Edit template . In order to define online actions for all entries of a column, i.e. for all array-elements of one array dimension, use the placeholder [INDEX] when entering the array name in the configuration dialogs (e.g. PLC_PRG.arr1[INDEX] like used in the default column header). Example:

You want to visualize an array "arr1 [0..2] of BOOL" (table with 1 column) and you want, that in online mode by a mouse-click on a table cell the cell gets red-colored and the corresponding array element will be toggled and vice versa. To reach this activate 'Use template' in the configuration dialog for the column and define the template as follows: Category 'Input', Action 'Toggle variable': "PLC_PRG.arr1[INDEX]. Category 'Colors': Alarm color red. Category 'Variables', Action 'Change color': "PLC_PRG.arr1[INDEX]. Category Rows: Row height: Insert the desired height in number of pixels TX1200 286 Version: 1.3