288 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 6 Compute/Math Instructions (CPT, ADD, SUB, MUL, DIV, MOD, SQR, SQRT, NEG, ABS)
Example: Change the sign of value_1 and place the result in negate_result.
Relay Ladder
Structured Text
negate_result := -value_1;
Function Block