[?]: Arrays in WinCC Flexible

ProTool, WinCC flexible, WinCC, PP/OP/TP/TD/MP
Post Reply
bunglehead
Posts: 109
Joined: Thu Oct 19, 2006 7:00 am
Location: Russia

[?]: Arrays in WinCC Flexible

Post by bunglehead »

Hello,
I have a difficultyusing array tags in WinCC Flexible.
I have absolutely no idea on how to get an element from tag with arraycount > 1.
I tried to use script with:

Code: Select all

   TargetTag = ArrayTag(0) or with

   Smarttags("TargetTag") = SmartTags("ArrayTag")(0).
It doesn't work -- an VB exception appears always, when I try to execute script.

Can anybody help? A
rray usage is necessary for me
bunglehead
Posts: 109
Joined: Thu Oct 19, 2006 7:00 am
Location: Russia

Post by bunglehead »

Resolved..
Arrays work, it was a problem in PLC DWORD to HMI ULong overflow..
Post Reply