Commands and functions
P.
260 of 349
Pdisplay
Pchart
Definition
●
Function
pdisplay
(
id, text, icon, state, style, page_id, [mbutton]
)
Arguments
●
Arguments
id, icon, state, style
and
page_id
of data type u08
●
Argument
text
of arbitrary data type
Effect
●
The function addresses the web button that refers to a page (
pbutton
or
pshifter
). If there
are multiple web buttons with
id
on the web page of
page_id
, they all will be addressed.
●
By means of the optional argument
mbutton
, the displayed selection of the drop-down box
can be changed.
●
At function
plink
this argument specifies the jump index.
●
Calling this function sets the icon of the web element with
id
to the symbol defined by
icon
(data type u08). Possible images are shown on page 291 and are selected by predefined
numbers (data type u08). In addition, predefined constants facilitate the choice. Their
respective allocation is listed in Table 2 (page 159).
●
The argument
text
denotes an arbitrary variable the value of which, converted to a
character string, is displayed in the variable text line of the web element.
●
At function
link
this argument specifies the new link.
●
Every icon has at least the states ACTIVE (==1), INACTIVE (==2), DARKRED (==0) and
BRIGHTRED (==9). One of these states can be submitted as the argument
state
. For an
overview of the possible states see Table 3 (page 159).
●
The text to be displayed can be represented in the styles GREY (==0), GREEN (==1),
BLINKRED(==2) and BLINKBLUE (==3).
Data type result (Return)
●
none
Definition
●
Function
pchart
(
id, var, x1, x2, page_id
)
Arguments
●
Arguments
id, var, page_id
of data type u08
●
Arguments
x1, x2
of data type c14
Effect
●
This function addresses the XY diagram
chart
. If there are multiple occurrences of
id
, all
elements of this id on the web page of
page_id
are addressed.
●
When calling this function, the XY diagram of the value
var
is activated. Values in the
range of 1...30 can be displayed. 0 refers to the value not being displayed, and values
greater than 30 are not permitted and are interpreted like 0. Every call of the function
displays the values beginning from the left side. When the end is reached after 47 function
calls, the values are shifted to the left.
●
The labeling of the x-axis is given by the arguments
x1, x2
(data type c14).
Data type result (Return)
●
Data type u08 (internal state of the webchart).
HandbuchEibPC_USA-30.odt, 2017-05-11
Enertex
®
Bayern GmbH - Erlachstraße 13 - 91301 Forchheim - [email protected]