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.

9.9 T Transfer<br />

Format<br />

Description<br />

Status word<br />

Examples<br />

T <br />

Address Data type Memory area Source address<br />

BYTE<br />

I, Q, PQ, M, L, D 0...65535<br />

WORD<br />

0...65534<br />

DWORD<br />

0...65532<br />

Load and Transfer Instructions<br />

T transfers (copies) the contents of ACCU 1 to the destination address if<br />

the Master Control Relay is switched on (MCR = 1). If MCR = 0, then the destination<br />

address is written with 0. The number of bytes copied from ACCU 1 depends on the<br />

size expressed in the destination address. ACCU 1 also saves the data after the<br />

transfer procedure. A transfer to the direct I/O area (memory type PQ) also transfers<br />

the contents of ACCU 1 or "0" (if MCR=0) to the corresponding address of the<br />

process image output table (memory type Q). The instruction is executed without<br />

regard 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 />

T QB10 //Transfers contents of ACCU 1-L-L to output byte QB10.<br />

T MW14 //Transfers contents of ACCU 1-L to memory word MW14.<br />

T DBD2 //Transfers contents of ACCU 1 to data double word DBD2.<br />

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

A5E00706960-01 9-9

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

Saved successfully!

Ooh no, something went wrong!