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.

Absolute and symbolic Programming<br />

Programming Examples<br />

You can write a program to control the conveyor belt using absolute values or<br />

symbols that represent the various components of the conveyor system.<br />

You need to make a symbol table to correlate the symbols you choose with absolute<br />

values (see the STEP 7 Online Help).<br />

System Component Absolute<br />

Address<br />

Symbol Symbol Table<br />

Push Button Start Switch I 1.1 S1 I 1.1 S1<br />

Push Button Stop Switch I 1.2 S2 I 1.2 S2<br />

Push Button Start Switch I 1.3 S3 I 1.3 S3<br />

Push Button Stop Switch I 1.4 S4 I 1.4 S4<br />

Sensor I 1.5 S5 I 1.5 S5<br />

Motor Q 4.0 MOTOR_ON Q 4.0 MOTOR_ON<br />

Absolute Program Symbolic Program<br />

O I 1.1<br />

O I 1.3<br />

S Q 4.0<br />

O I 1.2<br />

O I 1.4<br />

ON I 1.5<br />

R Q 4.0<br />

O S1<br />

O S3<br />

S MOTOR_ON<br />

O S2<br />

O S4<br />

ON S5<br />

R MOTOR_ON<br />

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

A5E00706960-01 B-3

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

Saved successfully!

Ooh no, something went wrong!