274336317
In Ladder Editor of OpenPlcEditor, I can not find jump instruction. Why does OpenPLCEditor not support jump instruction in Ladder Editor?
Quote 0 0
thiagoralves
In theory it is because jump in ladder logic is a hack, it does not make sense. You should instead use conditional execution blocks tied to your logic to determine if the rungs will run or not. Also, if I'm not mistaken, jump is not on the IEC 61131-3 standard for ladder logic. The true answer is because no one ever implemented it in the code of the editor. The good news is that the project is open source 😉
Quote 0 0
tim292stro
These are the commands you're after?

JMP - Unconditional program jump to %L1 label address
JMPC - Conditional program jump to %L1 label address if the Boolean result from previous test is "1"
JMPCN - Conditional program jump to %L1 label address if the Boolean result from previous test is "0"
Quote 0 0