Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The complete list of built-in blocks is presented below.

Commands

CondDelayAdd delay to condition after a transition from false to true before evaluating to true

Email - Send an email using the configured SMTP connector
SetDelay
SetExternal
Wait

Control Flow

If
Return

Expression

Count - Count number of the items which match a condition
DateTimeAdd
DateTimeSub
GridSelectCol
GridSize
LeadLag
LeadLagStageSelect
Limit
Pid
Random

...

AlarmBlock -Generate an alarm based on a boolean variable
BoolLatch Latch a boolean input when it transitions to true after a configurable delay period. Once latched the output remains true until the reset is triggered to true.

CallRoutine - Call a routine within the same program by name
Comment - Comment
ExprStmt - Statement wrapper for expression with side-effects
Reset
Return
Staging
Tag
Tags
DelayedOutputdelayedOutput  - DelayedOutput
DictGet
JobRun
VarCapture

Logical

All - returns if all items in a collection matches a condition
And - Logical-and of boolean values
Any - Returns if any item in a collection matches a condition
CmpEq - Equality comparison
CmpGt -Greater than comparison
CmpGtEq - Greater than or equal comparison
CmpLt - Less than comparison
CmpLtEq - Less than or equal comparison
CmpNotEq - Not equal comparison
InRange -
Not
Or
Xor
IsType

...

Add - Addition: '∑ vals'. Any val which doesn't evaluate to a number is ignored. If no vals evaluate to a number then return null.

Avg Fold vals their standard average or arithmetic mean. Any val which doesn't evaluate to a number is ignored. If no vals evaluate to a number then return null.


Div- Multiply: 'vals₀ × vals₁ × vals₂ ...'. Any val which doesn't evaluate to a number is ignored. If no vals evaluate to a number then return null.

...

Neg
SineWave
Sub - Subtract: 'a - b'. Return null if a or b doesn't evaluate to number.
Threshold
AboveBy - Check if the in number is above base number by a threshold
Abs - Return the absolute value of the number
BelowBy -Check if the in number is bellow the base number by a threshold
Limit
Random
Reset
Within

Others

...

Strings
StrCapitalize
StrConcat
StrContains
StrDecapitalize
StrEndsWith
StrFormat
StrLower
StrMacro
StrReplace
StrSize
StrStartsWith
StrUpper

Time

Date - Get the Date part of  a DateTime
DateTimeAdd Add a duration from a DateTime. If no units are supplied, then minutes will be assumed.

DateTimeSub Substract a duration from a DateTime. If no units are supplied, then minutes will be assumed.

DateToNumber - Convert a date to a number
DateToString - Convert a portion of a date to a string
DtToDtAdd - Add one dateTime to another -- returns duration (always minutes or seconds).
DtToDtSub - Subtract one dateTime from another -- returns duration (always minutes or seconds).
Now
SiteDateTime
Time
TimeToMinutes
TimeToTimeAdd
TimeToTimeSub

...