Camille Bauer LINAX A325 Operating Instructions Manual page 112

Table of Contents

Advertisement

Commissioning and use during operation
112
Range functions:
The XX in the following functions stands for one of the inputs described under  Chap. 6.7.1.
Range functions can only be executed via one type of input.
Function
Syntax
sumXX
sumXX(type;from;to)
avgXX
avgXX(type;from;to)
minXX
minXX(type;from;to)
Date/time functions:
Function
Syntax
dow
dow()
time
time()
6.7.5
Decimal character
A comma or a point can be used as the decimal character in the formula editor. Thousand delimiters
are not supported.
6.7.6
Check formula validity/fault condition
A formula is not valid if:
• The channels used are not switched on or are set to the wrong operating mode (is not checked
when the formula is entered since the user may switch on the channel afterwards)
• It contains invalid characters/formulae/functions/operators
• Syntax errors (e.g. incorrect number of parameters) appear in the formulae
• Invalid parenthesis used (number of open brackets <> number of closed brackets)
• Division is by zero
• A channel refers to itself (infinite recursion)
Invalid formulae are deactivated when the setup is accepted or when the unit is started.
Unidentifiable errors:
Where possible, errors in the formula are reported directly when the formula is being entered. Due
to the possible complexity of the formula entered (e.g. deeply nested formulae that refer to various
input variables with an "if" condition), it is not possible to detect every mistake, however.
Description
Totals the values for the input signal range indica-
ted.
Type: signal type (see  Chap. 6.7.1)
From: number of the channel from which the sys-
tem should count (1 = channel 1)
To: number of the channel to which the system
should count (1 = channel 1)
Calculates the average for the input signal range
indicated.
Returns the smallest value for the input signal
range indicated.
Description
Returns the current day of the week as a number
between 1 and 7.
Returns the current time in seconds.
Advanced Graphic Data Manager
Example
sumXX(1;2;5) = sum
of all the current values
from channel 2 to 5
avgXX(1;1;6)
minXX(1;1;6)
Example
Sunday = 1
Monday = 2
Tuesday = 3
Wednesday = 4
Thursday = 5
Friday = 6
Saturday = 7
00:00 = 0s
12:00 = 43200s
23:59:59 = 86399s

Advertisement

Table of Contents
loading

Table of Contents