Vai al contenuto

Widgets properties

Background: widget background colour. Click at colour centre to select from a list.Foreground: widget foreground colour. Click at colour centre to select from a list.Font: text style inside the widget. Select Font, height and style from the selection lists.Label: PLC variable to be used on widget. Click at centre area to type the variable name (if known). Otherwise click over the little button at right, to open a list with all the available variables, already used inside the GF_Project pages (to update the list, please select the button “search – collect pages vars” in GF_ProjectVX, then deploy “View”). It’s even possible to specify a script formula, by adding the “=” prefix. E.g.: “=VAR1+(VAR2*5)”. The syntax is the same used for standard scripts.Comma: constant value or PLC variable to be used as comma position for the numerical value, like the comma property for standard DataSet or DataDisplay.Justify: horizontal alignment for text (DataDisplay, FixedText, Text) or bitmap (Image).Alignment: vertical alignment for bitmap.Textid: text string, from the general text database, for the active language. Click over the centre area to select from the complete strings list existing inside the program (it’s possible to search typing a substring), or (if known) insert the string ID inside the numerical field at right.Text: free text to be displayed. Click over the centre area to freely type any string (which will not be connected to the active language).Image: type inside the centre are the complete path for the image to be used (if known) or click over the rightmost button which will open a graphical preview of all available images (the list is generated automatically). Inside this list is possible to add some custom images, copied by USB to /ata0a/export.Stretched: if set will force the bitmap to use all available space inside the widget (it will automatically enlarged or shrunk).Min: minimum value to be used by the bar graph. It can be a variable or a constant.Max: maximum value to be used by the bar graph. It can be a variable or a constant.Vmode: bar graph visualization type, horizontal or vertical.Back_on: colour to use as ToggleButton background when the associated variable get to a value different from zero (with zero value the default “background” colour will be used.Tmode: work mode for ToggleButton (Toggle or Momentary).