EasyManuals Logo
Home>Allen-Bradley>Controller>Logix5000

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #557 background imageLoading...
Page #557 background image
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 557
Chapter
16
Math Conversion Instructions
(DEG, RAD, TOD, FRD, TRN, TRUNC)
The math conversion instructions convert values.
You can mix data types, but loss of accuracy and rounding error might occur and
the instruction takes more time to execute. Check the S:V bit to see whether the
result was truncated.
For relay ladder instructions, bold data types indicate optimal data types. An
instruction executes faster and requires less memory if all the operands of the
instruction use the same optimal data type, typically DINT or REAL.
Topic Page
Degrees (DEG) 558
Radians (RAD) 561
Convert to BCD (TOD) 564
Convert to Integer (FRD) 567
Truncate (TRN) 570
If you want to Use this instruction Available in these languages Page
Convert radians to degrees DEG Relay ladder
Structured text
Function block
558
Convert degrees to radians RAD Relay ladder
Structured text
Function block
561
Convert an integer value to a BCD value TOD Relay ladder
Function block
564
Convert a BCD value to an integer value FRD Relay ladder
Function block
567
Remove the fractional part of a value TRN
TRUNC
(1)
Relay ladder
Structured text
Function block
570
(1) Structured text only.

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals