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

Page 126

Advertising
background image

Calculating Program Timing

Chapter 9

9-9

Category

Words of

Memory

2

Execution Time (

µ

s)

Floating Point

True

False

Execution Time (

µ

s)

Integer

True

False

Title

Code

Arithmetic

ADD

add

36

14

92

14

4Ć7

SUB

subtract

MUL

multiply

41

14

98

DIV

divide

49

14

172

SQR

square root

82

14

212

14

3Ć5

NEG

negate

28

14

36

CLE

clear

18

14

23

14

2Ć3

TOD

convert to BCD

52

14

3Ć5

FRD

convert from BCD

44

Logic

AND

and

36

14

4Ć7

OR

or

XOR

exclusive or

NOT

not

27

14

3Ć5

Move

MOV

move

26

14

35

14

MVM

masked move

55

14

6Ć9

Comparison

EQU

equal

32

14

42

14

3Ć5

NEQ

not equal

LES

less than

LEQ

less than or equal

GRT

greater than

GEQ

greater than or equal

LIM

limit test

42

14

60

14

4Ć7

MEQ

mask compare if equal 41

14

2

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

Advertising