Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84650members
353990posts

[Imported] How to write to more that one tag with a button and write one tag to another?

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.

Solved
sbeadle
Janeway Janeway
Janeway
0 Likes
1
464

[Imported] How to write to more that one tag with a button and write one tag to another?

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


Accepted Solutions
sbeadle
Janeway Janeway
Janeway
0 Likes
0
463

Re: [Imported] How to write to more that one tag with a button and write one tag to another?

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

See Answer In Context

1 Reply 1
sbeadle
Janeway Janeway
Janeway
0 Likes
0
464

Re: [Imported] How to write to more that one tag with a button and write one tag to another?

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