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.2 Example: Bit Logic Instructions<br />

Example 1: Controlling a Conveyor Belt<br />

The following figure shows a conveyor belt that can be activated electrically. There<br />

are two push button switches at the beginning of the belt: S1 for START and S2 for<br />

STOP. There are also two push button switches at the end of the belt: S3 for START<br />

and S4 for STOP. It is possible to start or stop the belt from either end. Also, sensor<br />

S5 stops the belt when an item on the belt reaches the end.<br />

MOTOR_ON<br />

S1<br />

S2<br />

O Start<br />

O Stop<br />

S3<br />

S4<br />

O Start<br />

O Stop<br />

Sensor S5<br />

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

B-2 A5E00706960-01

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

Saved successfully!

Ooh no, something went wrong!