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.

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

To convert the pseudocode to structured text comments, add these<br />

comment symbols:<br />

For a comment:<br />

on a single line<br />

that spans more than one line<br />

Use one of these formats:<br />

//comment<br />

(*start of comment . . . end of<br />

comment*)<br />

/*start of comment . . . end of<br />

comment*/<br />

Choose a Qualifier for an<br />

Action<br />

Each action (non-boolean <strong>and</strong> boolean) uses a qualifier to determine<br />

when it starts <strong>and</strong> stops.<br />

The default qualifier is Non-Stored. The action starts when the step is<br />

activated <strong>and</strong> stops when the step is deactivated.<br />

To change when an action starts or stops, assign a different qualifier:<br />

Table 4.1 Choose a Qualifier for an Action<br />

If you want the action to: And: Then assign this<br />

qualifier:<br />

Which<br />

means:<br />

start when the step is activated stop when the step is deactivated N Non-Stored<br />

execute only once P1 Pulse (Rising<br />

Edge)<br />

stop before the step is deactivated or when the<br />

L Time Limited<br />

step is deactivated<br />

stay active until a Reset action turns off this action S Stored<br />

stay active until a Reset action turns off this action SL Stored <strong>and</strong><br />

Time Limited<br />

or a specific time expires, even if the step is<br />

deactivated<br />

start a specific time after the step is activated<br />

<strong>and</strong> the step is still active<br />

start a specific time after the step is activated,<br />

even if the step is deactivated before this time<br />

stop when the step is deactivated D Time Delayed<br />

stay active until a Reset action turns off this action DS Delayed <strong>and</strong><br />

Stored<br />

stay active until a Reset action turns off this action SD Stored <strong>and</strong><br />

Time Delayed<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!