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.

Contents<br />

14 Accumulator Instructions 14-1<br />

14.1 Overview of Accumulator and Address Register Instructions ........................ 14-1<br />

14.2 TAK Toggle ACCU 1 with ACCU 2.............................................................. 14-2<br />

14.3 POP CPU with Two ACCUs ........................................................................ 14-3<br />

14.4 POP CPU with Four ACCUs........................................................................ 14-4<br />

14.5 PUSH CPU with Two ACCUs...................................................................... 14-5<br />

14.6 PUSH CPU with Four ACCUs ..................................................................... 14-6<br />

14.7 ENT Enter ACCU Stack............................................................................... 14-7<br />

14.8 LEAVE Leave ACCU Stack ......................................................................... 14-7<br />

14.9 INC Increment ACCU 1-L-L......................................................................... 14-8<br />

14.10 DEC Decrement ACCU 1-L-L...................................................................... 14-9<br />

14.11 +AR1 Add ACCU 1 to Address Register 1 ................................................ 14-10<br />

14.12 +AR2 Add ACCU 1 to Address Register 2 ................................................ 14-11<br />

14.13 BLD Program Display Instruction (Null)..................................................... 14-12<br />

14.14 NOP 0 Null Instruction ............................................................................... 14-12<br />

14.15 NOP 1 Null Instruction ............................................................................... 14-13<br />

A Overview of All <strong>STL</strong> Instructions A-1<br />

A.1 <strong>STL</strong> Instructions Sorted According to German Mnemonics (SIMATIC) ...........A-1<br />

A.2 <strong>STL</strong> Instructions Sorted According to English Mnemonics (International) .......A-7<br />

B Programming Examples B-1<br />

B.1 Overview of Programming Examples ...............................................................B-1<br />

B.2 Example: Bit Logic Instructions ........................................................................B-2<br />

B.3 Example: Timer Instructions .............................................................................B-7<br />

B.4 Example: Counter and Comparison Instructions............................................B-10<br />

B.5 Example: Integer Math Instructions ................................................................B-12<br />

B.6 Example: Word Logic Instructions ..................................................................B-13<br />

C Parameter Transfer C-1<br />

Index Index-1<br />

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

A5E00706960-01 xi

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

Saved successfully!

Ooh no, something went wrong!