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.

Load and Transfer Instructions<br />

9.13 TAR1 Transfer Address Register 1 to Destination<br />

(32-Bit Pointer)<br />

Format<br />

Description<br />

Status word<br />

Examples<br />

TAR1 <br />

Address Data type Memory area Source address<br />

DWORD D, M, L 0...65532<br />

TAR1 transfers the contents of address register AR1 into the addressed double<br />

word . Possible destination areas are memory double words (MD), local data<br />

double words (LD), data double words (DBD), and instance data words (DID).<br />

ACCU 1 and ACCU 2 remain unchanged. The instruction is executed without regard<br />

to, and 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 />

TAR1 DBD20 //Transfer the contents of AR1 into data double word DBD20.<br />

TAR1 DID30 //Transfer the contents of AR1 into instance data double word DID30.<br />

TAR1 LD18 //Transfer the contents of AR1 into local data double word LD18.<br />

TAR1 MD24 //Transfer the contents of AR1 into memory double word MD24.<br />

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

9-12 A5E00706960-01

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

Saved successfully!

Ooh no, something went wrong!