beautypg.com

Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 221

background image

Chapter 15
Instruction Set Overview

15–7

Bit Shift, FIFO, and LIFO Instructions – Chapter 23

Instruction Name

and Mnemonic

5/02

Only

Function – Output Instructions

Bit Shift Left
Bit Shift Right

BSL

BSR

On each false–to–true transition, these instructions
load a bit of data into a bit array, shift the pattern of
data through the array, and unload the end bit of data.
The BSL shifts data to the left and the BSR shifts
data to the right.

First In First Out (FIFO)

Load (FFL)
Unload (FFU)

FFL

FFU

The FFL instruction loads a word into an FIFO stack
on successive false–to–true transitions. The FFU
unloads a word from the stack on successive
false–to–true transitions. The first word loaded is the
first to be unloaded.

Last In First Out (LIFO)

Load (LFL)
Unload (LFU)

LFL

LFU

The LFL instruction loads a word into an LIFO stack
on successive false–to–true transitions. The LFU
unloads a word from the stack on successive
false–to–true transitions. The last word loaded is the
first to be unloaded.

Sequencer Instructions – Chapter 24

Instruction Name

and Mnemonic

5/02

Only

Function – Output Instructions

Sequencer Output

SQO

On successive false–to–true transitions, the SQO
transfers a word of data from a programmed
sequencer file through a mask to a destination word.

Sequencer Compare

SQC

On successive false–to–true transitions, the SQC
compares a source word or file through a mask to a
word of data in a programmed sequencer file for
equality.

Sequencer Load

SQL

On successive false–to–true transitions, the SQL
loads a word of source data into the current element
of a sequencer file.