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.

Floating-Point Math Instructions<br />

Example<br />

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

OPN DB10<br />

L ID10 //Load the value of ID10 into ACCU 1.<br />

L MD14 //Load the value of ACCU 1 into ACCU 2. Load the value of MD14 into ACCU<br />

1.<br />

-R //Subtract ACCU 1 from ACCU 2; store the result in ACCU 1.<br />

T DBD25 //The content of ACCU 1 (result) is transferred to DBD25 in DB10.<br />

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

8-6 A5E00706960-01

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

Saved successfully!

Ooh no, something went wrong!