Sub Block
The Sub Block allows the user to subtract a variable's value from another in order to use the result
The Sub Block can be found in the B-Line app, after creating a new program
Properties
The only properties that the sub block has are the two input fields: A and B, where the user must choose the variables (parameters)
How to use
The user must go to bLine Logic
In there he creates a program (or edits one)
In the Blocks menu the user can find all the blocks that he can use
Search for the sub bock in the right menu that opens
Then drags the block over a main block like SET or IF
From there, the user just chooses the variables
Example
The above screenshot represents a very basic setup on how to use and apply the and block.
We set up the value of deltaT as a subtraction of cTRT and cTST, then if the value of the subtraction is greater or equal to 10 we turn the Alarm On, if not the Alarm is set to Off