Welcome, Guest
Username: Password: Remember me

TOPIC: How to access a element of an Array

How to access a element of an Array 4 years 4 months ago #97

  • Rechsteiner
  • Rechsteiner's Avatar
Hallo,
I have Tag: its an Array of 10 [0,1,2,3,4,5,6,7,8,9] Short 16bits and it reads the values correctly from the PLC.
( I display it with a Label-Object)
Question: how do I access e.g.for a meter the 3rd Value ?

Do you have simple examples ?
I am looking forward to your answer.
regards: Martin
The administrator has disabled public write access.

How to access a element of an Array 4 years 4 months ago #98

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 411
  • Thank you received: 51
  • Karma: -112
Hello,
Unfortunately at this moment TeslaSCADA2 has no this possibility. I think in the next release we'll realize script for array's elements access like in our other products:
Best regards,
Ruslan
The administrator has disabled public write access.

How to access a element of an Array 4 years 4 months ago #99

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 411
  • Thank you received: 51
  • Karma: -112
Hello,
We added script objects Index Read and Index Write in TeslaSCADA2 too. Now you can read array's elements.

Best regards,
Ruslan
The administrator has disabled public write access.
Go to top