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

Create successful ePaper yourself

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

Timer Instructions<br />

12.5 LC Load Current Timer Value into ACCU 1 as BCD<br />

Format<br />

LC <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 />

LC loads the current timer value and time base from the addressed timer<br />

word as a Binary Coded Decimal (BCD) number into ACCU 1 after the content of<br />

ACCU 1 has been saved into ACCU 2.<br />

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

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

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

LC T1 //Load ACCU 1-L with the time base and current timer value of timer T1 in binary<br />

coded decimal (BCD) format.<br />

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

A5E00706960-01 12-9

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

Saved successfully!

Ooh no, something went wrong!