Write a program to communicate CompactLogix in Linux

colorofwind

Lifetime Supporting Member
Join Date
Jun 2012
Location
Edmonton, Alberta
Posts
38
Hello, we want to write a program in C/C++ to communicate with AB CompactLogix PLC. It will be run in Linux. The basic task of this program is to ask for and receive tag values so we can save them to a database. I guess by sending a string of bytes to PLC, it will reply back with some useful info. We found an AB document which tells the TCP/IP Encapsulation Packet Structure. However, there's a section of bytes (called Transport-PDU) that isn't explained in the document.

I don't know if this is the right direction to tackle the project. Please share your experience or opinions. Thanks a lot!
 
Last edited:
I do know it is possible, the Inductive Automation guys have a SCADA suite that will run in Linux that communicates to a subset of AB hardware. They use OPC-UA IO server.

But other than that, good luck.
 
I do know it is possible, the Inductive Automation guys have a SCADA suite that will run in Linux that communicates to a subset of AB hardware. They use OPC-UA IO server.

But other than that, good luck.

Thanks. I checked their website. It seems that it's commercial and not free. I know it's very hard to start from scratch, but the other genius programmer in the group may figure it out :unsure:
 
Thanks. I checked their website. It seems that it's commercial and not free. I know it's very hard to start from scratch, but the other genius programmer in the group may figure it out :unsure:


And the time you or the other geniuses spend will cost you more then just buying it in the first place. Or is this an intellectual exercise?
 

Similar Topics

Hello everyone, We have a PLC Omron CJ2m CPU12, it contains an old program and it is UM read protected by password. Now we have a new program...
Replies
0
Views
531
Hello friends. I need to write a program. This is exactly what is asked of me: When Sensor 1 and Sensor 2 give output, it will allow Robot to...
Replies
3
Views
949
I am trying to import and overwrite program while online with a 5570. I swear you can do this with a 5580. I even tried inhibiting the program...
Replies
1
Views
1,069
I just finished writing my first program! Well PLC program anyway. I used to do a little programming when I was a kid working thru manuals on my...
Replies
11
Views
2,837
Hi guys, I've taken on a new client, rural water district. They have an ancient system, with Scadapacks and NI Lookout. Some of their...
Replies
1
Views
1,770
Back
Top Bottom