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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Organize the Steps<br />

Once you define the steps of your process, organize them into<br />

sequences, simultaneous branches, selection branches, or loops.<br />

To: Use this structure: With these considerations:<br />

Execute 1 or more steps in sequence:<br />

• One executes repeatedly.<br />

• Then the next executes repeatedly.<br />

Sequence<br />

The <strong>SFC</strong> checks the transition at the end of the<br />

step:<br />

• If true, the <strong>SFC</strong> goes to the next step.<br />

• If false, the <strong>SFC</strong> repeats the step.<br />

• Choose between alternative steps<br />

or groups of steps depending on<br />

logic conditions<br />

• Execute a step or steps or skip the<br />

step or steps depending on logic<br />

conditions<br />

Execute 2 or more steps at the same time.<br />

All paths must finish before continuing the<br />

<strong>SFC</strong><br />

Selection Branch<br />

Simultaneous Branch<br />

• It is OK for a path to have no steps <strong>and</strong><br />

only a transition. This lets the <strong>SFC</strong> skip<br />

the selection branch.<br />

• By default, the <strong>SFC</strong> checks from left to<br />

right the transitions that start each<br />

path. It takes the first true path.<br />

• If no transitions are true, the <strong>SFC</strong><br />

repeats the previous step.<br />

• RSLogix 5000 software lets you change<br />

the order in which the <strong>SFC</strong> checks the<br />

transitions.<br />

• A single transition ends the branch.<br />

• The <strong>SFC</strong> checks the ending transition<br />

after the last step in each path has<br />

executed at least once. If the transition<br />

is false, the <strong>SFC</strong> repeats the previous<br />

step.<br />

Loop back to a previous step Wire to a Previous Step • Connect the wire to the step or<br />

simultaneous branch to which you want<br />

to go.<br />

• Do not wire into, out of, or between a<br />

simultaneous branch.<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!