Commands and functions
P.
279 of 349
Mtimechart
mtimechart element
●
mtimechart
(ID) [size, type, length, YLMIN, YLMAX, YRMIN, YRMAX] ($Description1$,
ChartPos1, Buffer1, $Description2$, ChartPos2, BUFFER2, $Description3$, ChartPos3,
buffer3, $Description4$, ChartPos4, Buffer4)
●
$Description1$, CHARTPOS1, verkn.Buffer1, $Description2$, ...(up to 4 graphs)
Arguments
●
ID
: A value between 0 and 59 as an index for programming and access to this element.
●
Format:
DOUBLE, TRIPLE , QUAD , LONG , EXTDOUBLE , EXTTRIPLE , EXTLONG
●
Type : 0 for auto scale to the left axis , in this case YLMAX is ignored etc.
(0=AUTOSCALELEFT)
1 for autoscale the right axis , in this case YRMAX is ignored etc. (1=AUTOSCALERIGHT)
2 for auto scale of the two axes (2=AUTOSCALE)
3 for no autoscale (3=NOAUTOSCALE)
●
Length
: Maximum number of pairs of values that can be displayed per graph ( Possible
values : from 32 to 256)
●
YLMIN
: Minimum value left y - axis , floating point numbers
●
YLMAX
: Maximum value left y - axis , floating point numbers
●
YRMIN
: minimum value right y - axis , floating point numbers
●
YRMAX
: maximum value right y - axis , floating point numbers
●
$Description1$ ... $Description4$
Legend of the corresponding graphs
●
ChartPos
: 0 (LEFTGRAF) or 1 (RIGHTGRAF) (0 for marking on the left y-axis, for one
caption on the right y-axis) or 2 (STACK) for graphically adding two graphs: The outermost
envelope is to be understood as the total sum of the individual graphs:
●
Buffer:
ID of the graphs associated with the respective time buffer. Values between 0 and
255 as an index for the programming and the access .
●
CAUTION: The EibPC has a RAM of 64MB .
To ensure proper operation , the buffer and arts must be dimensioned so that the memory
of EibPC is not overloaded . See here under timebufferconf (p. 254) for more details.
●
The formats EXTDOUBLE , EXTTRIPLE , EXTLONG are Count with integrated zoom ,
shift function and time delay setting.
Access in the user program
●
The XY values in the user program using the function p
timebufferadd p.
254 and
timebufferconf
p.254 addressed. An art manages up to 4 XY charts. The number of charts
is determined by the number of arguments.
●
Each XY chart has a legend. In Preparation of 4 XY graphs in the diagram 4 legends are
displayed.
●
Up to 65535 floating-point values are presented. For scaling note here notes in the
description of user functions
timebufferadd
p. 254 and
timebufferconf
p. 254
●
mtimecharts are always global.
Detailed example: p. 115
HandbuchEibPC_USA-30.odt, 2017-05-11
Enertex
®
Bayern GmbH - Erlachstraße 13 - 91301 Forchheim - [email protected]