154
1 FUNCTIONS
1.12 Web Server Function
Historical graph display (WSHstgrp)
This object displays the device value in a time-series line graph. The device value is read in every refreshing cycle. After the
number of records is reached, the display shifts to left and old records are deleted.
Set grElm[n] for the devices to be displayed. (n: 0 to 31)
: Required, : Optional
(1) Refreshing cycle
(2) Data in a refreshing cycle is out of the display range.
Parameter Item Description Requirement
grElmNum Number of graph elements 1 to 32
devFormat The data format of the device 0: 16-bit signed
1: 16-bit unsigned
2: 32-bit signed
3: 32-bit unsigned
4: Single-precision real number
5: Double-precision real number
6: Bit
grElm[0].devName Device name Device type + device number
grElm[0].lnCol Graph line color The RGB value or color name
Example: #FF0000 (RGB value) or red (color name)
grElm[1].devName Device name Device type + device number
grElm[1].lnCol Graph line color The RGB value or color name
grElm[31].devName Device name Device type + device number
grElm[31].lnCol Graph line color The RGB value or color name
grBkCol Graph background color The RGB value or color name
dspCol Character color
pointNum Number of records 5 to 100
upper Upper limit value A numeric value (decimal) within the range of the specified data
format.
lower Lower limit value
yLine Vertical axis interval (record) 0 to 99
xLine Number of horizontal axes
grHeight Graph height Positive real numbers (unit: px)
grWidth Graph width
xPos
yPos
grWidth
upperMargin
dispCol
rightMarginleftMargin
xLine
lowerMargin
lower
grElm[0].lnCol
grBkCol
upper
pointNum
(1)
(2)
Window