incp is an instruction in Mitsubishi PLC, and the INCP instruction is an instruction to add 1. The P after the instruction indicates pulse execution; the instruction INC to add 1 is to add 1 to the content of operand D, and the operation result is still stored D.
Recommended: "Programming Video"
The INCP instruction in Mitsubishi PLC is an instruction to add 1, and the P after the instruction Indicates pulse execution.
The add 1 instruction INC adds 1 to the content of the operand [D], and the operation result is still stored in [D].
For example, [INCP D1] means that when the instruction execution condition is met, an increment operation of 1 is performed, that is, the value of register D1 is incremented by 1, and the operation result is still stored in register D1.
The above is the detailed content of What is the instruction incp?. For more information, please follow other related articles on the PHP Chinese website!