Showing an array value in WinCC Flex doesn't work

userxyz

Member
Join Date
May 2002
Location
any
Posts
2,768
Showing an array value in WinCC Flex doesn't work ??


Array index 1 has value 4:

DB3322.jpg



Array setting in the DB:

DB3323.jpg



Showing The value in wincc flex:

DB3324.jpg



In Runtime I have zero ???

DB3325.jpg



WinCC Flex configuration:

DB3326.jpg
 
In WinCC Flex, array numbering always start from zero.
Thus, your variable ORDER_NUMBER.VARi[1] in Flex points to ORDER_NUMBER.VARi[2] in S7.
To align both arrays on Flex and S7, change the S7 array from ARRAY[1..500] to ARRAY[0..499].
 
Okay thanks

Weird, why is this different then a PLC ?


JesperMP said:
In WinCC Flex, array numbering always start from zero.
Thus, your variable ORDER_NUMBER.VARi[1] in Flex points to ORDER_NUMBER.VARi[2] in S7.
To align both arrays on Flex and S7, change the S7 array from ARRAY[1..500] to ARRAY[0..499].
 
Thanks

Okay thanks

Weird, why is this different then a PLC ?


JesperMP said:
In WinCC Flex, array numbering always start from zero.
Thus, your variable ORDER_NUMBER.VARi[1] in Flex points to ORDER_NUMBER.VARi[2] in S7.
To align both arrays on Flex and S7, change the S7 array from ARRAY[1..500] to ARRAY[0..499].
 
:)

First the Byte Swapping thing with the discrete alarms, now this...

tssss

Weird guys at SIemens,

I've red something funny a while ago... 2 Siemens dudes that were engineers. The one eated the other one. Canibalism. In germany. They're totally crazy :)


cjd1965 said:
Thats Siemens logic for you. :)
 
Jesper

DO you know why I can't connect many I/O fields to an array of strings ? See my other post

JesperMP said:
In WinCC Flex, array numbering always start from zero.
Thus, your variable ORDER_NUMBER.VARi[1] in Flex points to ORDER_NUMBER.VARi[2] in S7.
To align both arrays on Flex and S7, change the S7 array from ARRAY[1..500] to ARRAY[0..499].
 

Similar Topics

Good morning, We've had an issue with a couple of servo valves and was wondering if anyone had seen anything similar. After a drop in pressure...
Replies
2
Views
93
Hello, I am using a Hitachi Micro EHV+ for a small project, and I wanted to have a Web visu, done with Codesys V3.5 SP13 Patch 2. I test the...
Replies
6
Views
291
Hello. I am working in FTVSE v8. I have many trends set up some of them work others do not. The ones that don't work show the foot print of the...
Replies
3
Views
239
Hello everyone, I am working in a platform and we installed FTV CLIENT SE V 12 IN ALL THE CLIENTS COMPUTERS, we have 6 clients and only 1 is not...
Replies
0
Views
98
Searching edit zones within all routines and other criteria still says no results found, yet I still have the "edits present" indicator at the...
Replies
6
Views
253
Back
Top Bottom