(wip)
The blocks are elements used in Logic Builder that, interconnected, build routines and programs.
The blocks are divided in the following categories.
Start routine
Program Variables
Macros
Operation blocks/ Built in blocks
Start Routine
This is a block found on all routines and programs. Its purpose is to mark the start of a routine,
If the routine is set to run On Event, the block will also include a Condition port. This is useful when the routine needs to run if some conditions are met. The condition can be a Get variable, a macro or an operator block
Program Variable Blocks
These are blocks that provide data (for example a temperature sensor).The variables present 2 blocks, a Get and a Set block.
Like variables, variable blocks are color-coded by type as follows:
Number - Purple
Boolean - Green
String - Gold
Time/Date -Teal
Number Blocks
Boolean Blocks
String Blocks
Time/Date Blocks
Macro Blocks
Built in blocks
These are presented in the Block Library. These are used to channel conditions and commands between other types of blocks.
The complete list of built-in blocks is presented below.
Commands
CondDelay
Email
SetDelay
SetExternal
Wait
Control Flow
If
Return
Expression
Count
DateTimeAdd
DateTimeSub
GridSelectCol
GridSize
LeadLag
LeadLagStageSelect
Limit
Pid
Random
Language
AlarmBlock
BoolLatch
CallRoutine
Comment
ExprStmt
Reset
Return
Staging
Tag
Tags
DelayedOutput
DictGet
JobRun
VarCapture
Logical
All
And
Any
CmpEq
CmpGt
CmpGtEq
CmpLt
CmpLtEq
CmpNotEq
InRange
Not
Or
Xor
IsType
Math
Add
Avg
Div
IsEven
IsOdd
Max
Min
Modulo
Mult
Neg
SineWave
Sub
Threshold
AboveBy
Abs
BelowBy
Limit
Random
Reset
Within
Others
Invoke
Ternary
Strings
Strings
StrCapitalize
StrConcat
StrContains
StrDecapitalize
StrEndsWith
StrFormat
StrLower
StrMacro
StrReplace
StrSize
StrStartsWith
StrUpper
Time
Date
DateTimeAdd
DateTimeSub
DateToNumber
DateToString
DtToDtAdd
DtToDtSub
Now
SiteDateTime
Time
TimeToMinutes
TimeToTimeAdd
TimeToTimeSub
Weather
WeatherConditions
WeatherInfo
WeatherSunrise
WeatherSunset