Member Login
Search
Past & Future Posts
Sponsored Communities
Cool stuff
Neat Stuff

Visit our shop for nerds in control lifestyle products.
Thermal Overload
The threads that wouldn't die...
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
Fortune
fortune: cpu time/usefulness ratio too high -- core dumped.
RSS Feed
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Has anyone every successfully gotten an Allen Bradley PLC (or any other) to talk to Java.
I have found .Net drivers out there for this task, but I prefer Java. I'd like to run a Linux server with a Java application to host a supervisory application.
I'll probably use .Net if I can't find anything else.
Any tips would be great!
I have found .Net drivers out there for this task, but I prefer Java. I'd like to run a Linux server with a Java application to host a supervisory application.
I'll probably use .Net if I can't find anything else.
Any tips would be great!
There are different kinds of AB (Rockwell) PLC with different protocols. The following link is for the ABEL library. http://sourceforge.net/projects/abplc5/
A lot of PLCs will speak Modbus, either as the main or secondary protocol. http://sourceforge.net/projects/jamod/
There is JMatic for Siemens PLCs.
http://www.langner.com/en/products/jmatic2.0.htm
Most of the DotNet stuff you see is actually just a C# or VB wrapper around an existing 'C' library. Most drivers are written in 'C'. If you have 'C' source for a driver and you want it in pure Java, you could rewrite it based on the 'C' source.
If you have a choice, Modbus RTU (serial) and Modbus/TCP (Ethernet) seem to be the closest industrial automation gets to open, non-proprietary protocols.
A lot of PLCs will speak Modbus, either as the main or secondary protocol. http://sourceforge.net/projects/jamod/
There is JMatic for Siemens PLCs.
http://www.langner.com/en/products/jmatic2.0.htm
Most of the DotNet stuff you see is actually just a C# or VB wrapper around an existing 'C' library. Most drivers are written in 'C'. If you have 'C' source for a driver and you want it in pure Java, you could rewrite it based on the 'C' source.
If you have a choice, Modbus RTU (serial) and Modbus/TCP (Ethernet) seem to be the closest industrial automation gets to open, non-proprietary protocols.
SoftPLC is an open architecture controller product line provided by SoftPLC Corp. We provide a programmer's toolkit that includes a Java API that allows Java applications to communicate to/from the data table of our controllers.
SoftPLC runs ladder logic and has a data table format similar to the A-B SLC-500/PLC-5 so it is familiar to most A-B users.
A number of our customers have created Java based SCADA applications using this API.
Please contact cindy@softplc.com if you would like more information.
SoftPLC runs ladder logic and has a data table format similar to the A-B SLC-500/PLC-5 so it is familiar to most A-B users.
A number of our customers have created Java based SCADA applications using this API.
Please contact cindy@softplc.com if you would like more information.
Another option is Mango M2M, by Serotonin Software. (See http://mango.serotoninsoftware.com/). This product is a full monitoring and control system that can simultaneously work with multiple protocols, including Modbus, BACnet, NMEA, and a number of others. We are currently strongly considering supporting AB products as well.
Serotonin provides an open source version of Mango, as well as a commercial - more fully-featured version.
Serotonin provides an open source version of Mango, as well as a commercial - more fully-featured version.
Java is an excellent choice for industrial applications since they must survive longer than "personal" operating systems will.
However there are very few drivers in Java. Jamod (jamod.sourceforge.net) implements Modbus communication (so you can communicate with Schneider PLCs). I personally wrote a java driver for ControlLogix, but it is not publicly available. There are many protocols for Allen-Bradley PLCs. DF1 and DH485 can be considered "legacy" protocols. The latest protocol is Ethernet/IP; it is supposedly an "open" protocol but you have to pay to get the specifications.
Good luck
However there are very few drivers in Java. Jamod (jamod.sourceforge.net) implements Modbus communication (so you can communicate with Schneider PLCs). I personally wrote a java driver for ControlLogix, but it is not publicly available. There are many protocols for Allen-Bradley PLCs. DF1 and DH485 can be considered "legacy" protocols. The latest protocol is Ethernet/IP; it is supposedly an "open" protocol but you have to pay to get the specifications.
Good luck
"Has anyone every successfully gotten an Allen Bradley PLC (or any other) to talk to Java."
I have successfully gotten Modbus/TCP devices to talk to Java. Implementing Ethernet/IP in Java is certainly do-able, but not for the faint of heart. You can download free sample code from http://www.ODVA.org, but I would estimate a 3 month project to have a full working production-ready system.
Other options, all in C not Java:
CIP/Ethernet Library for Linux (CELL). This may be dead; it looks like it hasn't been updated in a while. It's LGPL http://www.freshmeat.net/projects/cell/
IOMAK EtherNet/IP Stack, also LGPL
sourceforge.net/projects/iomak/
Commercial options:
Pyramid Solutions, http://www.pyramidsolutions.com
IXXAT, http://www.ixxat.com
Real Time Automation, http://www.rtaautomation.com
-James Ingraham
Sage Automation, Inc.
I have successfully gotten Modbus/TCP devices to talk to Java. Implementing Ethernet/IP in Java is certainly do-able, but not for the faint of heart. You can download free sample code from http://www.ODVA.org, but I would estimate a 3 month project to have a full working production-ready system.
Other options, all in C not Java:
CIP/Ethernet Library for Linux (CELL). This may be dead; it looks like it hasn't been updated in a while. It's LGPL http://www.freshmeat.net/projects/cell/
IOMAK EtherNet/IP Stack, also LGPL
sourceforge.net/projects/iomak/
Commercial options:
Pyramid Solutions, http://www.pyramidsolutions.com
IXXAT, http://www.ixxat.com
Real Time Automation, http://www.rtaautomation.com
-James Ingraham
Sage Automation, Inc.
From Control Engineering magazine...
Related articles from Control
Engineering magazine- Automation and Ethernet Combine for 3D Disney Attraction
- Advantech: Ethernet switches; touch panel, embedded computer; develop better GUIs
- MESA International event marked by change, sustainability, SOA
- Compressor control: Controller provides live view of compressor performance
- Upgrading Control: Migration or Evolution?
- HMI/SCADA: Microsoft Fluent technology helps enhance Proficy iFIX 5.0
- Integrating Environmental Processes
- HMIs: NASCAR pit crews, Vista users get Simatic options
- HMI: Monitors, graphic panel improve images, offer ruggedness
- Listen in exclusive: Wonderware Innovation Partners to create vertical software faster
Above articles copyright 2008 Reed Business Information.
Subject to its Terms of Use.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2008 Control Technology Corporation. All rights reserved.
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Patronize our advertisers!




