
Chapter 5 Define an Add-On Instruction component
90 Rockwell Automation Publication 1756-RM084S-EN-P - March 2015
L5X Item L5K Item Description
N/A datatype Data type of the parameter.
InOut parameters can be atomic (SINT, INT, DINT, and REAL) and compound (user-defined
and array) data types. Input and Output parameters can be only atomic (SINT, INT, DINT, and
REAL) data types.
In L5X, use a DataType attribute on the <Parameter> element.
N/A array_specification Dimensional boundaries for an InOut parameter array.
In L5X, use a Dimensions attribute on the <Parameter> element.
Description Description User information about the parameter with a 128-character maximum.
DefaultData N/A The default data values for Input parameters or Output parameters.
In L5K, use a DefaultData attribute.
Comment Comment (optional) User information about specified sub-regions of the parameter.
Can specify Comment<specifier>
Where the specifier is:
.bitnumber - for a bit in the parameter
[element] - for an array element of the parameter
.membername - for a structure member of the parameter
There can be multiple comment elements.
EngineeringUnit EngineeringUnit (optional) User specified description of what the unit of the value is (that is, feet, gallons,
kilos).
Can specify EngineeringUnit <specifier>
Where the specifier is:
.bitnumber - for a bit in the parameter
[element] - for an array element of the parameter
.membername - for a structure member of the parameter
There can be multiple engineering unit elements.
Max Max (optional) User specified maximum value about qualified sub-regions of the parameter.
Only valid for a parameter’s sub-regions, which is a non-Boolean atomic datatypes.
Can specify Max <specifier>
Where the specifier is:
.bitnumber - for a bit in the parameter
[element] - for an array element of the parameter
.membername - for a structure member of the parameter
There can be multiple max elements.