Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Industrial application
#1
Hello everyone,

I'm working on a project to detect the welding joint on a square tube.
For this I wrote a python 3 script using openCV, numpy and matplotlib.

Basis principle of the script:
- Takes picture with webcam when I press spacebar
- Detects if welding connection is present or not

Now I want to communicate with a PLC..

So the picture gets taken when a certain output is sent from the plc. And the detection bits gets stored in the PLC memory.

My questions:
- Best way for this kind of plc communication (snap7?)
- Should I use micropython?


Thanks


Cyril De Brandt
Reply
#2
Take a look at: https://pypi.org/project/pycomm/
This library was written to communicate with a PLC.
I haven't used it, so cannot vouch for it.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send data from a python application to an external application aditya_rajiv 1 2,131 Jul-26-2021, 06:00 AM
Last Post: ndc85430
  Files to store configuration and steps for a industrial process control application Danieru 1 1,753 Aug-03-2020, 05:43 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020