MultiSmart Installation & Operation Manual
24.3.1.3 CurrentTime
This function returns the current time of the MultiSmart as seconds (UDINT) since 1/1/1970.
24.3.1.4 CurrentTimeOfDay
This function returns the current time of the day in ISaGRAF TIME format.
24.3.1.5 DailyTimer
This function receives a start time and duration as inputs, and returns a Boolean value as an output. The
output is returned as true when the time reaches the start time, and remains true for the period defined by
the duration.
24.3.1.6 DateTime
This function takes the number of seconds of the particular time since 1/1/1970 as input (UDINT) and outputs
the year, month, day, day of the week (0= Sun, up to 6=Sat), hour, minute and seconds. All outputs are
Unsigned Integers. This function is especially useful when used with the CurrentTime function.
24.3.1.7 Exec
This block can be used for executing shell commands directly on the MultiSmart. It is a powerful feature, and
should only be used by experienced developers. The response of the shell command is returned as an
output, and this response can also be saved (and optionally appended) to file.
24.3.1.8 GetPumpMode
This block receives a pump number as an input and returns whether the pump is in auto, off, manual, or
semi-auto mode, or whether the pump is decommissioned.
24.3.1.9 HourlyTimer
This function is like the DailyTimer function, except that it can be used to trigger an output at the same time
each hour.
24.3.1.10 IsPumpAvailable
Pumps become unavailable due to critical faults. For example, a Motor Over-Temperature fault will cause the
pump to be locked out by default, so that it cannot be run. Other faults (e.g. Contactor Auxiliary) do not cause
the pump to be locked out. The IsPumpAvailable function block returns whether a specified pump is
currently available to be run. It receives a pump number (1,2,3...) as an input, and returns a Boolean result
specifying whether the selected pump is available.
24.3.1.11 IsPumpRunning
This function returns whether a pump has been called to run. This doesn't reflect pumps running in external
mode, and doesn't reflect whether the pump contactor has been closed.
24.3.1.12 IsPumpStarting
This function returns whether a pump is currently starting. When a pump is called to run, and count-down
start timer is activated, which takes into account various inter-pump delays. The pump is defined to be
starting whilst this timer is active.
24.3.1.13 LogMessage
This function can be used for diagnostic purposes, and provides traceability of significant events. When the
function is called, a message is written to the system log (/var/log/messages).This log can be retrieved by
saving log files to a USB from the LCD, via Configurator, or via DNP file transfer (by requesting logs.tgz).
MultiSmart_IO_Manual_R20
Page 207 of 260
Need help?
Do you have a question about the MultiSmart and is the answer not in the manual?