HandbuchEibPC_USA-30.odt, 2017-05-11, Version
P.
319 of 349
exp(Var1)
Exponential function
log(Var1, Var2)
Logarithm:
Var1 = Base
Var2 = Argument
pow(Var1, Var2)
Power:
Var1= Base
Var2= Exponent
sin(Var1)
Sine
sqrt(Var1)
Square root
tan(Var1)
Tangent
Measurements
average(Var1, Var2, ... VarN)
Return value: Average of the given variables which have all to be of the same data type.
min(Var1, Var2, ... VarN)
Return value: The minimum of the given variables which have all to be of the same data type.
max(Var1, Var2, ... VarN)
Return value: The maximum of the given variables which have all to be of the same data type.
Time-based control (timer)
after(Control, msTime)
Control: Binary value
msTime: Time in ms (<2
64
)
afterc(Control, msTime, xT)
Control: Binary value
msTime: Time in ms (<2
64
)
xT: remaining time (in ms)
delay(Signal, Time)
At the transition of the variable Signal from OFF to ON, the function starts a timer and sets the return value of the function to ON.
After the expiry of the time in ms, the output returns to OFF.
delay(Signal, Time, xT)
At the transition of the variable Signal from OFF to ON, the function starts a timer and sets the return value of the function to ON.
After the expiry of the time in ms, the output returns to OFF.
xT: Remaining time
cycle(mm,ss)
The return value is not equal to zero when the time has been reached. When the time is reached (and matches exactly), the return
value assumes 1.
mm= Minutes (0...255)
ss = Seconds (0..59)
wtime(dd,hh,mm,ss)
Weekly time switch:
ss: Seconds (0..59 )
mm: Minutes (0..59 )
hh: Hours (0..23)
dd: Day (0=Sunday, 6=Saturday)