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 #646 background imageLoading...
Page #646 background image
646 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Appendix A Common Attributes
Expressions in Array Subscripts
Expressions set status flags based on the results of arithmetic operations. If you
have an array subscript as an expression, both the expression and the instruction
could generate minor faults.
Under certain circumstances, the S:Z status flag may be set if the expression of an
array element evaluates to zero. In this example, Array[Element*3], 0 if
Element=0 the subscript [Element*3] evaluates to 0 and the S:Z bit will be set.
Immediate Values
When you enter an immediate value (constant) in decimal format
(for example, -2, 3) the controller stores the value by using 32 bits. If you enter a
value in a radix other than decimal, such as binary or hexadecimal, and do not
specify all 32 bits, the controller places a zero in the bits that you do not specify
(zero-fill).
EXAMPLE
Zero-filling of immediate values
If you enter The controller stores
-1 16#ffff ffff (-1)
16#ffff (-1) 16#0000 ffff (65535)
8#1234 (668) 16#0000 029c (668)
2#1010 (10) 16#0000 000a (10)

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