A while back, the fine folks at Host Engineering sent my company the SKD for communicating between a windows program and some DirectLogic PLC's. The small problem was that it was written for an older version of basic and wasn't completely compatible with the current programming software downloadable from Microsoft. I edited the program some and created some new methods so that instead of having to figure out datatypes and hex values you now have functions that read like ReadValue("X0", 1), where the 1 is PLC #1, and it returns either "on" or "off".
The program is coded specifically for DirectLogic DL06 PLC's, and I make absolutely no claim to completely understanding the base SDK, but I thought I'd put it up in case someone else may want to take a look. To get it to run, you'll need to put the HEI32_3 HEI_PAS dll's in the C: folder and you may need to download and install the Microsoft .Net Framework 4.
Anyway, the program and source code is attached and as always, any kind of feedback or ideas would be greatly appreciated.