Radians (Rad); Relay Ladder; Structured Text; Function Block - Allen-Bradley Logix5000 Reference Manual

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Radians (RAD)

dest := RAD(source);
The RAD instruction converts the Source (in degrees) to radians and stores the
result in the Destination.
Operands:

Relay Ladder

Operand
Source
Destination

Structured Text

Use RAD as a function. This function converts source to radians and stores the
result in dest.
See
Structured Text Programming
within structured text.

Function Block

Operand
RAD tag
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Math Conversion Instructions (DEG, RAD, TOD, FRD, TRN, TRUNC)
Type
Format
SINT
Immediate
INT
Tag
DINT
REAL
SINT
Tag
INT
DINT
REAL
for information on the syntax of expressions
Type
FBD_MATH_ADVANCED
Description
Value to convert to radians
Tag to store the result
Format
Description
structure
RAD structure
Chapter 16
561

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents