FactoryTalk 8.0: how to display choosen tag value from PLC

Suseh

Member
Join Date
Apr 2015
Location
Rome
Posts
62
Hi,

i work on the display where i have list of tags. This names of tags are retrieved from external database.
The full name of every tag is:
Name_of_application:Name_of_Communication_Driver:Name_of_Shortcut_from_RSLinxDriver.Name_of_tag_in_PLC
That name of tag is string data type.

In my screen i am able to choose 10 from full tag list. What i want to do is display the current value of my choosen tags. So, i think, i must retrive it directly from PLC.

So, the know information: full name of tag, and i am looking for the current value of choosen tag.
I try to use "numeric output" with TagGroup Object example from help menu but numeric output doesn't have xxx.value option. What object i should use
to display value?

The second question is what is the syntax when i want to read tag value directly from plc?
PLC.name_of_tag?
or [PLC]name_of_tag or another?
I've tryied both and none of them seems to work.

The last question is the trigger to refresh the tag value.
My screen with vba is with "cache" option (cache after displaying: yes).
If i understand correctly idea of vba in FT i must trigger my sub function with reading the current tag value?

Thanks for help.
 
gclshortt thank you for your answer

I'm afraid that you misunerstood my question.

The problem is how to manage everything in VBA.
I've work on this today and find some idea.
But first answering on my own question.

In both - VBA and standard FT display we use syntax [PLC]name_of_tag.

To display it i use TextBox from MS Activex - i believe it is none-licence object???

What i don't know is how to trigger refreshing?


Another topic is how to dynamic change my group of tag. Do i need deactive group
when i want to add or remove item from it?
 
It's really difficult to determine what you are after.

If you are asking what refreshes a VB form (or the contents of it) you would usually have a timer control on your screen and when it expires it triggers an event and you use that to fire your update - re-read the PLC or whatever.
 
danatomega sorry for that.
The last problem is refreshing issue.

I will check the timer thing. Thanks for idea.
 

Similar Topics

Hello, I have a question, is it possible to display an editable table on an HMI interface? Basically I have a variable: "Dist_Control" with an...
Replies
3
Views
854
Hi Guys, How can I display Current logged in User Name display on FactoryTalk View studio Site Edition? What I did: String Display object >>...
Replies
3
Views
1,093
Considering the incredible time it would take to get a Panelview Plus 7 , I'm going to get the FactoryTalk View ME Station 30 Display Single...
Replies
1
Views
1,130
Hi everyone, I have to convert keypad HMI to Touch screen but I don't know how to convert my Display List Selector from navigation key to touch...
Replies
12
Views
4,168
I'm trying to display a timer's PRE value in seconds. It works when I hit the test display button, but it displays as ?????? on the HMI and also...
Replies
5
Views
1,824
Back
Top Bottom