Instruction execution times and memory usage, B–16 – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 411

Advertising
background image

Appendix B
Programming Reference

B–16

Mnemonic

HHP

Display

Function

Code

Name

Instruction Type

SUB

81

Subtract

Math

SUS

137

Suspend

Program Flow Control

TND

136

Temporary End

Program Flow Control

TOD

100

Convert to BCD

Data Handling

TOF

1

Timer Off-Delay

Basic

TON

0

Timer On-Delay

Basic

XOR

110

Exclusive Or

Data Handling

➀ Multiple displays.

The table below lists the execution times and memory usage for the
controller instructions. Any instruction that takes longer than 15

µ

s (true or

false execution time) to execute performs a poll for user interrupts.

Mnemonic

False Execution Time

(approx.

µ

seconds)

True Execution Time

(approx.

µ

seconds)

Memory Usage

(user words)

Name

Instruction Type

ADD

6.78

33.09

1.50

Add

Math

ANB

0.40

0.25

And Block

Basic

AND (bit input)

2.12

1.94

1.00

And

Basic

AND (word output)

6.78

34.00

1.50

And

Data Handling

ANI

2.12

1.94

1.00

And Inverted

Basic

BSL

19.80

53.71 + 5.24 x position
value

2.00

Bit Shift Left

Application Specific

BSR

19.80

53.34 + 3.98 x position
value

2.00

Bit Shift Right

Application Specific

CLR

4.25

20.80

1.00

Clear

Math

COP

6.60

27.31 + 5.06/word

1.50

File Copy

Data Handling

CTD

27.22

32.19

1.00

Count Down

Basic

CTU

26.67

29.84

1.00

Count Up

Basic

DCD

6.78

27.67

1.50

Decode 4 to 1 of 16

Data Handling

DDV

6.78

157.06

1.00

Double Divide

Math

DIV

6.78

147.87

1.50

Divide

Math

ENC

6.78

54.80

1.50

Encode 1 of 16 to 4

Data Handling

AND EQU

7.00

21.92

1.75

EQU

LD EQU

6.60

21.52

1.50

Equal

Comparison

OR EQU

7.00

21.92

1.75

Instruction Execution Times
and Memory Usage

Advertising