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 ...
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-5<br />
Define the Tasks<br />
The first step in the development of an <strong>SFC</strong> is to separate the<br />
configuration <strong>and</strong> regulation of devices from the comm<strong>and</strong>s to those<br />
devices. Logix5000 controllers let you divide your project into one<br />
continuous task <strong>and</strong> multiple periodic tasks <strong>and</strong> event tasks.<br />
1. Organize your project:<br />
These functions:<br />
configure <strong>and</strong> regulate devices<br />
comm<strong>and</strong> a device to a specific state<br />
sequence the execution of your process<br />
Go here:<br />
periodic task<br />
<strong>SFC</strong> in the continuous task<br />
2. For those functions that go in a periodic task, group the<br />
functions according to similar update rates. Create a periodic<br />
task for each update rate.<br />
For example, 2-state devices may require faster updates than<br />
PID loops. Use separate periodic tasks for each.<br />
In this example, a project uses two periodic tasks to regulate motors,<br />
valves, <strong>and</strong> temperature loops. An <strong>SFC</strong> to control the process.<br />
EXAMPLE<br />
Define the Tasks<br />
This task (periodic) uses function block diagrams to turn on or<br />
off motors <strong>and</strong> open or close valves. The <strong>SFC</strong> in MainTask<br />
comm<strong>and</strong>s the state for each device. The function block<br />
diagrams set <strong>and</strong> maintain that state.<br />
This task (periodic) uses function block diagrams to configure<br />
<strong>and</strong> regulate temperature loops. The <strong>SFC</strong> in MainTask<br />
comm<strong>and</strong>s the temperatures. The function block diagrams set<br />
<strong>and</strong> maintain those temperatures.<br />
This task (continuous) executes the sequential function<br />
chart (<strong>SFC</strong>). The <strong>SFC</strong> comm<strong>and</strong>s the specific state or<br />
temperature for each device or temperature loop.<br />
Publication <strong>1756</strong>-<strong>PM003H</strong>-<strong>EN</strong>-E (excerpt from <strong>1756</strong>-PM001H-<strong>EN</strong>-P) - August 2005