Hi,
I've never written a program to gather data from a PLC before so I'm very new to this. I've found a lot of information about the DF1 protocol on the internet, but have yet to find any sample source code about how to connect to the PLC. I was wondering if anyone had any sample source they could share, or any good resources to get me started. Here is my situation:
I have a MicroLogix 1500 PLC connected to a 1761-NET-ENI ethernet adapter. I would prefer to write my program using PHP, but failing that, C or C++.
If anyone could share a small code example of connecting via ethernet to a PLC using any language, it would be greatly appreciated.
Thank you for your time,
Dan
I've never written a program to gather data from a PLC before so I'm very new to this. I've found a lot of information about the DF1 protocol on the internet, but have yet to find any sample source code about how to connect to the PLC. I was wondering if anyone had any sample source they could share, or any good resources to get me started. Here is my situation:
I have a MicroLogix 1500 PLC connected to a 1761-NET-ENI ethernet adapter. I would prefer to write my program using PHP, but failing that, C or C++.
If anyone could share a small code example of connecting via ethernet to a PLC using any language, it would be greatly appreciated.
Thank you for your time,
Dan