Note that these blocks need the blue Variable and Constant blocks as well. For this, we will three Blue Comparison Blocks. If you had more conditions, you would use more of the same blocks.Ĥ) Going deeper into the Logical Condition Blocks, we need to establish our comparison blocks. ![]() This will run every 100 ms.Ģ) The next block is the Purple If/Do/Else Block.ģ) For the Logical "OR" of the 3 conditons, we need to snap two Blue Logicial Conditon Blocks together. ![]() ![]() For our example, I have choosen the Peridoc - When - Do block. We can make use of the following items in EcoStruxure Operator Terminal's Blockly script to establish the same multi-conditon IF/ELSE statement:ġ) First we start with an Orange Trigger Block. ![]() Take for example that we need to script the following block of code in Blockly script in EcoStruxure Operator Terminal Expert: Looking for an example on how to script an IF/ELSE statement in Blockly script in EcoStruxure Operator Terminal ExpertĮcoStruxure Operator Terminal Expert (formerly known as Vijeo XD)
0 Comments
Leave a Reply. |