Step7 - FB array element comment

ged

Member
Join Date
Jun 2010
Location
Sydney
Posts
18
Hello, I have created a FB and in the declaration, added an array of bools as a stat and cannot figure out how to add a comment to individual elements. When the data block is generated, the comment fields are greyed out so I'm concluding they are edited in the declaration.
 
An array is a valid data type for my application, surely I should be able to use this and add comments
 
That be the limits for array, cannot add individual comments. As it is presumed that you have x amount of identical items.
In a struct, you can add individual comments as it's not presumed that all items are identical.

Whether it be a valid data type or not is irrelevant in this case.
 
Actually, I did create a UDT as an option, but I just wanted to clarify the comment limitation. Thanks for info as my options are now either a UDT or Structure for my application.
 

Similar Topics

Hello all.... I'm still coming to terms with Siemens PLC programming after many years of only knowing AB, so be gentle - :rolleyes: I've got an...
Replies
11
Views
4,336
Hi' I am trying to make a "lookup" in an table I have created in an array. My tabel looks like this: 0,920 21,75 200,1 0,00047 0,910 24,99...
Replies
3
Views
3,698
Hey Guys.. Here's my problem. I have an array of 9 characters, a "part number". I need to compare this array to another part number that is...
Replies
10
Views
6,605
I've got an application where a robot is running 10 objects one after another past a camera so I need to buffer the result of the camera test...
Replies
20
Views
9,323
Okay folks, this is (hopefully) the last question from me for a while :-P I've got this 32 byte array of bytes I wish to write to the I/O area...
Replies
6
Views
3,531
Back
Top Bottom