L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 206

Advertising
background image

L-force | PLC Designer

Visualization

204

DMS 4.1 EN 03/2011 TD29

The alarm state may not only be caused by a
variable value, but also by selecting a table cell by a
mouse click in online mode. The behavior of the
selected region is controlled by the section
"Selection":

The selection color chosen herein is valid for all
selected cells that have no alarm state color
prescribed by a template. So, in our example, a
selected cell of the second column will be displayed
in HotPink, whereas a selected cell of the first
column will be displayed in the alarm color of the
template (LightSalmon).
If you press the button Apply, each particular
setting for the alarm state color in the column
templates will be replaced within the element
properties by the selection color. In consequence
the associated entries for the template of the first
column in our example now looks like this:

The field "Selection type" prescribes what elements
shall be selected by clicking on one table cell: as we
have chosen the selection type SEL_ROW all cells
belonging to the same row as the one the click has
been performed on will be classified as selected
and included by a frame.
If no columns are excluded from being displayed,
the position of the selected cell within the table
represents the indices belonging to the entry of the
visualized array. These indices may then be written
to the variables entered in the last three lines of
the section "Selection". The third and fourth
variable are of type boolean and will be set to TRUE
if the selection is valid concerning line resp.
column.

Again the table element visualized in online mode:
after selecting the cell with the entry "FALSE" by a
mouse click all cells in the second row are classified
as selected and therefore displayed in alarm state.
Only the cell in the second column shows the
specified selection color, as the colors indicating an
alarm state are prescribed by the templates for the
other cells:






Having applied the selection color to the templates
also the display will change into the following:



The associated variables are set to the array indices
corresponding to the selected cell:





(not yet implemented: $ROWCONST$, $COLCONST$, invisible, deactivate inputs)

Advertising