How can we read/write data from tags in the Global Data Space using a Python script running in the Linux environment of the AXC?
Is there a library or an example script for this procedure? One solution could be write data to the local OPC server of the plc, but that seems cumbersome.
Hi ictbe2020, currently it would be the easiest to use the REST Data Access Interface (Link to the PLCnext Info Center).
By using the package requests it works quite straight forward. We’re working currently on some Python examples and will publish them in our GitHub channel in the next few weeks. If you need before an example please contact me directly (fwalde@phoenixcontact.com) cu Frank
Thank you I will send you an email.