Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Java for programming PLC?

 
Ranch Hand
Posts: 44
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello!

I wonder if Java has API for programming industrial PLC, like Siemens, Allen-Bradley, or Mitsubishi. I heard C, C++, and C# have a specific library for this. I am familiar and have decided that Java is THE programming language for me. Learning another language is not really my cup of tea.

If you have any information regarding this, please post it. Thanks a bunch before!
 
Marshal
Posts: 76492
366
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not quite sure I understand the question; please explain more.
I think you will get more attention if I move this discussion elsewhere.
 
Sheriff
Posts: 17153
298
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I doubt you'll find any more information than a quick search for "java plc" would give you. Give it a few days here to see if you get anything but don't hold your breath. That's not very helpful, I know, but PLC programming is a bit esoteric.
 
Campbell Ritchie
Marshal
Posts: 76492
366
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is PLC? In Britain it means public limited company, so I thought it meant some sort of programming as used in large companies, like Siemens, Allen-Bradley, or Mitsubishi. I was obviously mistaken
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Programmable logic controller
 
Rod Taylor
Ranch Hand
Posts: 44
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:What is PLC? In Britain it means public limited company, so I thought it meant some sort of programming as used in large companies, like Siemens, Allen-Bradley, or Mitsubishi. I was obviously mistaken



Yes, it's Programmable Logic Controller.
 
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rod Taylor wrote:I wonder if Java has API for programming industrial PLC, like Siemens, Allen-Bradley, or Mitsubishi. I heard C, C++, and C# have a specific library for this. I am familiar and have decided that Java is THE programming language for me. Learning another language is not really my cup of tea.


Seems an odd thing to do in Java, since the requirements of a PLC are likely to be very much geared towards hardware (I would have thought; I'm no expert). I have no doubt that you could program an abstraction of a PLC in Java and then pipe it via C-based translators though.

Winston
 
Rod Taylor
Ranch Hand
Posts: 44
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Winston Gutkowski wrote:
I have no doubt that you could program an abstraction of a PLC in Java

Winston



Can you please tell me what you mean by programming an abstraction in Java by this?
 
Winston Gutkowski
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rod Taylor wrote:Can you please tell me what you mean by programming an abstraction in Java by this?


What I mean is that you could certainly write a Java program that accepts a stream of "sensory data" written according to a specific protocol and outputs a stream of command instructions according to another specified protocol. You could even incorporate any ladder logic or other algorithms that were needed.

Ie, what you do is to write the processing logic in Java, but leave it up to the system to supply and consume the input and output.

The main problem is that, not being an expert, I have no idea whether Java is (a) fast enough (b) robust enough (especially in terms of uninterrupted execution) or (c) low level enough to satisfy the needs of a PLC.

Winston
 
keep an eye out for scorpions and black widows. But the tiny ads are safe.
The trailboss has a kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic