FAQ

When will the JPLC have a fancy GUI?
Never. The JPLC was written to be a low level library that interfaces to the PLC. It is a library that other applications should use to avoid the complexity of dealing with the USB subsystem and the IBIOS API to the PLC. There are many potential uses for this library, a UI is but one of them.

When will the JPLC release the 1.0?
Not for some time. There will be a 0.4 release at some point that will contain some of the missing IBIOS commands and additional Flat Memory Map addresses. There may also be some package refactoring to put all of the needed client classes in one place. But I'd like to allow some client applications to be written (by me or others) that will expose any issues/bugs with the library before the 1.0 release.

I'm trying to build the JPLC with the ant build script and it's complaining about a missing ${apache.ivy.dir} What's wrong?
The build uses Apache Ivy to resolve dependencies. You need to set the location of your ivy install in the build.properties file.

I'm trying to build the JPLC with the ant build script and ivy is complaining about unresolved dependencies for javax-usb. What's wrong?
Javax.usb is not available in Maven because it requires the user to build a platform specific library with JNI. So, you will need to download the javax.usb project and build it. You will then need to craft an ivysettings.xml file telling ivy where to find those libraries. You can use the one that is included with the project as an example, swapping out the correct root location of your workspace. You should then be able to use the [module]_[revision]/lib/[artifact].[ext] to resolve the javax.usb libs without any additional copying of artifacts.

I'm trying to run the example applications and I'm getting a jcox.jplc.usb.exception.PLCNotConnectedException?
Well, the first question would be if you do in fact have the PLC connected to a USB port of your computer? ;-> The next question would be have you gotten the javax.usb examples to work? This is the most likely culprit. You can follow the documentation for installation over at javax.usb. Or, you can set up custom UDEV rules that allow a user to read and write to the USB port then pass in java.library.path when you run one of the examples. In any event, you should be able to run the javax.usb examples before attempting to run the JPLC.

Get JPLC at SourceForge.net. Fast, secure and Free Open Source software downloads