Hello Sir, Wish you fine Excuse me how is it possible to add an offset to the reading measurement, for example, our reading is 212 and we want to decrease 2 automatically
Hi! I have a question about tags inside scripts. How can I refer to a tag in script with not entire tag name, but only with part of it? For inst., you have 10 tags named "tag_1_aaa"..."tag_10_aaa" and want to work with each of them one by one. You can specify if tag name contains "_aaa". The question is, what would be the correct syntax in this case? C-scripts preferred. Thnx =)
I don't get what do you asking:) Do you mean that you want save/read values from created tags during the script is running? Or something else? Let me know Regards Luke
@@SCADAWorld I mean the same you did in this lesson but in C-script. Could it be the same syntax with declaring prefix and suffix? And in VBS we have HMIRuntime.tag. But for C it should be GetTag*** command?
@@ОленаСагайдак-ф5з Yes, generally you need to take tags by GetTag and create for loop function by doing some SPRINTF to get correct tag name to work with:)
@@SCADAWorld Thank you for quick reply! But some question still remains. If tags contain different text in prefix part and only suffix part is in common. How to write condition for getting tags containing this suffix?
Thank you for the video. It was helpful.
Glad it was helpful!
hello Sir, Can you creat the structure tag with tag outside communication Through OPC server
Hi dear multiple tags how to sum in the one tag??
Hello Sir, Wish you fine
Excuse me how is it possible to add an offset to the reading measurement, for example, our reading is 212 and we want to decrease 2 automatically
Just simple calculations with vb scripting👍 you can use also our training for vb it will help you with it
Hi! I have a question about tags inside scripts. How can I refer to a tag in script with not entire tag name, but only with part of it? For inst., you have 10 tags named "tag_1_aaa"..."tag_10_aaa" and want to work with each of them one by one. You can specify if tag name contains "_aaa". The question is, what would be the correct syntax in this case? C-scripts preferred. Thnx =)
I don't get what do you asking:)
Do you mean that you want save/read values from created tags during the script is running? Or something else? Let me know
Regards
Luke
@@SCADAWorld Exactly =) C-script for searching tags with specified text in name and getting value from these tags
@@SCADAWorld I mean the same you did in this lesson but in C-script. Could it be the same syntax with declaring prefix and suffix? And in VBS we have HMIRuntime.tag. But for C it should be GetTag*** command?
@@ОленаСагайдак-ф5з Yes, generally you need to take tags by GetTag and create for loop function by doing some SPRINTF to get correct tag name to work with:)
@@SCADAWorld Thank you for quick reply! But some question still remains. If tags contain different text in prefix part and only suffix part is in common. How to write condition for getting tags containing this suffix?