DECP instructions on Mitsubishi PLC : Decrement memory with Pulse
Decrements the memory data specified by the operand by 1.
On every execution of the instruction the device specified as the (D), has its current value decremented (decreased) by a value of 1. In 16 bit operation, when -32,768 is reached the next incrementation will write a value of +32,767 to the (D).
Examples of the use of DECP instructions on Mitsubishi PLC :
1. If X000=OFF then Value in D0=30.
2. If X000=ON then Value in D0=29.
3. If X000=OFF then Value in D0=29.
4. If X000=ON then Value in D0=28.
5. If X000=OFF then Value in D0=28.
1 comment:
It's really a great and helpful piece of info. I am glad that you shared this helpful info with us. Please keep us informed like this. Thanks for sharing. PLC Scada Course in Chennai
Post a Comment