L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual
Page 730

L-force | PLC Designer
PLC Designer Visualization
728
DMS 3.2 EN 02/2011 TD29
Examples for the use of placeholders in column-templates
Example1:
You 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].
Example2:
The following template configuration has been created for a table column
representing Index „0“ of an array:
Dialog for the configuration of a column-template (Edit template)