A SERVICE OF

logo

Chapter 10 Define a sequential function chart routine
186 Rockwell Automation Publication 1756-RM084S-EN-P - March 2015
LOGIC (Online_Edit_Type := Test)
(* SFC logic here *)
END_LOGIC
LOGIC (Online_Edit_Type := Pend)
(* SFC logic here *)
END_LOGIC
END_SFC_ROUTINE
L5K Example 2: Only pending edits exist
SFC_ROUTINE MySFCRoutine (SheetSize := "Letter (8.5x11in)",
SheetOrientation := Landscape, StepName := "Step",
TransitionName := "Tran", ActionName := "Action",
StopName := "Stop")
LOGIC (Online_Edit_Type := Orig)
(* SFC logic here *)
END_LOGIC
LOGIC (Online_Edit_Type := Pend)
(* SFC logic here *)
END_LOGIC
END_SFC_ROUTINE
Online edit types
Item Identifies
Online_Edit_Type When you export logic:
If online edits exist, there is a LOGIC block for Online_Edit_Type := Orig and the appropriate
LOGIC block for the existing edits. Online_Edit_Type : = Pend indicates pending edits.
Online_Edit_Type := Test indicates test edits.
If there are no online edits when you export the logic, there are no LOGIC blocks and the main
components in the routine are SFC logic components.
These examples show the step structure.
L5X step structure
<Step [Step_Attributes]>
<Preset>
logic
</Preset>
<LimitHigh>
logic
</LimitHigh>
<LimitLow>
Steps