Está en la página 1de 10

ECT 464

Lecture 9 Sequencer

Todays Quote:

Feed your faith and your doubts will starve to death.


But we are not of those who shrink back and are destroyed, but of those who believe and are saved.
Hebrews 10:39

Sequencer Overview
Sequencer instructions are used to control
automatic assembly machines or processes that have a consistent and repeatable operation. They are typically time based or event driven.

Sequencer Instructions
Sequencer Compare SQO - Sequencer Output SQL - Sequencer Load Use the sequencer compare instruction to

detect when a step is complete; use the sequencer output instruction to set output conditions for each step. Use the sequencer load instruction to load data into the sequencer file.

Sequencer Compare (SQC)


On a false-to-true rung transition, the SQC
instruction is used to compare masked source words with the masked value at a reference address (the sequencer file) for the control of sequential machine operations.

SQC Mask
When the status of all non-masked bits in the
source word match those of the corresponding reference word, the instruction sets the found bit (FD) in the control word. Otherwise, the found bit (FD) is cleared. The bits mask data when reset (0) and pass data when set (1). The mask can be fixed or variable. If you enter a hexadecimal code, it is fixed. If you enter an element address or a file address (direct or indirect) for changing the mask with each step, it is variable.

SQC Increment
When the rung goes from false-to-true, the
instruction increments to the next step (word) in the sequencer file. Data stored there is transferred through a mask and compared against the source for equality. While the rung remains true, the source is compared against the reference data for every scan. If equal, the FD bit is set in the SQC control counter.

Applications of the SQC instruction include


machine diagnostics.

Sequencer Output (SQO)


On a false-to-true rung transition, the SQO
instruction transfers masked source reference words or long words to the destination for the control of sequential machine operations. When the rung goes from false-to-true, the instruction increments to the next step (word) in the sequencer file. Data stored there is transferred through a mask to the destination address specified in the instruction. Data is written to the destination word every time the instruction is executed.

Sequencer Output (SQO)

Sequencer Load (SQL)


On a false-to-true rung transition, the SQL
instruction loads words into a sequencer file at each step of a sequencer operation.