Host Engineering Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 04, 2012, 08:21:46 am


Login with username, password and session length


Poll
Question: Which combination of programming languages would you prefer to use in a future PLC?
Relay Ladder Logic - 166 (33.8%)
Stage - 82 (16.7%)
Sequential Function Charts (SFC) - 60 (12.2%)
Structured Text/Basic - 58 (11.8%)
Mnemonics/Assembly - 17 (3.5%)
C/C++ - 24 (4.9%)
Java - 9 (1.8%)
Function Block Diagram (FBD) - 25 (5.1%)
Lua - 1 (0.2%)
C#/VB.NET - 31 (6.3%)
Other (please post a comment) - 18 (3.7%)
Total Voters: 199

Pages: 1 2 [3] 4 5
  Print  
Author Topic: New Poll! Programming Language of Choice?  (Read 21714 times)
franji1
Bit Weenie
Host Moderator
*****
Posts: 973



WWW
« Reply #30 on: November 24, 2008, 10:41:17 am »

The function is just a box, and the elements going into the box are just that elements, along with some lines.

With Ladder, you have to display the contact AND the element for EVERY element in the rung.  Lots of overhead for the contact, vs. one & or >=1 box (that is OR)

+-----+
|     |
|  &  |
|     |
+-----+

+-----+
|     |
| >=1 |
|     |
+-----+
Logged

Controls Guy
Internal Dev
****
Posts: 1105


Darth Ladder


« Reply #31 on: November 24, 2008, 01:01:56 pm »

Still not quite getting it.  Are you saying a single AND box, for example, will take more than two inputs?  I thought in most implementations, you had to do n/2 boxes, then AND those results, then those results, etc.
Logged

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
*****
Posts: 973



WWW
« Reply #32 on: November 24, 2008, 03:16:32 pm »

Yes, that's why it's more compact, you can have 2..N inputs to a single & box.  Same with "add", so you can add 20 numbers with a single + FBD box.
Logged

Vernon Leeper
Full Member
***
Posts: 22



« Reply #33 on: November 24, 2008, 10:31:51 pm »

Some of you are over my head with this programming. I vote for the Stage, then ladder. One because I cut my teeth on the AB SLC100, did some real elimentry ladders and rewrites from some older TI units when they would crap out( years ago) .
I recently learned how to do the stage, I like it, I don't mind learning anything new.This function box, block, is that what is used for robotics or is it the flow charts? Either way I wouldn't mind learning it.
 I would like to learn what is used for CNC machines, lates, mills, ect. I plan to build a table top CNC machine for myself, been researching steppers, servos, and how to control them with the printer port from my PC.
 I would like to see ADC to come up with a DRUM that you can change timer values on the fly via HMI, that would useful to me, I could use that today at work on about 25 machines.....
Logged

Yep, as a matter of fact i did ride the short bus.
And I liked it too.
jimispeed
Newbie
*
Posts: 2


« Reply #34 on: December 30, 2008, 06:56:21 pm »

I think stage is the best for most uses. Standard RLL works for simple projects (light on/light off). But having an electronics background, I REALLY enjoy Function Block Programming. I used it on a few seimens PLC projects and it was like drawing a schematic and putting it in a box and voila, project done. Grin
Logged
Loren Jones
Newbie
*
Posts: 1


« Reply #35 on: January 21, 2009, 04:12:44 pm »

While I love Function Block Diagram in modicon Concept, there is one drawback: What about the poor bastich electrician trying to figure it out at zero-dark-thirty in the morning who has never seen it befoe and doesn't know what that little circle on the input means? Don't scoff. I've been there and been called in to explain to the _Electrical Superintendant_ what was going on because _he_ had not bothered to learn anything but RLL. For simplicity and uninterupted nights, I'll take RLL.
Logged
franji1
Bit Weenie
Host Moderator
*****
Posts: 973



WWW
« Reply #36 on: January 21, 2009, 04:21:57 pm »

While I love Function Block Diagram in modicon Concept, there is one drawback: What about the poor bastich electrician trying to figure it out at zero-dark-thirty in the morning who has never seen it befoe and doesn't know what that little circle on the input means? Don't scoff. I've been there and been called in to explain to the _Electrical Superintendant_ what was going on because _he_ had not bothered to learn anything but RLL. For simplicity and uninterupted nights, I'll take RLL.
We will NEVER drop RLL.  However, we would LOVE to add other languages, but "all of them" is not the right answer.  Grin
Logged

dschlic1
Newbie
*
Posts: 2


« Reply #37 on: February 17, 2009, 10:22:26 am »

I also vote for Function Block Programming! Another feature, while related to programming but not, is how variables/tags are declared and used. The ability to define user data structures is very powerful. Another item is the ability to define a program hierarchy. A main program has several subroutines in it, and each subroutine has subroutine within it etc. The ability to see this graphically is very powerful especially for large programs. Stage programming does some of this, however many programs are not suited for stage programming.
Logged
PLCJoe
Newbie
*
Posts: 1


« Reply #38 on: February 27, 2009, 01:06:41 pm »

Function Block is nice and usefull. However when doing a lot of math or more complex equations structured text seems to work well as long as no data conversions are required while doing the structured text. How about allowing the user to create custom iboxes with the programming language of choice. And like some of the other users I'c like to see more structure options, Main program with other subtitled programs. They wouldn't even have to be subroutines just a way to divide the program up into subsections for ease of troubleshooting.
Logged

But those who trust int he LORD will find new strength. They will soar high on wings like eagles. They will run and not grow weary. They will walk and not faint.
uman
Newbie
*
Posts: 4


« Reply #39 on: July 22, 2009, 06:55:26 pm »

Definitely FBD!
Please add this feature to the DirectSoft program.  FBD is among my top consideration, when selecting a PLC.
Is there any chance FBD will be included in the next version of DirectSoft or CLICK in the near future?

Jeff in Florida
Logged
uman
Newbie
*
Posts: 4


« Reply #40 on: July 22, 2009, 06:57:23 pm »

The results of this poll are meaningless without FBD as a choice.
How about a redo?
Logged
franji1
Bit Weenie
Host Moderator
*****
Posts: 973



WWW
« Reply #41 on: July 22, 2009, 07:13:05 pm »

The results of this poll are meaningless without FBD as a choice.  How about a redo?
I definitely see your point, but the sample survey data is still somewhat valid due to having the "other" category.  If we assume all (currently) 14 "other" votes are for FBD (out of 140 current participants), it shows us the general popularity, which is all you can hope for in a random sample poll anyway.
Logged

BobO
Host Moderator
*****
Posts: 1112


Yes Pinky, we *are* going to control the world!


« Reply #42 on: July 22, 2009, 07:22:36 pm »

Meaningless? Nah...just incomplete.

Probably would be good to add it, though, if we can do so without losing our statistics. I think there will be a few folks that vote for it, but I wouldn't anticipate it being in the top 3. But hey...I've been wrong before.  Shocked
Logged

BobO

The Constitution does not guarantee us freedom from being offended...but we can choose not to be, and life gets so much easier.
franji1
Bit Weenie
Host Moderator
*****
Posts: 973



WWW
« Reply #43 on: July 22, 2009, 07:29:01 pm »

Probably would be good to add it, though, if we can do so without losing our statistics
All you can do is start over with a new poll and delete this one  Roll Eyes
Logged

BobO
Host Moderator
*****
Posts: 1112


Yes Pinky, we *are* going to control the world!


« Reply #44 on: July 22, 2009, 07:34:20 pm »

Then again, some of those options aren't exactly going gang-busters. Might make sense to refactor and relaunch, making note of what we learned. In v2, we probably should have all of the 61131 languages represented. Our FBD fans will be thrilled. Wink
Logged

BobO

The Constitution does not guarantee us freedom from being offended...but we can choose not to be, and life gets so much easier.
Pages: 1 2 [3] 4 5
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM