572 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 16 Math Conversion Instructions (DEG, RAD, TOD, FRD, TRN, TRUNC)
Example: Remove the fractional part of float_value_1, leaving the non-fractional part the
same, and place the result in float_value_1_truncated.
Relay Ladder
Structured Text
float_value_1_truncated := TRUNC(float_value_1);
Function Block