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.
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.