One drawback to that is that one would have to remember or look up every instruction's keyboard inputs to insert it. But nothing's perfect though.
[/code]
Yes, but what I said is that coils and contact are entered or changed with the c key. Blocks are started withe the b key.
There is such thing as intellisense. VSCode has Kite.
Make it J, K, L, and :; keys instead, since these are the natural 'home' keys for the right hand.
Yes, page up and page down keys are required.
So is a beginning and end of ladder set of keys.
I would prefer [ and ] for beginning and end of ladder
and ; and ' for page up and down. The shift key isn't required.
The Tab key shifts between field in the block. Intellisense or similar helps one enter block names and variables easier.
Yes, there is more to PLC programming than the editing. There is the debugging. PLCs are pretty good if the program only consists of coils and contacts. It is easy to see what is on or off most of the time. However, it is hard to debug things that happens so quickly that the information can't be uploaded to the IDE fast enough to see the changes. This is where PLCs fail. There should be some sort of event log that can capture events in a queue with a time stamp.
programmers are use to putting printf or assert functions in their code to help with debugging. The equivalent can be done in PLCs but it is clumsy making a FIFO for a data type that will store the info you need. Memory is no longer a problem anymore.