Wednesday, June 30, 2010

DECP Instruction on Mitsubishi PLC





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).
DECP instructions
Examples of the use of DECP instructions on Mitsubishi PLC :
DECP ladder Mitsubishi
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.



Newer Post Older Post Home

You may also like these ebook:

Get Free PLC eBook directly sent to your email,
and email subscription to program-plc.blogspot.com




We hate SPAM. Your information is never sold or shared with anyone.

Your Email Will Be 100% Secured !