beautypg.com

13 - using application specific instructions, About the application specific instructions, Using application specific instructions – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 227

background image

13

Chapter

13–1

Using Application Specific Instructions

This chapter contains general information about the application specific
instructions and explains how they function in your application program.
Each of the instructions includes information on:

what the instruction symbol looks like

typical execution time for the instruction

how to use the instruction

how to enter the instruction

In addition, the last section contains an application example for a paper
drilling machine that shows the application specific instructions in use.

Application Specific Instructions

HHP

Display

Mnemonic

Function
Code

Name

Purpose

Page

BSL

150

Bit Shift Left

Loads a bit of data into a bit array, shifts the pattern of data to the
left through the array, and unloads the last bit of data in the array.

13–3

BSR

151

Bit Shift Right

Loads a bit of data into a bit array, shifts the pattern of data to the
right through the array, and unloads the last bit of data in the
array.

13–4

SQO

SQC

152

153

Sequencer Output

Sequencer Compare

Control sequential machine operations by transferring 16-bit data
through a mask to image addresses.

13–6

SQL

154

Sequencer Load

Capture referenced conditions by manually stepping the machine
through its operating sequences.

13–12

STD

STE

155

156

Selectable Timer
Interrupt Disable

Selectable Timer
Interrupt Enable

Output instructions, associated with the Selectable Timed
Interrupt function. STD and STE are used to prevent an STI from
occurring during a portion of the program.

13–17

STS

157

Selectable Timer
Interrupt Start

Initiates a Selectable Timed Interrupt.

13–18

INT

LD INT

158

Interrupt Subroutine

Associated with Selectable Timed Interrupts or HSC Interrupts.

13–19

These instructions simplify your program by allowing you to use a single
instruction or pair of instructions to perform common complex operations.

Since these are output instructions (except LD INT), they do not have LD,
AND, and OR equivalents.

In this chapter, you will find a general overview preceding groups of
instructions. Before you learn about the instructions in each of these groups,
we suggest that you read the overview. This chapter contains the following
overviews:

Bit Shift Instructions Overview

Sequencer Instructions Overview

Selectable Timed Interrupt (STI) Function Overview

About the Application
Specific Instructions