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 #131 background imageLoading...
Page #131 background image
Rockwell Automation Publication 1756-RM100F-EN-P - October 2018 131
Instruction Execution Chapter 6
Subroutines Do Not Affect Math Status Flags
Subroutines are not considered MSF producers, so they do not preserve math
status flags across calls. The JSR, SBR, RET, FOR, BRK instructions are not
math status flags producers. FOR and BRK instructions do not affect math
status flags because they do not pass any parameters.
The JSR instruction saves (and reinitializes) the flags on entry and restores
them after the subroutine returns. Also, the SBR, RET, FOR, and BRK
instructions do not change the flags.
This implementation affects the JSR and FOR instructions. FOR is only
available in RLL.
Mitigation
N/A
Language Affected
Ladder Logic (RLL) Yes
Structured Text (ST) No
Function Blocks (FBD) No
Sequential Function Chart (SFC) Yes
(1)
(1) Only affects embedded Structured Text.
5580/5380 Controllers 5570/5370 Controllers

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