Suppose i have 5 same codesys devices. all devices have same applications, same variable delcaration...
From device 1, i would like to access variables in device 3 with IEC code.
Is there a simple way to access remote variables such as "device3.GVL.xTest"?
Another problem is, there could be more than 5 devices, all of the remote device configurations are done by my customer who does not use Codesys Development System. for this reason, i need to configure remote connections dynamically with IEC code.
somelibrary. addConnection ('192.168.0.10', 'Device3');
// now i can access to remote vairables.
Any ideas would be appreciated.
Log in to post a comment.