558 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 16 Math Conversion Instructions (DEG, RAD, TOD, FRD, TRN, TRUNC)
Degrees (DEG)
The DEG instruction converts the Source (in radians) to degrees and stores the
result in the Destination.
Operands:
Relay Ladder
Structured Text
Use DEG as a function. This function converts source to degrees and stores the
result in dest.
See Structured Text Programming
for information on the syntax of expressions
within structured text.
Function Block
Operand Type Format Description
Source SINT
INT
DINT
REAL
Immediate
Tag
Value to convert to degrees
Destination SINT
INT
DINT
REAL
Tag Tag to store the result
Operand Type Format Description
DEG tag FBD_MATH_ADVANCED Structure DEG structure