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.

6.8 JBI Jump if BR = 1<br />

Format<br />

Description<br />

Status word<br />

JBI <br />

Address Description<br />

Symbolic name of jump destination.<br />

Logic Control Instructions<br />

If status bit BR is 1, JBI interrupts the linear program scan and jumps<br />

to a jump destination. The linear program scan resumes at the jump destination. The<br />

jump destination is specified by a jump label. A jump label may be as many as four<br />

characters, and the first character must be a letter. Jump labels are followed with a<br />

mandatory colon ":" and must precede the program statement in a line. Both forward<br />

and backward jumps are possible. Jumps may be executed only within a block, that<br />

is, the jump instruction and the jump destination must lie within one and the same<br />

block. The jump destination must be unique within this block. The maximum jump<br />

distance is -32768 or +32767 words of program code. The actual maximum number<br />

of statements you can jump over depends on the mix of the statements used in your<br />

program (one-, two-, or three word statements).<br />

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

writes: - - - - - 0 1 - 0<br />

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

A5E00706960-01 6-9

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

Saved successfully!

Ooh no, something went wrong!