EasyManuals Logo
Home>Allen-Bradley>Controller>CompactLogix 5380

Allen-Bradley CompactLogix 5380 User Manual

Allen-Bradley CompactLogix 5380
172 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 #132 background imageLoading...
Page #132 background image
132 Rockwell Automation Publication 1756-RM100F-EN-P - October 2018
Chapter 6 Instruction Execution
Carry Flag
Only the ADD and SUB instructions that specify integer operands can affect
the carry bit. This lets you perform chain calculations to support larger
(unsupported) data types (Add low, Add_with_carry high).
The carry flag is limited to only those operations that are relevant. This
simplifies its use and that of math status flags in general.
This implementation affects all instructions that can set math status flags.
Mitigation
Look for references to s:c in the user project and verify that the logic functions
as intended.
Language Affected
Ladder Logic (RLL) Yes
Struc tured Text (ST) Yes
Function Blocks (FBD) No
Sequential Function Chart (SFC) Yes
(1)
(1) Only affects embedded Structured Text.
5580/5380 Controllers 5570/5370 Controllers
Use of the ADD and SUB operators has no effect on the
carry bit.
Only ADD and SUB instructions with integer operands
can affect the Carry flag.
Many math instructions can set the Carry bit.

Table of Contents

Other manuals for Allen-Bradley CompactLogix 5380

Questions and Answers:

Question and Answer IconNeed help?

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

Allen-Bradley CompactLogix 5380 Specifications

General IconGeneral
BrandAllen-Bradley
ModelCompactLogix 5380
CategoryController
LanguageEnglish

Related product manuals