12.07.2015 Views

Proficy Machine Edition Getting Started, GFK-1868H

Proficy Machine Edition Getting Started, GFK-1868H

Proficy Machine Edition Getting Started, GFK-1868H

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

Logic Developer - PCSFC EditorSFC EDITORSFC logic is a graphical language for organizing the sequential execution ofcontrol logic. The SFC editor is an easy-to-use graphical tool for editing sequentialfunction charts in the <strong>Machine</strong> <strong>Edition</strong> environment. With the SFC editor, you canwork on a disk copy of a sequential function chart (offline) or monitor theexecution of an SFC running in the Controller (online). You can also configure theappearance and behavior of the SFC editor.Sequential Function ChartNavigator: Project tabSFC nodesTo add a new SFCAn SFC is much like a flow chart; it is a high level control program that organizesdetailed blocks of logic into a state-like flow. In general, an SFC consists of stepsalternating with transitions. A transition can be a BOOL variable or a StructuredText statement, which resolves to a BOOL value. Each step represents a state thatthe program is in until the transition following it allows execution to proceed to thenext step. Each step contains actions that are user-defined sections of ladder, IL, ST,or FBD logic. The actions in a step are executed in the order they are listed and arerepeated each Controller scan while the step is active. Each action in a step has aqualifier associated with it that determines when and how the action will beexecuted.An SFC document is a grid of cells. Each cell can contain an instruction. Theinstruction set includes steps, transitions, branches, parallels, and jumps.An SFC can be expanded by adding macros. Each macro is a special SFCdocument that can be referenced any number of times from its SFC document orother macros.Want to know more?In the Help Index, look up macro and choose “SFC Macro”. You canalso look up “SFC Tutorial” in the online help Index. This tutorial takesyou step-by-step through the creation of a Sequential Function Chartthat controls traffic signals.1. In the Project tab of the Navigator, right-click the Logic folder or a user-defined folder, point to New, andthen choose SFC.The new SFC appears under the Logic folder or a user-defined folder inalphabetical order.2. (Optional) Enter a unique name for the new SFC.<strong>GFK</strong>-<strong>1868H</strong><strong>Machine</strong> <strong>Edition</strong> 5.50 37

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

Saved successfully!

Ooh no, something went wrong!