25.07.2014 Views

1756-PM003H-EN-E, SFC and ST Programming Languages ...

1756-PM003H-EN-E, SFC and ST Programming Languages ...

1756-PM003H-EN-E, SFC and ST Programming Languages ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Design a Sequential Function Chart 4-39<br />

For additional information on how to nest an <strong>SFC</strong>, see “Nest an <strong>SFC</strong>”<br />

on page 4-41.<br />

End the <strong>SFC</strong><br />

Once an <strong>SFC</strong> completes its last step, it does not automatically restart at<br />

the first step. You must tell the <strong>SFC</strong> what to do when it finishes the last<br />

step.<br />

To:<br />

automatically loop back to an<br />

earlier step<br />

stop <strong>and</strong> wait for a comm<strong>and</strong> to<br />

restart<br />

Do this:<br />

Wire the last transition to the top of the step to which you want to go.<br />

See “Wire to a Previous Step“on page 4-14.<br />

Use a Stop Element.<br />

See “Use a Stop Element” on page 4-38.<br />

Use a Stop Element<br />

The stop element lets you stop the execution of an entire <strong>SFC</strong> or a<br />

path of a simultaneous branch <strong>and</strong> wait to restart. When an <strong>SFC</strong><br />

reaches a stop element:<br />

• The X bit of the stop element turns on. This signals that the <strong>SFC</strong><br />

is at the stop element.<br />

• Stored actions remain active.<br />

• Execution stops for part or all of the <strong>SFC</strong>:<br />

If the stop element is at the end of a:<br />

sequence<br />

selection branch<br />

path within a simultaneous branch<br />

Then:<br />

entire <strong>SFC</strong> stops<br />

only that path stops while the rest of the<br />

<strong>SFC</strong> continues to execute.<br />

Publication <strong>1756</strong>-<strong>PM003H</strong>-<strong>EN</strong>-E (excerpt from <strong>1756</strong>-PM001H-<strong>EN</strong>-P) - August 2005

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

Saved successfully!

Ooh no, something went wrong!