beautypg.com

Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 196

background image

Preface

MicroLogix 1000 Programmable Controllers User Manual

11–8

Entering Parameters

Enter the following parameters when programming these instructions:

File is the address of the sequencer file. You must use the file indicator (#) for
this address.

Sequencer file data is used as follows:

Instruction

Sequencer File Stores

SQO

Data for controlling outputs

SQC

Reference data for monitoring inputs

Mask (SQO, SQC) is a hexadecimal code or the address of the mask word or
file through which the instruction moves data. Set mask bits to pass data and
clear mask bits to prevent the instruction from operating on corresponding
destination bits. Use a mask word or file if you want to change the mask
according to application requirements.

If the mask is a file, its length will be equal to the length of the sequencer file.
The two files track automatically.

Source is the address of the input word or file for a SQC from which the
instruction obtains data for comparison to its sequencer file.

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

Note

You can address the mask, source, or destination of a sequencer instruction as a
word or file. If you address it as a file (using file indicator #), the instruction
automatically steps through the source, mask, or destination file.

Control (SQO, SQC) is the control structure that stores the status byte of the
instruction, the length of the sequencer file, and the current position in the file.
You should not use the control address for any other instruction.

EN DN ER FD

15 13 11 08 00

Length of sequencer file

Position

Word 0

Word 1

Word 2