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.

Accumulator Instructions<br />

14.4 POP CPU with Four ACCUs<br />

Format<br />

Description<br />

Status word<br />

Example<br />

POP<br />

POP (CPU with four ACCUs) copies the entire contents of ACCU 2 to ACCU 1, the<br />

contents of ACCU 3 to ACCU 2, and the contents of ACCU 4 to ACCU 3. ACCU 4<br />

remains unchanged. The instruction is executed without regard to, and without<br />

affecting, the status bits.<br />

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

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

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

T MD10 //Transfer contents of ACCU 1 (= value A) to MD10<br />

POP //Copy entire contents of ACCU 2 to ACCU 1<br />

T MD14 //Transfer contents of ACCU 1 (= value B) to MD14<br />

Contents ACCU 1 ACCU 2 ACCU 3 ACCU 4<br />

before executing POP instruction value A value B value C value D<br />

after executing POP instruction value B value C value D value D<br />

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

14-4 A5E00706960-01

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

Saved successfully!

Ooh no, something went wrong!