How create a visibility condition based off of an Int Value In EcoStruxure Operator Terminal Expert
Looking for a way to control visibility with an INT variable in EcoStruxure Operator Terminal Expert
Product Line:
EcoStruxure Operator Terminal Expert
Resolution:
In order to control an object's visibility with an INT variable, we can make use of Scripting to control the Visibility property or use a Converter.
Scripting solution:
For Scripting, first we must setup the object's Visbility property to use a Value from a BOOL variable (as illustrated below)
Note: We need to assign a BOOL Variable to the Visibility condition. It does not accept any other type.
In order to control the Visibility with an INT value, we need to write the following Blockly Script. Note that our variable to monitor is named "Var1" and for this example, we care for the value of "8" to show the object and hide the object for any other value.
Converter solution:
An alternative to this script is to create a converter as follows:
Once the converter is created, you can assign any INT variable to the object's visibility condition as follows:
Note that both the Scripting and Converter solution will achieve the same results.
Gepubliceerd voor: Schneider Electric Belgium


Hulp nodig?
Selecteer zelf het juiste product
Vind snel en eenvoudig de juiste producten en toebehoren voor uw toepassingen.
Offerte aanvragen
Dien uw aanvraag online in en een expert zal contact met u opnemen.
Verkooppunten
Vind eenvoudig de dichtstbijzijnde distributeur van Schneider Electric op uw locatie.
Help Center
Vind de antwoorden die u nodig heeft via bladeren door veelgestelde vragen over onderwerpen.