File, program control, and ascii instructions – Rockwell Automation 1785-Lxxx Enhanced and Ethernet PLC-5 Programmable Controllers User Manual

Page 332

Advertising
background image

Publication 1785-UM012D-EN-P - July 2005

D-32 Instruction Set Quick Reference

File, Program Control, and ASCII Instructions

Category

Code

Title

Time (

µ

s)

Integer

Time (

µ

s)

Floating Point

Words of
Memory

(1)

True

False

True

False

File Arithmetic
and Logic

FAL

all

11 + (S[2.3 +
i])E

6.16 + Wi[0.16] 11 + (

Σ

[2.3 + i])E

6.16 + Wi[0.16] 3-5 +Wi

File Search and
Compare

FSC

all

11 + (S[2.3 +
i])E

6.16 + Wi[0.16] 11 + (

Σ

[2.3 + i])E

6.16 + Wi[0.16] 3-5 +Wi

File

COP

copy

16.2+E[0.72]

1.4

17.8+E[1.44]

1.4

4-6

counter, timer, and
control

15.7+E[2.16]

1.4

FLL

fill

15.7+E[0.64]

1.5

18.1+E[0.80]

1.5

4-6

counter, timer, and
control

15.1+E[1.60]

1.5

Shift Register

BSL

bit shift left

10.6+B[0.025] 5.2

4-7

BSR

bit shift right

11.1 +
B[0.025]

5.2

4-7

FFL

FIFO load

8.9

3.8

4-7

FFU

FIFO unload

10.0+E[0.43]

3.8

4-7

LFL

LIFO load

9.1

3.7

4-7

LFU

LIFO unload

10.6

3.8

4-7

Diagnostic

FBC

0 mismatch

15.4 +
B[0.055]

2.9

6-11

1 mismatch

22.4 +
B[0.055]

2.9

2 mismatches

29.9+ B[0.055] 2.9

DDT

0 mismatch

15.4 +
B[0.055]

2.9

6-11

1 mismatch

24.5 +
B[0.055]

2.9

2 mismatches

34.2 +
B[0.055]

2.9

DTR

data transitional

5.3

5.3

4-7

(1)

Use the larger number for addresses beyond 2048 words in the controller’s data table.

i = execution time of each instruction (e.g., ADD, SUB, etc.) used within the FAL or the FSC expression

E = number of elements acted on per scan

B = number of bits acted on per scan

Wi = number of words used by the instruction (e.g., ADD, SUB, etc.) within the FAL or FSC expression

FAL or FSC instructions are calculated with short direct addressing

Advertising