
Define an Add-On Instruction component Chapter 5
Rockwell Automation Publication 1756-RM084S-EN-P - March 2015 91
L5X Item L5K Item Description
Min Min (optional) User specified minimum 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 Min <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 min elements.
State0 State0 (optional) for Boolean parameters or sub-regions only. User specified description of what
the Zero state of the Boolean value is.
Can specify State0 <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 state0 elements.
State1 State1 (optional) for Boolean parameters or sub-regions only. User specified description of what
the One state of the Boolean value is.
Can specify State1 <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 state1 elements.
Parameters attributes
Attribute Description
Name L5X only. Specify the name of the parameter.
In L5K, the name is an element of the statement.
DataType L5X only. Specify the datatype of the parameter.
InOut parameters can be atomic (SINT, INT, DINT, and REAL) , compound (user-defined and array) data types object
backed (MESSAGE, ALARM, etc.). Input and Output parameters can be only atomic (SINT, INT, DINT, and REAL) data
types.
In L5K, the datatype is an element of the statement.
TagType
L5X only. Specify Base or Alias.