Skip to content

Extra

extra

ASSIGN

OUT is equal to PT2 if IN is True, else OUT is equal to PT1.

assign

Inputs  
IN Conditional input.
PT1 Preset value when IN is False.
PT2 Preset value when IN is True.
Outputs  
OUT PT2 if IN is True; PT2 otherwise.

DATETIME TO NUMERICAL

Converts a DateTime into numerical values.

Inputs  
IN DateTime to convert.
Outputs  
YEAR Year.
MONTH Month.
DAY Day.
HOURS Hours.
MINUTES Minutes.
SECONDS Seconds.
DAYOFYEAR Day of the year (from 0 to 366).
DAYOFWEEK Day of the week (Sunday = 0, Saturday = 6).
TIMEOFDAY Current time.

NUMERICAL TO DATETIME

Converts numerical values into a DateTime.

Inputs  
YEAR Year.
MONTH Month.
DAY Day.
HOURS Hours.
MINUTES Minutes.
SECONDS Seconds.
Outputs  
OUT Outputs the DateTime value.

PID

Proportional-integral-derivative controller.

pid

Inputs  
PV Measured process value.
SP Set point.
KP Proportional gain (default is 1).
KI Integral gain.
KD Derivative gain.
CV HIGH Specifies the maximum value of the output.
CV LOW Specifies the minimum value of the output.
Outputs  
CV Control variable.