22.07.2013 Views

Instruction list for S7-300 - DCE FEL ČVUT v Praze

Instruction list for S7-300 - DCE FEL ČVUT v Praze

Instruction list for S7-300 - DCE FEL ČVUT v Praze

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Execution Times with Indirect Addressing Execution Times with Indirect Addressing<br />

Examples of Calculations (<strong>for</strong> the CPU 314)<br />

You will find a few examples here <strong>for</strong> calculating the execution<br />

times <strong>for</strong> the various methods of indirect addressing. Execution<br />

times are calculated <strong>for</strong> the CPU 314.<br />

Calculating the Execution Times <strong>for</strong> Area-Internal<br />

Memory-Indirect Addressing<br />

Example: A I [DBD 12]<br />

Step 1: Load the contents of DBD 12 (time required is <strong>list</strong>ed<br />

in the table on page 21)<br />

Address is in ... Execution Time in s<br />

Bit memory area M<br />

Word<br />

Double word<br />

0.7<br />

2.3<br />

Data block DB/DI<br />

Word<br />

2.8<br />

Double word 3.9<br />

Step 2: AND the input addressed in this way (you will find<br />

the execution time in the tables in the chapter entitled<br />

“List of <strong>Instruction</strong>s”)<br />

Typical Execution Time in s<br />

Direct Addressing Indirect Addressing<br />

0.2<br />

:<br />

Total execution time:<br />

3.9 s<br />

+ 2.0 s<br />

= 5.9 s<br />

Time <strong>for</strong><br />

A I<br />

<strong>S7</strong>-<strong>300</strong> <strong>Instruction</strong> List <strong>S7</strong>-<strong>300</strong> <strong>Instruction</strong> List<br />

22 EWA 4NEB 710 6087-02 EWA 4NEB 710 6087-02<br />

23<br />

2.0+<br />

:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!