Commands and functions
P.
281 of 349
Picture
Mpchart
Pchart
Element
picture
●
picture
(ID) [
Height,Type
](
$Label$,$www-LINK$)
Arguments
●
ID
: Value between 0 and 59 as an index for programming and the access to this element.
●
Height
:Value 0 or 1 (or constant SINGLE and DOUBLE)
●
Typ
: Value 0,1,2 (or LEFTGRAF, CENTERGRAF, ZOOMGRAF): left aligned, centered or
streched embedding of the image
●
www-Link: Valid WWW address (incl..Path and leading http://) to the external image
Access by the user program
●
Label and link can be changed during runtime with the function
picture
(S. 262).
Element
mpchart
●
mpchart
(ID) [
Height,Type
]($Label1$,Style1,
$Label2$,Style2, $Label3$,Style3, $Label4$,Style4)
Arguments
●
ID
: Value between 0 and 59 as an index for programming and the access to this element.
●
Height
: Value 0 or 1 (or constant SINGLE and DOUBLE)
●
Type
: Value 8 (or constant XY) for plots
●
Type
: Value 9 (or constant SXY) for plots with sorted X-Y sets (well suited for time-based
plots)
●
$Label1$ .. $Label2$
Legend of the graph
●
Style1, Style2, Style3, Style4
: value 0,1,2 or 3 (constant LINE, DOTS, LINEDOTS,
COLUMN)
Access by the user program
●
XY values are accessed with the function
mpchart
(page 252) in the user program as
explained in in Table 1. A
mchart
manages up to 4 XY diagrams. The number of diagrams
is specified through the number of arguments.
●
Each XY diagram has a legend. When you display 4 XY diagrams, also 4 legend are
displayed.
●
47 floating point values are display in a diagram. The scale is generated automatically.
Please consider the additional information given by the function
mpchart
() on page 252.
Element p
chart
●
pchart(ID)[$Y0$,$Y1$,$Y2$]
Arguments
●
ID: A value between 0 and 255 as an index for programming and the access to this
element.
●
$Y0$, $Y1$,$Y2$: Labeling of the y-axis.
Access by the user program
●
The y-values are accessed in the user program by the function
(page 247), as
explained in Table 1.
●
Values from the field 1...30 can be represented. With every call of this function, the values
are displayed starting from the left. When the end is reached after 47 calls, the values are
shifted to the left.
HandbuchEibPC_USA-30.odt, 2017-05-11
Enertex
®
Bayern GmbH - Erlachstraße 13 - 91301 Forchheim - [email protected]