drbitboy
Lifetime Supporting Member
...( I know I have to have at least a dozen in my house but still have to search when I need one)
I keep one in my fanny pack . One time I even used it to break into my car when I had locked myself out.
...( I know I have to have at least a dozen in my house but still have to search when I need one)
fanny pack
I came into work one time, sick as a dog and heavily medicated. Worked on a machine for half a day and then was somehow at home with no recollection of having travelled.
The next day I had a look at the code in the machine. I had no idea how it worked but it was working well. So I backed away and never touched it again.
This post is just loaded with question marks.For the record, itÂ’s not supposed to support recursive functions. But if you use an FB with a method, the method can call itself if you pass itÂ’s own FB pointer to it. TwinCAT canÂ’t stop what it doesnÂ’t know about...
And it also supports recursive data definitions using pointers (no special trickery there) which is nice for tree structures (especially with runtime memory).
This is closer to being correct now but back when most PLCs or micro controllers didn't have floating point there were somethings that were extremely difficult to do.Write what you know, outside of some rare instructions, you can accomplish your task with any of the languages, so pick the one you can write the cleanest.
Let me phrase it this way, how serious is the role of industry standards like IEC 61131-3 and PLCOpen and how strictly should we adhere to them?
Let's take out harm to others out if the question to avoid this being a legal arguments.Let me phrase it this way: does adherence to IEC 61131-3 protect us, and those who may be harmed by us, or does it only protect the former from lawsuits because it is considered to imply due diligence?
The purpose of the standards is to improve code quality; troubleshooting, reusability and reliability(error free). Mostly they're guidelines and it's up to us to follow
LAD is 100% graphical.I were schooled in LAD and switched..
But please, tell me when LAD is the best alternative.
Not too late to join this ...
LAD is 100% graphical.
FBD is only 50% graphical.
How do I argue that ? ..
By the fact that you have to combine the "≥" and the "&" with the boxes inside your head to interpret the logical result. Remove the "≥" and the "&" and you dont know what these boxes do.
Ladder is so easy to follow, in particular when being online and observing logic that changes rapidly.
I started with FBD (way back with Siemens S5), was forced to work with LAD (because of changing to AB PLC5), and had to admit that LAD is just better.
Not too late to join this ...
LAD is 100% graphical.
FBD is only 50% graphical.
How do I argue that ? ..
By the fact that you have to combine the "≥" and the "&" with the boxes inside your head to interpret the logical result. Remove the "≥" and the "&" and you dont know what these boxes do.
Ladder is so easy to follow, in particular when being online and observing logic that changes rapidly.
I started with FBD (way back with Siemens S5), was forced to work with LAD (because of changing to AB PLC5), and had to admit that LAD is just better.
Not too late to join this ...
LAD is 100% graphical.
FBD is only 50% graphical.
How do I argue that ? ..
By the fact that you have to combine the "≥" and the "&" with the boxes inside your head to interpret the logical result. Remove the "≥" and the "&" and you dont know what these boxes do.
Ladder is so easy to follow, in particular when being online and observing logic that changes rapidly.
I started with FBD (way back with Siemens S5), was forced to work with LAD (because of changing to AB PLC5), and had to admit that LAD is just better.