Chapter 6
Compute/Math Instructions (CPT, ADD, SUB, MUL, DIV, MOD, SQR, SQRT, NEG, ABS)
268
Example:
Add float_value_1 to float_value_2 and place the result in add_result.
Relay Ladder
Structured Text
add_result := float_value_1 + float_value_2;
Function Block
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011