100%(1)100% found this document useful (1 vote) 449 views3 pagesComparing SQC and SQI Instruction Operation
Comparing SQC and SQI Instruction Operation
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
panrore 974111 - Comparing SAC and SA! Instruction Operation
Comparing SQC and SQI Instruction Operation
974111 | Date Created: 11/18/2016 | Last Updated: 08/15/2018
Access Level: TechConnect
Berrie
Question
How does the SQI instruction in RSLogix 5000 replace the SQC from RSLogix 500?
What is the RSLogix 5000 equivalent of the SQC instruction?
Answer
The SQI and the SQC instructions serve the same purpose in their respective software. Programming for these
two instructions differs slightly, though
Roo psec
——_ Sequotcer Compare faxCEN
0 Fis §N200-10
Mask — @N20I‘10 | CDN
Some” N2000
Cont" RGD | CFD
Lena 2
Poston &
Roo
htpssrockwolautomaton custhelp.comapplanswersidelaiia_I/O74111 19panrore 974111 - Comparing SAC and SA! Instruction Operation
The major differences are:
+ The SQIis an input instruction and requires an output after it on the rung, The SQC is an output instruction
that sets the .FD bit of the control word when the masked comparison is true.
+ The .FD bit of the SQI control tag is not used.
+ The output rung condition of the SQ is false until the masked compare is true. This functionality replaces the
FD bit of the SQC.
+ The mask of the SQC, when specified with a # modifier (for example, #N7:10), would advance through the
file with the .POS value, similar to the File reference. Indirect addressing must be done to have the mask
follow the .POS for the SQI instruction.
In order to convert the logic of the SQC in the SLC to the SQI in the Logix controller family, some extra
programming is required,
+ An output, usually the -FD bit replacement tag, must be placed on the rung with the SQ
‘+ Because the .FD bit is no longer functional
© Amemory tag must be created to replace it and implemented wherever the .FD bit is referenced
OR
© All things triggered by the .FD must follow the SQl on the rung
+ An index tag must be created and implemented for variable mask applications, usually by adding the starting
position in the mask array to the POS of the SQ
Note: When not used in conjunction with an SQO instruction, the SQI position must be advanced using other logic.
The SQI does not automatically advance through the array when a source match is achieved.
Attachments
DISCLAIMER
This knowledge base web site is intended to provide general technical information on a particular subject or
subjects and is not an exhaustive treatment of such subjects. Accordingly, the information in this web site is not
intended to constitute application, design, software or other professional engineering advice or services. Before
making any decision or taking any action, which might affect your equipment, you should consult a qualified
professional advisor.
ROCKWELL AUTOMATION DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR ACCURACY OF
ANY OF THE DATA CONTAINED IN THIS WEB SITE AND MAY MAKE CHANGES THERETO AT ANY TIME IN
ITS SOLE DISCRETION WITHOUT NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS
PROVIDED TO USERS "AS IS." INNO EVENT SHALL ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY
KIND INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS PROFIT OR DAMAGE, EVEN
IF ROCKWELL AUTOMATION HAVE BEEN ADVISED ON THE POSSIBILITY OF SUCH DAMAGES.
htpssrockwolautomaton custhelp.comapplanswersidelaiia_I/O74111
20panrore 974111 - Comparing SAC and SA! Instruction Operation
ROCKWELL AUTOMATION DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED IN
RESPECT OF THE INFORMATION (INCLUDING SOFTWARE) PROVIDED HEREBY, INCLUDING THE IMPLIED
WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, AND NON-
INFRINGEMENT. Note that certain jurisdictions do not countenance the exclusion of implied warranties; thus, this
disclaimer may not apply to you.
This page is best viewed in Internet Explorer 11, Edge, Firefox 41, Chrome 46, Safari 9 or newer.
htpssrockwolautomaton custhelp.comapplanswersidelaiia_I/O74111 a9