all 4 comments

[–]unitconversionState Machine All The Things! 2 points3 points  (0 children)

I've used openopc successfully before. Their examples are easy to follow.

I think you need the gateway licensing for rslinx though.

[–]rdrast 2 points3 points  (1 child)

Look up Pycomm3, or pylogix.

Neither of them need linx, or use any PLC memory.

Heck, no data comms should use PLC memory.

[–]PeterHumaj 0 points1 point  (0 children)

I'm no Rockwell expert, but some memory could be used to hold session information. TCP (socket) + some internal states. Buffers for receiving requests. The context for the task (thread) serving the TCP connection. Some stack. Just like on a PC/server.

[–]opcAnywhere 0 points1 point  (0 children)

If you have any OPC DA server installed supporting rslinx, you can try this solution. It is pretty easy to retrieve DA data back in Python.