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.

1 Bit Logic Instructions<br />

1.1 Overview of Bit Logic Instructions<br />

Description<br />

Bit logic instructions work with two digits, 1 and 0. These two digits form the base of<br />

a number system called the binary system. The two digits 1 and 0 are called binary<br />

digits or bits. In the world of contacts and coils, a 1 indicates activated or energized,<br />

and a 0 indicates not activated or not energized.<br />

The bit logic instructions interpret signal states of 1 and 0 and combine them<br />

according to Boolean logic. These combinations produce a result of 1 or 0 that is<br />

called the ”result of logic operation” (RLO).<br />

Boolean bit logic applies to the following basic instructions:<br />

• A And<br />

• AN And Not<br />

• O Or<br />

• ON Or Not<br />

• X Exclusive Or<br />

• XN Exclusive Or Not<br />

• O And before Or<br />

You can use the following instructions to perform nesting expressions:<br />

• A( And with Nesting Open<br />

• AN( And Not with Nesting Open<br />

• O( Or with Nesting Open<br />

• ON( Or Not with Nesting Open<br />

• X( Exclusive Or with Nesting Open<br />

• XN( Exclusive Or Not with Nesting Open<br />

• ) Nesting Closed<br />

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

A5E00706960-01 1-1

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

Saved successfully!

Ooh no, something went wrong!