News:

  • November 07, 2024, 07:08:13 AM

Login with username, password and session length

Poll

Which combination of programming languages would you prefer to use in a future PLC?

Relay Ladder Logic
193 (34.1%)
Stage
93 (16.4%)
Sequential Function Charts (SFC)
65 (11.5%)
Structured Text/Basic
68 (12%)
Mnemonics/Assembly
17 (3%)
C/C++
27 (4.8%)
Java
10 (1.8%)
Function Block Diagram (FBD)
39 (6.9%)
Lua
1 (0.2%)
C#/VB.NET
35 (6.2%)
Other (please post a comment)
18 (3.2%)

Total Members Voted: 230

Author Topic: New Poll! Programming Language of Choice?  (Read 149662 times)

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3700
    • Host Engineering
New Poll! Programming Language of Choice?
« on: March 08, 2008, 09:12:09 AM »
I think we can all agree that more choices is always better.  IEC-61131-3 specifies 5 different languages, but are they the best?  Are all 5 needed?  I could see something like SFC, ladder, and a BASIC/Structured Text type language being the most needed???  (this is my opinion, but I care about what YOU think!)

Choose as many languages as you think you truly need (less is more sometimes, though, so if you think 17 languages, including COBOL, should be running in your PLC, you may want to whittle it down :D)

If you don't see yours listed, choose Other and please post a comment as to which one it is.  Also, feel free to comment on the pros and cons of the languages above!
« Last Edit: March 08, 2008, 09:51:18 PM by franji1 »

cdudley

  • Newbie
  • *
  • Posts: 1
Re: New Poll! Programming Language of Choice?
« Reply #1 on: June 04, 2008, 11:06:46 AM »
I put my vote in for function block diagram language.

FBD is powerful and easy to program with, it makes expressing complicated logical relationships clear and concise. It is always interesting to me how 4 or 5 pages of ladder can be compressed into 1 page of FBD, and even though the representation is so much more compact, it is often easier to read and decipher the flow of control.

It is the one real tool I miss when using DirectSoft as compared to Honeywell, A-B, Modicon etc.

Oh, and being able to program in C or C++ wouldn't hurt my feelings one bit either. ;)

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3700
    • Host Engineering
Re: New Poll! Programming Language of Choice?
« Reply #2 on: June 04, 2008, 11:31:04 AM »
I put my vote in for function block diagram language.
After I ran this poll for a while, I noticed I mistakenly left out FBD (IEC-61131 Function Block Diagrams).  Please, if anyone else likes FBD, please let us know here by posting something (you can't just vote "other" - I need to know what "other" is  ;D)

Thanks cdudley for pointing this out!!

PLCGuy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 677
Re: New Poll! Programming Language of Choice?
« Reply #3 on: June 04, 2008, 02:20:26 PM »
Function Block Programming has my vote. I think expanding the I-box would be nice. With the FBP you can copy and paste whereas with the I-Box you have to fill in the box each time.

XAB

  • Newbie
  • *
  • Posts: 1
Re: New Poll! Programming Language of Choice?
« Reply #4 on: June 17, 2008, 12:27:20 AM »
I too vote for FBD.  There are some very powerful functions in FB that would take several ladder rungs to perform the same.  Plus, as mentioned, the ease of circuit comprehension at a glance.

narsenault

  • Newbie
  • *
  • Posts: 1
Re: New Poll! Programming Language of Choice?
« Reply #5 on: June 21, 2008, 08:24:06 PM »
I also would like to see FDB with the I-Box as mention by PLCGuy! FDB would speed up things.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3575
  • Darth Ladder
Re: New Poll! Programming Language of Choice?
« Reply #6 on: June 21, 2008, 08:43:33 PM »
If you're going to include Perl and Java, I nominate Python.  I'm not sure I want to program a PLC in Python, but I sure don't want to do so in Perl, and if a language from that genre were to be available, I'd like Python.  What the heck is Lua?

And, what do you consider the difference between Stage and SFC, since they're both listed?  I always considered Stage to be a somewhat non-optimal implementation of SFC.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3700
    • Host Engineering
Re: New Poll! Programming Language of Choice?
« Reply #7 on: June 22, 2008, 12:04:46 AM »
And, what do you consider the difference between Stage and SFC, since they're both listed?  I always considered Stage to be a somewhat non-optimal implementation of SFC.
There are many differences between them.  Both of them are based on Grafcet, and Petri Nets, but it's like C++ vs. Java.  Sure, there are similarities, but you definitely have 2 different camps.  Stage is definitely, exclusively a Koyo/ADC language, while SFC is a "standard" that is not PLC specific.  Just want to see who likes Stage and who likes SFC.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3575
  • Darth Ladder
Re: New Poll! Programming Language of Choice?
« Reply #8 on: June 22, 2008, 12:08:59 AM »
SFC for me, please.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3700
    • Host Engineering
Re: New Poll! Programming Language of Choice?
« Reply #9 on: June 22, 2008, 12:35:17 AM »
Don't you or Bob ever sleep?  ;)

Bob - Bella - great movie!  (I actually liked it more than Terry did!)

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6046
  • Yes Pinky, Do-more will control the world!
Re: New Poll! Programming Language of Choice?
« Reply #10 on: June 22, 2008, 12:57:25 AM »
So yer sayin' yer a chick...and she's not? Hmmm...gotta think about that one. ;)
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3575
  • Darth Ladder
Re: New Poll! Programming Language of Choice?
« Reply #11 on: June 22, 2008, 12:43:06 PM »
As long as there's one of each, it'll work out.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6046
  • Yes Pinky, Do-more will control the world!
Re: New Poll! Programming Language of Choice?
« Reply #12 on: June 22, 2008, 12:56:00 PM »
Well...I saw him at Blockbuster last night, and he was leaving with a movie that met all of the criteria for being a chick flick. I wished him well, and went home to watch Hell Boy. <insert Tim Taylor grunting here>

Since he liked it better than she did, one is left to reevaluate the starting condition. ;D I've known Mark for like...forever...and he is a bit of a softy though.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3575
  • Darth Ladder
Re: New Poll! Programming Language of Choice?
« Reply #13 on: June 22, 2008, 12:58:03 PM »
Oh, I should have qualified my comment.  As long as there's one of each it'll work out -- except in California   ;D
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

tdamon

  • Newbie
  • *
  • Posts: 1
Re: New Poll! Programming Language of Choice?
« Reply #14 on: July 21, 2008, 04:00:18 PM »
Function Block and RLL gets my vote