Rockwell Automation 1785-LTx,D17856.2.1 Classic PLC-5 Programmable Controllers Users Manual User Manual

Page 127

Advertising
background image

Calculating Program Timing

Chapter 9

9-10

Category

Words of

Memory

2

Execution Time (

µ

s)

Floating Point

True

False

Execution Time (

µ

s)

Integer

True

False

Title

Code

Compute

CPT

add

67

34

124

34

6Ć9

subtract

multiply

73

34

130

divide

80

34

204

square root

113

33

244

34

5Ć7

negate

59

33

68

clear

49

30

55

34

4Ć5

move

58

33

5Ć7

convert to BCD

84

convert from BCD

75

AND

68

34

6Ć9

OR

XOR

NOT

59

34

5Ć7

Compare

CMP

equal

63

34

73

34

not equal

less than

less than or equal

greater than

greater than or equal

2

Use the smaller number if all addresses are below word 4096; use the larger number if all addresses are above 4096.

Advertising