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.

Programming Examples<br />

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

Storage Area with Counter and Comparator<br />

The following figure shows a system with two conveyor belts and a temporary<br />

storage area in between them. Conveyor belt 1 delivers packages to the storage<br />

area. A photoelectric barrier at the end of conveyor belt 1 near the storage area<br />

determines how many packages are delivered to the storage area. Conveyor belt 2<br />

transports packages from the temporary storage area to a loading dock where trucks<br />

take the packages away for delivery to customers. A photoelectric barrier at the end<br />

of conveyor belt 2 near the storage area determines how many packages leave the<br />

storage area to go to the loading dock. A display panel with five lamps indicates the<br />

fill level of the temporary storage area.<br />

Storage area<br />

empty<br />

(Q 12.0)<br />

Storage area<br />

not empty<br />

(Q 12.1)<br />

Display Panel<br />

Storage area<br />

50% full<br />

(Q 15.2)<br />

Storage area<br />

90% full<br />

(Q 15.3)<br />

Storage area<br />

Filled to capacity<br />

(Q 15.4)<br />

Packages in I 12.0<br />

Temporary<br />

storage area<br />

for 100<br />

packages<br />

I 12.1<br />

Packages out<br />

Conveyor belt 1<br />

Photoelectric barrier 1 Photoelectric barrier 2<br />

Conveyor belt 2<br />

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

B-10 A5E00706960-01

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

Saved successfully!

Ooh no, something went wrong!