Control List Selector states caption

I am using factory talk view 8.0 and wondering if there is a way to send the state caption to sting data type at compact logix PLC? is there another way to send a string from PV plus 6 to PLC tag? I can see the state position in the list at the PLC tag. if this question was asked before on this forum, please direct me to it.
Thanks
 
No i don't think so, you could enter the state strings into an array in your PLC then use the control list value as an indirect address to get the string?

Ash
 
That is exactly what I ended up doing and it works ok, but then I thought these comments pre-entered into an array (say, CommentsArray) might not contain what an operator could require, can a string be entered at HMI and saved to the next empty CommentsArray element?
 
nmk said:
...can a string be entered at HMI and saved to the next empty CommentsArray element?

You can use a String Input Enable object to enter a string from the HMI terminal to a PLC tag, say NewComment - data type STRING. When you press it a popup keypad or scratchpad will open allowing you to enter your new string.

I would always write the new string to a fixed tag in the PLC and then use PLC logic to decide where it goes in the array, according to which position is the next free, or which ever position you want.

You could index a pointer as to where it goes. Each time you move a new comment into an array position, index the pointer. As your array will only be so long, you would have to make sure an Operator could not keep entering new comments beyond the array size. In other words, do not allow the pointer to index beyond the last position. I would make the array more than long enough, and then some, but also inhibit the logic if the index pointer reaches the known end of the array.

Regards,
George
 

Similar Topics

Hello, Just like the title says. I am trying to build a CLS in Ignition that acts like the one in FTVS. Background. We have a full PlantPAx 5.0...
4
Replies
807
Views
i'm new here but i have a question that's been driving me nuts the last couple days. running a micrologix 1400 and FactoryTalk View Studio ME. I...
2
Replies
3,259
Views
I have an issue Im trying to overcome and I think im just over thinking it. Maybe you all could help. Operation description.... 1) Operator...
5
Replies
4,868
Views
Good Morning All. I have a question about using a control list selector in FTV.ME V8.0. I set up the list with states that look at an array of...
2
Replies
3,307
Views
Hello peeps. I thought I saw something once where i could disable certain selections in a control list selector based on a condition? Basically...
1
Replies
2,088
Views
Top