How can we help you today?

How to use dynamic indexing with Industrial Graphics in EcoStruxure Machine SCADA Expert?

Issue:

Need to dynamically reference different elements of an array from inside an Industrial Graphic screen, allowing a single graphic to be reused for multiple devices.

Product:

EcoStruxure Machine SCADA Expert

Environment:

SCADA Configuration Software in Windows

Resolution:

An Industrial Graphic screen can be configured to change the value of an index tag. A script outside the Industrial Graphic can then use this index to dynamically reference the corresponding array element.

For example, create an array, SelectMotor, containing the structures for the different devices, and use an Integer tag, such as Dynamic, to select the desired array element.

1

-Motor = Structure containing the variables of interest.

-SelectMotor = Array of type Motor, where each array element represents a different motor.

-Dynamic = Integer tag used as the dynamic index for SelectMotor.

-Startparameter = Boolean tag used to display the value of the Start Boolean member of the selected Motor structure.

The Industrial Graphic screen changes the value of the Dynamic tag.

2

A script outside Industrial Graphics can then use:

$Startparameter = $SelectMotor[$Dynamic].Start

3

In this example, $Dynamic determines which motor in the $SelectMotor array is referenced. $Startparameter then receives the value of the corresponding motor's .Start tag and can be displayed inside the Industrial Graphic.

4

Changing the value of Dynamic therefore allows the same Industrial Graphic to work with different devices without creating an individual graphic for each one.

If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.

If you are not located in North America, please contact your local Customer Care Center for assistance:

Support | Schneider Electric Global (se.com)

Schneider Electric UK

Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:
  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and contact centre
  • Where to buy
  • Get a Quote
  • Find our Offices
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • General Terms of Business
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings
  • Preference Center