{}

Våra varumärken

Impact-Company-Logo-English Black-01-177x54

Välkommen till Schneider Electrics webbplats

Välkommen till vår webbplats.
Hur kan vi hjälpa dig idag?
Video - How to use the Parameter property on EcoStruxure Operator Terminal Expert?

Issue:

Is it possible to use one content screen to display variables of multiple equipment like pumps, motors, etc?

Environment:

EcoStruxure Operator Terminal Expert version 3.3 or higher

Cause:

It takes a lot of time to create a content screen to display the variables of each equipment. Having a single content screen that takes the variables associated with equipment 1, equipment 2, etc would make things easier.

Resolution:

Using the Parameter property in the Content Display, it is possible to have 1 content display for more than 1 equipment.

The property can only be used inside the Content Screen Script.

The variables for the equipment need to be an Array.

Please see attached file as an example, the sample project was created on EOTE v3.3 SP1. Please use EOTE v3.3 SP1 or higher to open the sample project.

Steps:

1. Create an array of the structure of your equipment. For example:

Array variables

2. Create a bool array as the same size of the number Equipment you have. This Array will be used for the Content Visibility. Note the Initial Value for this variables is 1.

Visibility Array

Initial Value

3. Create the content screen. As an example, we are going to use the following:

Content Screen

4. Switch to the Script section and add the following script:

a) For the button that will "close" the content screen:

Script Close

Where the variable is: Content_Vis[Content1.Parent.Parameter].Value

b) For the objects that display data of the equipment, for example the toggle switch to turn the motor on or off:

Script Equipment

Where the object in both cases is: ToggleSwitch1.CurrentValue

The variable is: Motors[Content1.Parent.Parameter].TurnONorOFF

Repeat b) for all the objects needed, like numeric displays.

Note: Instead of using the index value [0, 1 or 2], the parameter property used is: [Content1.Parent.Parameter].

5. Test the application.




Note: The sample project was created on EOTE v3.3 SP1. Please use EOTE v3.3 SP1 or higher to open the sample project.

Schneider Electric Sverige

Bilagor
Parameter_sample_V33SP1.vxdz [52.5 KB]
Utforska mer
Produktfamilj
Artiklar som kan vara till nytta
Utforska mer
Produktfamilj