
76
920i
Installation Manual
9.2
Widget Programming
The type and location of elements shown on the
920i
display are easily speciÞed using the drag and drop
features of the
iRev
utility. However, display widgets
can also be programmed using serial commands while
the
920i
is in setup mode. Up to ten different screens
can be conÞgured.
All widget programming is accomplished in setup
mode, using the WDGT serial command. The Þrst
parameter speciÞed is the widget type, listed in
Table 9-12. The following sections describe each of
the widget types and the parameters and values
speciÞc to that type.
In setup mode, the WDGT.CLR serial command can
be used to clear all speciÞed widgets from the display.
Some widget types require that the location or size of
the widget be speciÞed, in pixels. Figure 9-12 shows
the pixel counts (80 pixels per inch) used to specify
the pixel location on the display.
Figure 9-1. Screen Location Pixel Values
9.2.1
Scale Widgets
Scale widgets are used to present basic scale data
from one or more conÞgured scales. For multiple
scale applications, up to four scale widgets can be
conÞgured to be shown on the display at any one time.
Fewer displayed widgets allow each widget to be
larger. Scale data from additional conÞgured scales
can be shown by scrolling up or down through all
conÞgured scales, including a total scale widget, if
conÞgured.
WDGT#
n
=1,
scale_widget_size, scales_displayed,
screen_number
where:
n
=widget number
1= scale widget type
scale_widget_size
=
1–6 (size refers to numeral height)
1:
1/4
”
2:
1/2”
3:
3/4”
4:
7/8
”
5:
1”
6:
1
5/32
”
scales_displayed
=
1–4
screen_number
=
1–10
Example:
WDGT#1=1,2,1,2<CR>
creates a single 1/2" scale widget for screen number 2.
9.2.2
Bitmap Widgets
Bitmap widgets provide a representation of vertical or
horizontal tanks or a hopper. The location, size, and
border style of the widget are speciÞed on the WDGT
command.
WDGT#
n
=2,
left, top, width, height,border_style,
bitmap_widget_style, name/alias, visible,
screen_number
where:
n
=widget number
2= bitmap widget type
left
= left edge location, in pixels
top
= top edge location, in pixels
width
= width, in pixels
height
= height, in pixels
border_style
= 1 (none) or 2 (fixed single)
bitmap_widget_style
= 1 (vertical tank), 2 (horizontal
tank), 3 (hopper)
name/alias
= text name or alias
visible
= 1 (on) or 2 (off)
screen_number
=
1–10
Example:
WDGT#2=2,30,30,120,120,1,3,Hopper1,1,2<CR>
Type
Description
1
Scale Widget
2
Bitmap Widget
3
Bargraph Widget
4
Label Widget
5
Numeric Widget
6
Symbol Widget
Table 9-12. Widget Types
0,239
0,0
319,0
319,239
4"
320 pixels
3"
240 pixels
159,119
Summary of Contents for iRev 920i
Page 1: ...67887 Programmable Indicator Installation Manual 920...
Page 2: ......