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.

14.5 PUSH CPU with Two ACCUs<br />

Format<br />

Description<br />

Status word<br />

Example<br />

PUSH<br />

Accumulator Instructions<br />

PUSH (ACCU 1 to ACCU 2) copies the entire contents of ACCU 1 to ACCU 2.<br />

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

without affecting, the status bits.<br />

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

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

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

L MW10 //Load the contents of MW10 into ACCU 1.<br />

PUSH //Copy entire contents of ACCU 1 into ACCU 2.<br />

Contents ACCU 1 ACCU 2<br />

before executing PUSH instruction <br />

after executing PUSH instruction <br />

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

A5E00706960-01 14-5

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

Saved successfully!

Ooh no, something went wrong!