EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-06 02:38 PM . Last Modified: 2023-05-03 12:26 AM
>>Message imported from previous forum - Category:ClearSCADA Software<<
User: Tanquen, originally posted: 2019-03-24 07:43:11 Id:390
I've been using Server.SetOPCValue to write a value to a tag but I now need to write one tag to another.
So this works:
Server.SetOPCValue ".Alternation.I/O.F1LL", 1
Server.SetOPCValue ".Alternation.I/O.F2LL", 2
But this don't:
Server.SetOPCValue ".Alternation.I/O.F1LL", ".Alternation.I/O.F3LL"
Server.SetOPCValue ".Alternation.I/O.F2LL", ".Alternation.I/O.F4LL"
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-06 02:38 PM
>>Responses imported from previous forum
Reply From User: adamwoodland, posted: 2019-03-24 21:51:04
Try:
Server.SetOPCValue ".Alternation.I/O.F1LL", Server.GetOPCValue(".Alternation.I/O.F3LL")
Reply From User: Tanquen, posted: 2019-03-25 14:49:35
Thanks, that should have been the first thing I tried. Just not thinking. Like Server.SetOPCValue is a magical command that should take care of reading and writing tag values.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-06 02:38 PM
>>Responses imported from previous forum
Reply From User: adamwoodland, posted: 2019-03-24 21:51:04
Try:
Server.SetOPCValue ".Alternation.I/O.F1LL", Server.GetOPCValue(".Alternation.I/O.F3LL")
Reply From User: Tanquen, posted: 2019-03-25 14:49:35
Thanks, that should have been the first thing I tried. Just not thinking. Like Server.SetOPCValue is a magical command that should take care of reading and writing tag values.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.