Indirect Addressing of Array in Panel View Plus 6

JanHoltz

Member
Join Date
Oct 2010
Location
South Africa
Posts
10
Hi Guys,

I have an int array of 500 elements and would like to display them on a panel view plus 6. Now I can't make 500 numerical displays, so I want to display them 10 at a time. My question is; is there a way to indirectly address an array in the panel view? ie: instead of "... MainProgram.X[0]" to say "... MainProgram.X[a]"? And then with an expression or macro increment "a" by one at a click of a button?

I hope that all makes sense and thanks in advance.

Jan.
 
I don't believe you can do this for FT View ME (PanelViews), however if you had SE you could write a VB script to do this for you.

If you can't write a routine in the PLC to do the indexing for you (and move the new value into a display tag for the HMI) there are some other methods outlined in this thread:

http://www.plctalk.net/qanda/showthread.php?t=12504
 

Similar Topics

I'm creating an FB with a variable input and I would like to copy all of the bits to an array (declared as temp) I've declared the array in TEMP...
Replies
8
Views
3,460
I've got a rung that uses the first pass bit to initiate a For argument. In the Routine named 'Alarm' I have something like this...
Replies
15
Views
9,973
Hi guys, Is it possible to decalre a variable then use it on Arry such as: In DB100, I decalred an array as Array1 is Array[1..100] of UDT1...
Replies
3
Views
6,759
Howdy folks, I am an Allen Bradley guy currently living in an Emerson world. Working with Rx3i on PacSystems Machine Edition v. 9.6? i think...
Replies
3
Views
617
Hello, I'm very new to programming with absolutely zero schooling in this field and pretty hands off training in my new role, it's been fun...
Replies
4
Views
665
Back
Top Bottom