EasyManuals Logo
Home>Allen-Bradley>Controller>LOGIX 5000

Allen-Bradley LOGIX 5000 User Manual

Allen-Bradley LOGIX 5000
561 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 #538 background imageLoading...
Page #538 background image
Chapter 11
Common Attributes for Advanced Process Control and Drives Instructions
538 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Status Flags
Status Flag Description
(For CompactLogix 5380, CompactLogix 5480, ControlLogix
5580, Compact GuardLogix 5380, and GuardLogix 5580
controllers)
Description
(For CompactLogix
5370, ControlLogix
5570, Compact
GuardLogix 5370,
and GuardLogix 5570
controllers)
S:FS
First scan flag
The first scan flag is set by the controller:
• The first time a program is scanned after the controller goes to
Run mode
• The first time a program is scanned after the program is
uninhibited
• When a routine is called from an SFC Action and the step that
owns that Action is first scanned.
Use the first scan flag to initialize data for use in later scans. It is also
referred to as the first pass bit.
The first scan flag is set
by the controller:
• The first time a
program is scanned
after the controller
goes to Run mode
• The first time a
program is scanned
after the program is
uninhibited
• When a routine is
called from an SFC
Action and the Step
that owns that
Action is first
scanned.
Use this flag to initialize
data for use in later
scans. It is also referred
to as the first pass bit.
S:N
Negative flag
The controller sets the negative flag when the result of a math or
logical operation is a negative value. Use this flag as a quick test for a
negative value.
The controller sets the
negative flag when the
result of a math or
logical operation is a
negative value. Use this
flag as a quick test for a
negative value.
Using S:N is more
efficient than using the
CMP instruction.
S:Z
Zero flag
The zero flag is set by the controller when the result of a math or
logical operation is zero. Use this flag as a quick test for a zero value.
The zero flag clears at the start of executing an instruction capable of
setting this flag.
The controller sets the
zero flag when the
result of a math or
logical operation is zero.
Use this flag as a quick
test for a zero value.

Table of Contents

Other manuals for Allen-Bradley LOGIX 5000

Questions and Answers:

Question and Answer IconNeed help?

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

Allen-Bradley LOGIX 5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLOGIX 5000
CategoryController
LanguageEnglish

Related product manuals