WinCC Flex ...access a boolean array

cjd1965

Lifetime Supporting Member
Join Date
Apr 2007
Location
UK
Posts
1,659
Hi
I have a boolean array within my PLC inside a DB

Array[0...32,0..100) of type BOOL

In WinCC flex how would I address an array element directly? Say Array(1,1).

Do I have no choice but to create tags for each bit? I guess I could use internal tags and write a script to run on each press which would update the PLC tags but this seems a bit cumbersome to me

The intention is to have a grid of selections which bit toggle themselves if chosen. The PLC code is written in SCL already.

It is a MP277 touch panel
 
In stead of setting up an Array Tag manually, you should be able to browse for the PLC tag. And then you should be able to see it as a 2-dimensional variable.
 
OK Jesper thanks. Not ideal because it is much quicker to be able to simply type the address but i think i will export a couple into excel and add the lot that way

Cheers
 

Similar Topics

Hi Is this what is required to be able to view the HMI via a ethernet connected PC? A customer wants to be able to view the HMI Panel from the...
Replies
2
Views
2,432
Hi, I have a WinCC flexible application with option Act as OPC server active and I cannot reach the OPC server remote. Local is working. When I...
Replies
1
Views
3,569
Hi All ! what are the significance of Sm@rtsevice and Sm@artaccess in winccflex? what is difference between them and when to use which one? i...
Replies
1
Views
3,879
I'm continuing my Siemens education. I need some help with compatibility details. My customer has a machine that was made by a company no longer...
Replies
6
Views
4,039
Hello all. I mainly work with Siemens PLC's and panels for our machines. But now I am faced with a pilot project that has to be as price friendly...
Replies
15
Views
8,988
Back
Top Bottom