Bradley Smoker PLC-5 user manual File, Program Control, and Ascii Instructions

Models: PLC-5

1 388
Download 388 pages 13.97 Kb
Page 332
Image 332

D-32Instruction Set Quick Reference

File, Program Control, and ASCII Instructions

Category

Code

Title

Time (s)

 

Time (s)

 

Words of

 

 

 

Integer

 

Floating Point

 

Memory(1)

 

 

 

True

False

True

 

False

 

 

 

 

 

 

 

 

 

 

File Arithmetic

FAL

all

11 + (S[2.3 +

6.16 + Wi[0.16]

11 + (Σ

[2.3 + i])E

6.16 + Wi[0.16]

3-5 +Wi

and Logic

 

 

i])E

 

 

 

 

 

 

 

 

 

 

 

 

 

 

File Search and

FSC

all

11 + (S[2.3 +

6.16 + Wi[0.16]

11 + (Σ

[2.3 + i])E

6.16 + Wi[0.16]

3-5 +Wi

Compare

 

 

i])E

 

 

 

 

 

 

 

 

 

 

 

 

 

File

COP

copy

16.2+E[0.72]

1.4

17.8+E[1.44]

1.4

4-6

 

 

 

 

 

 

 

 

 

 

 

counter, timer, and

15.7+E[2.16]

1.4

 

 

 

 

 

 

control

 

 

 

 

 

 

 

FLL

fill

15.7+E[0.64]

1.5

18.1+E[0.80]

1.5

4-6

 

 

 

 

 

 

 

 

 

 

 

counter, timer, and

15.1+E[1.60]

1.5

 

 

 

 

 

 

control

 

 

 

 

 

 

Shift Register

BSL

bit shift left

10.6+B[0.025]

5.2

 

 

 

4-7

 

BSR

bit shift right

11.1 +

5.2

 

 

 

4-7

 

 

 

B[0.025]

 

 

 

 

 

 

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 +

2.9

 

 

 

6-11

 

 

 

B[0.055]

 

 

 

 

 

 

 

1 mismatch

22.4 +

2.9

 

 

 

 

 

 

 

B[0.055]

 

 

 

 

 

 

 

2 mismatches

29.9+ B[0.055]

2.9

 

 

 

 

 

DDT

0 mismatch

15.4 +

2.9

 

 

 

6-11

 

 

 

B[0.055]

 

 

 

 

 

 

 

1 mismatch

24.5 +

2.9

 

 

 

 

 

 

 

B[0.055]

 

 

 

 

 

 

 

2 mismatches

34.2 +

2.9

 

 

 

 

 

 

 

B[0.055]

 

 

 

 

 

 

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

Publication 1785-UM012D-EN-P - July 2005

Page 332
Image 332
Bradley Smoker PLC-5 user manual File, Program Control, and Ascii Instructions