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.16 TAR2 Transfer Address Register 2 to Destination<br />

(32-Bit Pointer)<br />

Format<br />

Description<br />

Status word<br />

Examples<br />

TAR2 <br />

Address Data type Memory area Source address<br />

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

TAR2 transfers the contents of address register AR2 to 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 double 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 />

TAR2 DBD20 //Transfer the contents of AR2 to data double word DBD20.<br />

TAR2 DID30 //Transfer the contents of AR2 to instance double word DID30.<br />

TAR2 LD18 //Transfer the contents of AR2 into local data double word LD18.<br />

TAR2 MD24 //Transfer the contents of AR2 into memory double word MD24.<br />

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

9-14 A5E00706960-01

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

Saved successfully!

Ooh no, something went wrong!