Why?? Who said it was a nice language? Why is still an industrial standard?
I find my self working with it now and just don't get it. It's barely better than assembler for simple steps, one sentence replaces a few but are harder to code. For more complex steps it does a bit more but still not good and I find no way to do a decent code (legible and tidy) compared to other languages.
I do understand that replacing a few relays it makes sense as you just think as they where relays, but once you are tuning a few machines, compensating, feedback, handling network tasks with RS485 and so on it gets ridiculous. I know it has some applications but having a PLC running at 200MHz for 100k steps and only being able to code it like so doesn't make sense for me. Am I missing something? Any thoughts or experiences?
JS
I find my self working with it now and just don't get it. It's barely better than assembler for simple steps, one sentence replaces a few but are harder to code. For more complex steps it does a bit more but still not good and I find no way to do a decent code (legible and tidy) compared to other languages.
I do understand that replacing a few relays it makes sense as you just think as they where relays, but once you are tuning a few machines, compensating, feedback, handling network tasks with RS485 and so on it gets ridiculous. I know it has some applications but having a PLC running at 200MHz for 100k steps and only being able to code it like so doesn't make sense for me. Am I missing something? Any thoughts or experiences?
JS