Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 571
Math Conversion Instructions (DEG, RAD, TOD, FRD, TRN, TRUNC) Chapter 16
Description: Truncating does not round the value; rather, the non-fractional part remains the
same regardless of the value of the fractional part.
Arithmetic Status Flags: Arithmetic status flags are affected.
Fault Conditions: None
Execution:
Relay Ladder
Function Block
Condition Action
Prescan The rung-condition-out is set to false.
Rung-condition-in is false The rung-condition-out is set to false.
Rung-condition-in is true The controller removes the fractional part of the Source and places the result in the Destination.
The rung-condition-out is set to true.
Postscan The rung-condition-out is set to false.
Condition Action
Prescan No action taken.
Instruction first scan No action taken.
Instruction first run No action taken.
EnableIn is cleared EnableOut is cleared.
EnableIn is set The instruction executes.
EnableOut is set.
Postscan No action taken.