PLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. ictbe2020
  2. PLCnext Technology & PLCnext Controls
  3. Monday, 18 May 2020

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. 

 

Frank PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

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


Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

ictbe2020 Accepted Answer Pending Moderation
0
Votes
Undo

Thank you

I will send you an email.

  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.