Tuesday, May 11, 2010

CMP instructions on Keyence PLC





CMP instruction on keyence plc : Compare
Compares the operand against the content of [Acc (internal register)], and outputs the result to 2009 to 2011 (KV-10/16/24/40).
CMP instructions
Outputs the result to 2009 to 2011 :
1. Special Auxiliary Relays 2009 = ON when result of arithmetic operation is minus or overflows (less than)
2. Special Auxiliary Relays 2010 = ON when result of arithmetic operation is zero (equal)
3. Special Auxiliary Relays 2011 = ON when result of arithmetic operation is plus (greater than)
The following example : less than, equal, greater than
less than, equal, greater than, keyence plc



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 !

Your email is stored safely on Google FeedBurner