Hi
I want to know if there is ladder language for arduino.
No.
Yes, but temper your expectations as it’s no Studio 5000.
avr_fred:
Yes, but temper your expectations as it’s no Studio 5000.
Sorry what's the mraning of studio 5000
In the other side .the language of c++ for arduino is difficult for me .and i used ladder language in other microntroller (PIC)and i interested it
so i need your advice in using ladder in arduino
Thanks
Studio 5000 is an expenssive PLC development suite from Rockwell.
For ladder programming on MCUs, there's LDmicro. Many Atmel and Microchip MCUs supported.
Still being developped. Use the Github link to get the latest.
May not look like the shiniest thing, but atleast it's still being developed. And you can compile the code directly or export it to C or apparently as an arduino sketch (news to me).
And there's a simulator.
Have a look at this. The advantage of this over Soapbox etc. is that once programmed, you do not need to have the arduino connected to the PC
heap and stack... removed... ya this was the wrong place, I was just burned I guess.
But programming in ladder is to avoid this stack/heap problem, which is specific to C (and C++...), right ?
You probably don't need stack/heap in ladder. Just need a zone to allocate your fixed dynamic memory in your mapping. The specific details would depend of course of your ladder compiler.
You’re spot on. A fixed array is all that is required.
Sometimes we get people posting unrelated nonsense, post #6 is a good example of this. These are usually attempts to impress the less informed with the posters vast expertise. For those that see through the techno babble, sometimes it can be good comic relief. Other times, frustrating because it can destroy an otherwise good, informative thread.
Unfortunately, for those just starting out in electronics, these ramblings only serve to confuse as any connection between dynamic memory allocation and ladder programming languages only exsists in the mind of the poster.