@Jcadorette
We can implement something very similar to what is shown in the script example from @tedsch though we need to remove functions and REQUESTHTTPX. I see two potential options that we have here.
Option 1: FTP Instant Value
In this example we would simply FTP the instant value text file between eWON’s. This would allow you to essentially send the values from one eWON to another. Now the important part here is we need to ensure that we have matching tags on each eWON.
We can use a script here as well if we would like it to occur on specific instances. In my script below I am simply detecting a change to the tag named ChangeTag.
ONCHANGE "ChangeTag", "GOTO SendInstantValue"
This script section actually is what does the export.
SendInstantValue:
i$ = "Your second eWON IP address"
u$ = "Admin username for second eWON"
p$ = "Admin password for second eWON"
PUTFTP "inst_val.txt", "[$dtIV $ftT $flA]", u$ + ":" + p$ + "@" + i$
LogEvent "Instant values for Tags of Group A exported to " + i$,100
End
Now as mentioned this will require a tag named ChangeTag on the other eWON as well. Additionally the tag we need to export needs to be in tag group A. This will generate an instant value text file, ftp it into the other eWON and the other eWON will “suck” the recent values out of the file and assign them as the most recent value.
Option 2: Publish the tags via Modbus
So in this scenario we would essentially publish the tag values from one eWON onto its network interfaces and then your other eWON could actually simply poll the Modbus values from the main eWON.
Take a look at this PDF linked below.