Reverse, Non processing and END PLC instructions

INV (Inverse) instruction in the ladder diagram with a 45 ° short slashes to represent, it will perform the calculation result be negated before the instruction, and the result is 0 it becomes 1, and the result was 1 becomes 0. In the following diagram, if X0 and X1 both ON, Y0 is OFF; otherwise, Y0 is ON. INV instructions can also be used for pulse LDP,LDF,ANDP contact instructions.


Handheld programmer type INV command, first by NOP keys, and then press the P/I key.


NOP (Non processing) for no operation, and the sequence for air operations. When you do finish clear user memory user memory contents become no operation.


END (End) to end the directive, will be forced to end the current scanning implementation process. If not END command, from the user‘s first step to the last step of the program memory; END end of Instruction in a program, perform the first step to END this program in one step, use the END command scan period can be shortened.


When in the debugger, you can insert the END directive in the wake of the program, starting from the first paragraph sub-paragraph debugging, debugging must be deleted after the program END in the middle of instructions, errorchecking program in this way is also very useful.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.