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

Page 131

Advertising
background image

Calculating Program Timing

Chapter 9

9-14

Table 9.P

Additional Execution Time Based on Source and Destination Addresses

Data Type

Source

(integer to floating point)

Destination

(floating point to integer)

0Ć2K

2Ć4K

4K+

0Ć2K

2Ć4K

4K+

Integer

0

1

2

0

1

2

Floating point

0

3

4

0

3

4

Data conversion 8

9

10

33

34

35

When file addresses (# prefix) in the expression or destination address
contain indirect addresses for file numbers, add:

45

µ

s

when the indirect address is integer type

48

µ

s

when the indirect address is floating point type

48

µ

s

when the indirect address is timer, counter, or control type

When file addresses in the expression or destination contain indirect
addresses for element numbers, add:

45

µ

s

when the indirect address is integer type

46

µ

s

when the indirect address is floating point type

46

µ

s

when the indirect address is timer, counter, or control type

If the file address contains two indirect addresses, add only one value (the
largest). For example, for #F[N7:20][N7:30], add 48

µ

s (indirect floating

point file address).

Multiply the additional time by the number of elements in the file for any
type of file or file address. For one FAL example:

Expression:

#N[N7:100]/10 * F8:20

add 10 for converting to floating point

add 45 for indirect address

Destination:

#N7:30

add 35 for converting to integer

FAL multiply:

98 + W[42.5 + N + indirect addressing]

N = 2(2) +8 (1) + 6(0) + 10 + 35 = 57

W = 16

Execution time

in ALL mode:

98 + 16[42.5 + 57 +45]

2410

µ

s

Advertising