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.

Load and Transfer Instructions<br />

9.10 T STW Transfer ACCU 1 into Status Word<br />

Format<br />

Description<br />

Status word<br />

Example<br />

T STW<br />

T STW (instruction T with the address STW) transfers bit 0 to bit 8 of ACCU 1 into the<br />

status word.<br />

The instruction is executed without regard to the status bits.<br />

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

writes: x x x x x x x x x<br />

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

T STW //Transfer bit 0 to bit 8 from ACCU 1 to the status word.<br />

The bits in ACCU 1 contain the following status bits:<br />

Bit 31-9 8 7 6 5 4 3 2 1 0<br />

Content: *) BR CC 1 CC 0 OV OS OR STA RLO /FC<br />

*) bits are not transferred.<br />

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

9-10 A5E00706960-01

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

Saved successfully!

Ooh no, something went wrong!