Premium Only Content

Using Python To Read PLC Data With Visual Studio By Importing Pycomm3
Reading Controllogix data from the plc has now moved into a much simpler form with Python 3 by importing Pycomm3 or PyLogix.
Before Windows disabled the DDE (Dynamic Data Exchange), we could right simple DDE code to read & write data with the plc processor.
DDE was deemed a security risk so using excel for this task is no longer a good resource moving forward so this is where Python is the tool of choice. Which is the exact reason why I spent time learning to use python & from digging into things like Github, I found two simple imports to use.
Pycomm3 or PyLogix
Here is a link to PyComm3:
Doc: https://docs.pycomm3.dev/en/latest/
GitHub: https://github.com/ottowayi/pycomm3
With the growth of open source code, things may be a lot better in the coming future than I show in this video, what I am trying to show in this video is a simple way to communicate by another resource.
Use cases are all different so as I find good use cases then I may show more videos on this, with that said if this video is received well & everyone wants to know more.
The examples in this video are simple & are meant to be to give a clear understanding of a tool we can use. The resources provided have much greater information if you are interested.
I have no affiliation with Github nor the person who developed Pucomm3 or Pylogix, I just think these are helpful tools that we all have an opportunity to use & grow from.
0:00 Quick Intro
1:05 Importing Pycomm3 in Visual Studio
1:55 Python 3 code to read PLC data via IP address
3:10 Testing the Python code to read PLC data
3:35 Other elements of Pycomm3
5:30 Using Pylogix in Visual Studio
5:50 Importing Pylogix
6:20 Writing the Pylogix code example
7:50 Creating a new tag in our PLC for testing
9:45 Testing the Pylogix read
14:05 Recommended videos for you
I hope it helped.
Thank you for watching the video.
Learn, Implement, Succeed
If you are interested in getting serious about your knowledge & learning how to better your career then check out our training center.
Visit:
https://www.allen-bradley-plc-training.com/
Other social media:
LinkedIn: https://www.linkedin.com/in/shane-welcher-sr/
Facebook: https://www.facebook.com/OnlinePLCSupport
#Python #Pylogix #Pycomm3 #Studio5000
-
7:41
Shane Welcher
1 year agoScaling a PIDE Output for a 4 to 20MA signal
52 -
59:03
The Rubin Report
2 hours agoCharlie Kirk Notices Something in the Charlotte Stabbing That Most Are Afraid to Admit
17.1K41 -
2:03:56
Benny Johnson
3 hours agoBOMBSHELL: Massive Judicial Corruption Scam That ALLOWED Black Killer to Murder in Charlotte EXPOSED
35.3K40 -
13:24
Peter Boghossian
3 days agoWhy Can't TRANS People Answer This Simple Question, "What Is Trans?"
1903 -
LIVE
The Shannon Joy Show
1 hour ago🔥🔥Could Trump Trigger The Globalist Great Reset?🔥🔥
210 watching -
LIVE
Trumpet Daily
1 hour agoTrumpet Daily LIVE | Sept. 9, 2025
421 watching -
27:46
Rethinking the Dollar
2 hours agoUS Jobs Report DECEPTION – Precious Metals Smell Blood (Fed To Cut BIG) | Morning Check-In: Let's Talk...
5.58K2 -
1:00:08
VINCE
4 hours agoBREAKING: Trump Goes To 'War' In Chicago | Episode 121 - 09/09/25
146K133 -
LIVE
LFA TV
6 hours agoLFA TV ALL DAY STREAM - TUESDAY 9/9/25
4,656 watching -
1:34:42
Dear America
4 hours agoTrump DESTROYS Dems: ‘Blood On Their Hands!’ — America Won’t Survive Without Law & Order”
84K49