12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

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.

plc function ref - 34.31<br />

FOR, NXT, BRK - For, Next, Break<br />

A<br />

FOR<br />

FOR<br />

Label Number<br />

Index<br />

Initial Value<br />

Terminal Value<br />

Step Size 2<br />

0<br />

N7:0<br />

0<br />

10<br />

B<br />

BRK<br />

C<br />

NXT<br />

NEXT<br />

Label Number 0<br />

Description:<br />

Status Bits:<br />

Registers:<br />

This instruction will create a loop like traditional programming languages<br />

with a start <strong>and</strong> end value with a step size for each loop.<br />

Instructions between the FOR <strong>and</strong> NXT will be repeated. If the line<br />

with the BRK statement becomes true, the NXT comm<strong>and</strong> will be<br />

ignored.<br />

none<br />

none<br />

Available on: Micrologix, PLC-5

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

Saved successfully!

Ooh no, something went wrong!