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 #443 background imageLoading...
Page #443 background image
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 443
Sequencer Instructions (SQI, SQO, SQL) Chapter 10
Example: When enabled, the SQO instruction increments the position, passes the data at
that position in array_dint through the mask, and stores the result in value_1.
A 0 in the mask means the bit is not compared (designated by xxxx in
this example).
Using SQI with SQO
If you pair an SQ I instruction with an SQO instr uction, make sure that both instructi ons use the same Control, Leng th, and Position values.
Resetting the Position of SQO
Each time the controller goes from Program to Run mode, the SQO instruction clears (initializes) the .POS value. To reset .POS to the initialization value (.POS = 0), use a RES instruction to clear the position value. This example uses the status of the first-scan bit to clear the .POS value.
SQO Operand Example Values (Using INTS Displayed In Binary)
Array xxxxxxxx xxxxxxxx xxxx0101 xxxx1010
Mask 00000000 00000000 00001111 00001111
Destination xxxxxxxx xxxxxxxx xxxx0101 xxxx1010

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