Python Forum
Connection between Python and PLC
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connection between Python and PLC
#1
Hello,

I am making a communication between a drone and a PLC. The drone is connected to Mission Planner on a Windows PC. I would like to control the drone with the PLC, Mission Planner will make the bridge between these two. But Mission Planner is not really made for comunicating to an external controling device. Python is needed between Mission Planner and the PLC

I know that it is possible to work with a Python script. How can I make a connection between the PLC and the Python script. I thought about a usb module with hard-wired IO or a better but difficulte way with Ethernet. Or maybe it is better for another option? Right now I have a IO module what I can use easily. It would be nice to use that first and have a look later for a better option.

This is the IO module https://www.contec.com/products-services...usb/price/

Could someone help me with the script? I have no experience with Python, I can program in C++, but I want to learn Python.
Reply
#2
If you can code inĀ  C++, then code it in C++/C.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  I don't know what is wrong (Python and SQL connection) shereen 1 117 Yesterday, 01:03 PM
Last Post: deanhystad
  No Internet connection when running a Python script basil_555 8 442 Mar-11-2024, 11:02 AM
Last Post: snippsat
  Connection LTspice-Python with PyLTSpice bartel90 0 280 Feb-05-2024, 11:46 AM
Last Post: bartel90
  Virtual Env changing mysql connection string in python Fredesetes 0 323 Dec-20-2023, 04:06 PM
Last Post: Fredesetes
  connection python and SQL dawid294 4 583 Dec-12-2023, 08:22 AM
Last Post: Pedroski55
  Networking Issues - Python GUI client and server connection always freezes Veritas_Vos_Liberabit24 0 679 Mar-21-2023, 03:18 AM
Last Post: Veritas_Vos_Liberabit24
  Python MYSQL connection does not work after 1h idle zazas321 9 6,617 Oct-07-2021, 12:02 PM
Last Post: ndc85430
  Serial connection connection issue Joni_Engr 15 7,828 Aug-30-2021, 04:46 PM
Last Post: deanhystad
  How can I make a plot representing connection relationship with python matplotlib? Berlintofind 1 1,906 May-08-2020, 09:27 PM
Last Post: jefsummers
  Connection DATABASE to Python MenThoLLt 3 2,376 Jan-17-2020, 10:35 PM
Last Post: DT2000

Forum Jump:

User Panel Messages

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