
Define a function block diagram routine Chapter 9
Rockwell Automation Publication 1756-RM084S-EN-P - March 2015 167
Block guidelines
Use these block guidelines with function blocks:
• If the operand is not a qualified tag of the correct data type, the blocks are
not verified.
• Some function block instructions require specific arrays. The table lists the
valid array name for each of these instructions.
Instruction Array Name
DEDT Storage (required)
FGEN X1 (required)
Y1 (required)
X2 (optional)
Y2 (optional)
MAVE Storage (required)
Weight (optional)
RMPS RampValue (required)
SoakValue (required)
SoakTime (required)
• The X and Y grid locations are in a relative position from the upper-left
corner of the sheet. X is the horizontal position; Y is the vertical position.
The Add-On Instruction elements in a function block diagram routine structure
represent the use of the Add-On Instruction in the routine, not the definition of
the Add-On Instruction.
L5X Add-On Instruction structure
<AddOnInstruction [AddOnInstruction_Attributes]>
<InOutParameter Name="InOutArgument", Argument="argument"/>
</Add0nInstruction>
L5K ADD_ON_INSTRUCTION structure
ADD_ON_INSTRUCTION name (Add_On_Instruction_Attributes)
FBD_PARAMETERS (InOutParmName := InOutArgument, ...)
END_FBD_PARAMETERS
END_ADD_ON_INSTRUCTION
Add-On Instructions