Commands and functions
P.
252 of 349
Mpchart
Mpbutton
Definition
●
Function
mpchart
(
id, x, y, index, page_id
)
Arguments
●
Arguments
id, page_id, index
of data type u08
●
Arguments
x, y
of data type f16
Effect
●
This function addresses the element
mpchart
that refers to a page of the given
id
. If there
are multiple occurrences of
id
, all elements of this id are addressed.
●
One
mpchart
displays four different graphs.
index
(0,1,2,3) defines the graph to be
addressed.
●
Up to 48 values are stored. If more than 48 values are stored in the same
index
of
mpchart
, the value stored in the first location is lost.
●
The placement of the values in the graph is performed by the specification of the pairs of
variates.
●
The labeling is generated automatically.
Data type result (Return)
●
u08 (internal state).
Definition
●
Function
mpbutton
(
id, selection, page_id
)
Arguments
●
Argument
id
of data type u08. This argument must not change at the runtime of the
program.
●
Argument
page_id
of data type u08. This argument must not change at the runtime of the
program.
●
Argument
selection
of data type u08.
Effect
●
By operating the button of a multi button element that refers to a page and the given
selection with index
selection
(e.g.
mpbutton
or
mpshifter
) with the
id
(page 265 and the
following), the function assumes a value not equal to zero for the duration of one
processing pass, and zero in all other cases.
●
For a
mpbutton
element, the return value when operated is 1.
●
For a
mpshifter
element, the return value when operated is 1, 2, 3 or 4 (u08) depending on
the actually operated element of the web button. The return values refer to the order of the
buttons (from left to right).
Data type result (Return)
●
Data type u08, values 0,1,2,3,4.
HandbuchEibPC_USA-30.odt, 2017-05-11
Enertex
®
Bayern GmbH - Erlachstraße 13 - 91301 Forchheim - [email protected]