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.

Bit Logic Instructions<br />

1.22 SAVE Save RLO in BR Register<br />

Format<br />

SAVE<br />

Description of instruction<br />

Status word<br />

SAVE saves the RLO into the BR bit. The first check bit /FC is not reset. For this<br />

reason, the status of the BR bit is included in the AND logic operation in the next<br />

network.<br />

The use of SAVE and a subsequent query of the BR bit in the same block or in<br />

secondary blocks is not recommended because the BR bit can be changed by<br />

numerous instructions between the two. It makes sense to use the SAVE instruction<br />

before exiting a block because this sets the ENO output (= BR bit) to the value of the<br />

RLO bit and you can then add error handling of the block to this.<br />

BR CC 1 CC 0 OV OS OR STA RLO /FC<br />

writes: x - - - - - - - -<br />

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

1-22 A5E00706960-01

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

Saved successfully!

Ooh no, something went wrong!