1
Feature Request / DF1 driver/documentation/help
« on: April 26, 2017, 03:56:46 PM »
Archie,
You have done fantastic work for the industrial community. I can't tell you how many times I search PLCTalk or Control forums and find the answer I need, authored by you! In addition to that, AdvancedHMI is really in a league of its own. I've been happily using AHMI for 3 years now, and it never fails to exceed my expectations! Thank you so much!
I have started working on a project where my license requirements are pretty strict, which sometimes means writing from the ground up (I wish I could use AHMI for this one!). The application is a Linux-based driver/HMI that can interface with a PLC-5 (no ethernet) and various SLC controllers (5/04, etc. also no ethernet) over a serial RS-232 connection.
So far, I've had quite a bit of luck with the SLC using this daemon application: https://github.com/leicht/Df1 The daemon handles the low-level comms over the serial port and listens on a TCP port so I can send commands to it from a different computer or loopback over localhost and use the same machine. It's been pretty slick so far.
I tried applying the same process to the PLC-5 and had far less success. I think I remember this topic coming up periodically, and the answer being that the packet format is different from the PLC-5 to the SLC. I've been using AHMI on my dev pc for troubleshooting, and looking at the AHMI serial logs, I can confirm that the packets are different, but I can't make much sense of why or how.
So here I am. The past few weeks of struggling have landed me here. I have an inkling that I'm doing something wrong, but I can't seem to figure out how to do things right. I was hoping you might be able to point me in the right direction.
Is there any source code or documentation available for the DF1 driver that communicates with the PLC-5? How similar or different is the AHMI version to the ABDF1 version you penned in 2006?
Thanks for taking the time to read my novel,
Alyssa Wells
You have done fantastic work for the industrial community. I can't tell you how many times I search PLCTalk or Control forums and find the answer I need, authored by you! In addition to that, AdvancedHMI is really in a league of its own. I've been happily using AHMI for 3 years now, and it never fails to exceed my expectations! Thank you so much!
I have started working on a project where my license requirements are pretty strict, which sometimes means writing from the ground up (I wish I could use AHMI for this one!). The application is a Linux-based driver/HMI that can interface with a PLC-5 (no ethernet) and various SLC controllers (5/04, etc. also no ethernet) over a serial RS-232 connection.
So far, I've had quite a bit of luck with the SLC using this daemon application: https://github.com/leicht/Df1 The daemon handles the low-level comms over the serial port and listens on a TCP port so I can send commands to it from a different computer or loopback over localhost and use the same machine. It's been pretty slick so far.
I tried applying the same process to the PLC-5 and had far less success. I think I remember this topic coming up periodically, and the answer being that the packet format is different from the PLC-5 to the SLC. I've been using AHMI on my dev pc for troubleshooting, and looking at the AHMI serial logs, I can confirm that the packets are different, but I can't make much sense of why or how.
So here I am. The past few weeks of struggling have landed me here. I have an inkling that I'm doing something wrong, but I can't seem to figure out how to do things right. I was hoping you might be able to point me in the right direction.
Is there any source code or documentation available for the DF1 driver that communicates with the PLC-5? How similar or different is the AHMI version to the ABDF1 version you penned in 2006?
Thanks for taking the time to read my novel,
Alyssa Wells