
Table of contents
Rockwell Automation Publication 1756-RM084S-EN-P - March 2015 7
Chapter 5
Introduction ............................................................................................................ 85
Add-On Instruction component ........................................................................ 85
L5X AddOnInstructionDefinition Structure .......................................... 85
L5K ADD_ON_INSTRUCTION_DEFINITION structure ........... 86
Add-On Instruction elements ...................................................................... 86
Routines in Add-On Instructions ............................................................... 86
Add-On Instruction Attributes ................................................................... 87
Parameters ................................................................................................................ 88
L5X parameters structure .............................................................................. 88
L5K parameters structure .............................................................................. 89
Parameter elements ......................................................................................... 89
Parameters attributes ...................................................................................... 91
Signature history ..................................................................................................... 92
L5X SignatureHistory structure .................................................................. 93
L5K HISTORY_ENTRY structure ........................................................... 93
History entry attributes .................................................................................. 93
Local tags................................................................................................................... 93
L5X LocalTags structure ............................................................................... 93
L5K LOCAL_TAGS structure ................................................................... 94
Local tag attributes .......................................................................................... 94
Encoded/Unencoded add-on instructions ....................................................... 95
L5X EncodedData Structure ........................................................................ 95
L5K ENCODED_DATA Structure .......................................................... 95
Encoded data attributes ................................................................................. 96
L5X Encoded Add-On Instruction example ............................................. 97
L5K Encoded Add-On instruction example ............................................. 98
Add-On Instruction Guidelines .......................................................................... 98
L5X unencoded AddOnInstruction definition example ....................... 99
Add-On Instruction Example, Continued .............................................. 100
L5K unencoded ADD_ON_INSTRUCTION _DEFINITION
example ............................................................................................................ 100
L5X unencoded safety AddOnInstruction definition example .......... 103
L5K unencoded safety ADD_ON_INSTRUCTION _DEFINITION
example ............................................................................................................ 103
Chapter 6
Introduction .......................................................................................................... 105
Tag component ..................................................................................................... 105
L5X tag structure ........................................................................................... 105
Define an Add-On Instruction
component
Define a tag component