EasyManua.ls Logo

MultiTrode MultiSmart - Pump Control Tags; Logic Engine Tags Reference

MultiTrode MultiSmart
260 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MultiSmart Installation & Operation Manual
25.3 Mathematical Operators
The following mathematic operators can be used to create expressions:
Operation Description
and Logical and
or Logical or
Xor Logical xor
! Logical Not
+ addition
- subtraction
* multiplication
/ floating point division
>= greater than or equal to
<= less than or equal to
!= not equal t
== equal to
> greater than
< less than
^ raise x to the power of y
() parenthesis
Table 41Logic Engine Mathematic Operators
25.4 MultiSmart Logic Functions
The following table lists MultiSmart-specific logic functions which can be used to build expressions:
Function Description
valueof Get the value of a MultiSmart tag: valueof(“pump.1.running”)
now Get the current date/time using the local time
date Convert a time broken into segments to seconds .e.g. Date (1, 1, 2005, 12, 0, 0)
hour Returns the hour of the day in 24 hour localtime.
minute Returns the minutes of the current hour.
second Returns the seconds of the current minute.
day Returns the day of the month in localtime.
month Returns the month of the year in localtime.
year Returns the year in localtime.
delay
Pause the running of this expression for the number of milliseconds as specified by the delay
parameter.
Table 42Logic Engine Functions
MultiSmart_IO_Manual_R20 Page 217 of 260

Table of Contents

Other manuals for MultiTrode MultiSmart