EasyManuals Logo

Allen-Bradley Studio 5000 Logix Emulate User Manual

Allen-Bradley Studio 5000 Logix Emulate
676 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 #669 background imageLoading...
Page #669 background image
Chapter 12
Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018 669
• REAL - Only invalid on GuardLogix(L6S) and Compact GuardLogix(L4S)
controllers
• LINT
• ALARM-ANALOG
• ALARM DIGITAL
See also
Math Status Flags on page 673
Data conversions occur when you mix data types in your programming.
When programming: Conversions can occur when you:
Ladder Diagram
Structured Text
Mix data types for the parameters within one
Instruction
Function Block Wire two parameters that have different data types
Instructions execute faster and require less memory if all the operands of the
instruction use:
• The same data type.
• An optimal data type:
• The DINT and REAL data types are typically the optimal data types.
• All function block instructions support only one data type for its
operands.
If you mix data types or use tags that are not the optimal data type, the controller
converts the data according to these rules:
• If the Destination is REAL, all integer source operands are converted to
REAL.
• If the Destination is integer and one or more source operands is REAL, all
integer source operands are converted to REAL. The REAL result is
converted to the Destination data type and then stored.
Because the conversion of data takes additional time and memory, you can
increase the efficiency of your programs by doing the following:
• Use the same data type throughout the instruction.
• Minimize the use of the SINT or INT data types.
• In other words, use all DINT tags or all REAL tags, along with immediate
values, in your instructions.
Data Conversions

Table of Contents

Other manuals for Allen-Bradley Studio 5000 Logix Emulate

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Studio 5000 Logix Emulate and is the answer not in the manual?

Allen-Bradley Studio 5000 Logix Emulate Specifications

General IconGeneral
BrandAllen-Bradley
ModelStudio 5000 Logix Emulate
CategoryController
LanguageEnglish

Related product manuals