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:
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.
3. Create the content screen. As an example, we are going to use the following:
4. Switch to the Script section and add the following script:
a) For the button that will "close" the content screen:
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:
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.
發佈於: 施耐德電機Taiwan
需要協助?
產品選型工具
快速輕鬆地為您的應用找到合適的產品和附件。
取得報價
立即線上提交您的銷售需求,專業團隊將主動聯繫您。
購買地點
輕鬆在您所在地區找到最近的施耐德電機經銷商。
支援中心
在同一位置找到滿足您所有需求的支援資源。