seeking for help regarding SQO

Join Date
Feb 2007
Location
Richmond Hill, Ontario
Posts
40
working as an electrical tech. @ manufacturing company, need someone can better explain the instruction SQO, sometimes, our assembly line out of sequence, I saw the control engineer first checked file date table number, and second check the destination data table number, if not same, put the dest data number same as file number, then put sequence number from the beginning like 1, and line started to run, tried to ask him but got yelled in the morning, so really badly need someone give me better explanation. thanks!;)
 
this one has helped quite a few people with a very popular Allen-Bradley version of the SQO instruction ...

http://www.plctalk.net/qanda/showthread.php?p=4220&postcount=10

if you still need help after reading this, please post again with specific questions ... and tell us what hardware and software you're working with ... we need detailed questions in order to give you detailed answers ...
 
Last edited:
You might be interested in this about state control.
This reminded me that I used the SQO and SQI way back in the 80's on PLC2/30's after discovering them while browsing the manual. Fantastic and fast. The client had to call in AB to teach them about the advanced instructions because they had never seen anything like it, all the PLC software was plodding ladder before. But they really liked it.
 
thank you Ron, I will print it out & read it.
I might have to ask question again regarding our assembly line plc program.

thanks anyway!
:nodi:
this one has helped quite a few people with a very popular Allen-Bradley version of the SQO instruction ...

http://www.plctalk.net/qanda/showthread.php?p=4220&postcount=10

if you still need help after reading this, please post again with specific questions ... and tell us what hardware and software you're working with ... we need detailed questions in order to give you detailed answers ...
 
thanks, FrancisL.
:nodi:
You might be interested in this about state control.
This reminded me that I used the SQO and SQI way back in the 80's on PLC2/30's after discovering them while browsing the manual. Fantastic and fast. The client had to call in AB to teach them about the advanced instructions because they had never seen anything like it, all the PLC software was plodding ladder before. But they really liked it.
 
Here is the short explanation from the RSLogix Help file.
SQO [Sequencer Output] Rockwell Software
Use the SQO instruction with the SQC instruction to transfer 16-bit data to word addresses for the control of sequential machine operations.

On successive false-to-true transitions, the SQO instruction moves a step through the programmed sequencer file, transferring step data through a mask to a destination word. The done bit is set when the last word of the sequencer file is transferred. On the next false-to-true transition, the instruction resets the position to step one.
You may use indexed or indirect addressing to represent addresses in this instruction.

You can use the reset (RES) instruction to reset a sequencer. All control bits (except FD) will be reset to zero. The position will also be reset to zero. Program the address of your control register in the RES.

Entering Parameters
File is the address of the sequencer file. Make sure to use the file indicator (#). This file stores the reference data for monitoring inputs.

Mask is a hexadecimal code or the address of the mask word or file through which the instruction moves data. If the mask is a file, its length will be equal to the length of the sequencer file. The two files track automatically.

You can enter the code in binary, decimal, or hexadecimal. RSLogix500 will make any necessary conversion and display the hexadecimal value. Click here for an example showing how to enter the Mask value using hexadecimal, binary, or decimal values.

Destination is the address of the output word or file for a SQO to which the instruction moves data from its sequencer file.

Control is the instruction’s address and control element (3 words) that stores the status byte of the instruction, the length of the file, and the position in the file. Do not use this address for any other instruction.

Status bits in the control file include:
11 = ER (error bit)
13 = DN (done bit)
15 = EN (enable bit)
The control element:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Word 0 EN DN ER
Word 1 Length of sequencer file
Word 2 Position

Length is the number of steps of the sequencer file starting at position 1. Maximum = 255 words (104 words when using the MicroLogix controller). Position 0 is the startup position. The instruction resets (wraps) to position 1 at each cycle completion. For example, placing a 6 in this parameter means 6 elements beyond the starting address (total of 7 elements). A length value that points past the end of the programmed file causes a runtime major error to occur.

Position is the word location or step in the sequencer file from/to which the instruction moves data. A position value that points past the end of the programmed file causes a runtime major error to occur.
 

Similar Topics

I have a PLC5/80E that I want to poll a Modbus device into using a Digi1. I have setup the message as a multihop going to the IP adress of the...
Replies
2
Views
1,433
A former customer of mine (I'm retired) in the Somerville New Jersey area needs some help with a machine. It has an Automation Direct DL06, C-More...
Replies
1
Views
1,652
Hi, long story short. I've recently ran into a SIMATIC C7-635. It controls some heating equipment. I can operate it manualy no big deal but...
Replies
6
Views
2,504
I was called into a plant recently to diagnose errors with their natural gas totalization. Long story short: They had installed orifice plate...
Replies
12
Views
5,198
Hello engineers/technicians of PLCS.net! I require your assistance, if you may be so kind to provide it. I hope this is an appropriate query to...
Replies
11
Views
6,487
Back
Top Bottom