I have been searching and cannot find a reason for why this is happening. This programming was factory installed by a machine vendor and I have duplicated it on my test station in both function block and ladder format with the same results.
When using the ABS instruction preceding a LES or GRT instruction, it seems that the non absolute value is still being used. My past understanding is that the ABS strips the sign from the negative value making it a positive value. So why doesn't the LES and GRT instructions use the result accordingly?
When using the ABS instruction preceding a LES or GRT instruction, it seems that the non absolute value is still being used. My past understanding is that the ABS strips the sign from the negative value making it a positive value. So why doesn't the LES and GRT instructions use the result accordingly?