beautypg.com

Instructions having indexed addresses, Instructions having m0 and m1 data file addresses – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 466

background image

Instruction Execution Times

Appendix C
Memory Usage,

C–12

Instructions Having Indexed Addresses

For each operand having an indexed address, add 30 microseconds to the
execution time for a true instruction. For example, if a MOV instruction has
an indexed address for both the source and destination, the execution time
when the instruction is true is 14 + 30 + 30 = 74 microseconds.

Instructions Having M0 and M1 Data File Addresses

For each bit or word instruction, add 1157 microseconds to the execution
time. For each multiple-word instruction, add 950 microseconds plus 400
microseconds per word.

]/[

M1:3.1

1

] [

M0:2.1

1

( )

M0:2.1

10

MOV

MOVE
Source

M1:10.7

Dest

N7:10

Example

COP

COPY FILE
Source

#B3:0

Dest

#M0:1.0

Length

34

For the multi–word instruction above, add 950 microseconds plus 400
microseconds per word. In this example, 34 words are copied from #B:3.0 to
M0:1.0. Add 950 + (400 x 34) = 14550 microseconds to the execution time
listed on page C–10. This comes to 471 (calculated from page C–10 table)
plus 14550 = 15021 microseconds total, or 15.0 milliseconds.