26.10.2012 Views

Statement List (STL) - DCE FEL ČVUT v Praze

Statement List (STL) - DCE FEL ČVUT v Praze

Statement List (STL) - DCE FEL ČVUT v Praze

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Timer Instructions<br />

12.4 L Load Current Timer Value into ACCU 1 as Integer<br />

Format<br />

L <br />

Address Data type Memory area Description<br />

TIMER T Timer number, range depends on<br />

CPU<br />

Description of instruction<br />

Status word<br />

Example<br />

L loads the current timer value from the addressed timer word without a<br />

time base as a binary integer into ACCU 1-L after the contents of ACCU 1 have been<br />

saved into ACCU 2.<br />

BR CC 1 CC 0 OV OS OR STA RLO /FC<br />

writes: - - - - - - - - -<br />

<strong>STL</strong> Explanation<br />

L T1 //Load ACCU 1-L with the current timer value of timer T1 in binary code.<br />

<strong>Statement</strong> <strong>List</strong> (<strong>STL</strong>) for S7-300 and S7-400 Programming<br />

A5E00706960-01 12-7

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

Saved successfully!

Ooh no, something went wrong!