A SERVICE OF

logo

Rockwell Automation Publication 1756-RM084S-EN-P - March 2015 159
Chapter 9
Define a function block diagram routine
This chapter explains how to enter function block diagram logic in a complete
import/export file.
These examples show the function block routine structure.
L5X function block diagram routine structure
<Routines>
<Routine [Routine_Attributes]>
<Description>
<![CDATA[ text ]]>
</Description>
<FBDContent [FBDContent_Attributes]>
<Sheet [Sheet_Attributes]>
logic
</Sheet>
</FBDContent>
</Routine>
</Routines>
L5K Function Block FBD_ROUTINE structure
FBD_ROUTINE <routine_name> [(Description := "text",
Routine_attributes, FBD_Attributes)]
<function block sheets>
END_FBD_ROUTINE
Function block routine elements
L5X Item L5K Item Identifies
N/A routine_name The name of the routine.
In L5X, use a Name attribute on the <Routine> element.
Description Description User information about the routine.
FBDContent function block sheets Function block diagram logic.
Introduction
Function BlockDiagram
Routine