A SERVICE OF

logo

Table of contents
Rockwell Automation Publication 1756-RM084S-EN-P - March 2015 9
Add-On Instruction tag values example ................................................... 131
Tag guidelines ........................................................................................................ 131
Examples ................................................................................................................. 132
Chapter 7
Introduction .......................................................................................................... 137
Program component ............................................................................................ 137
L5X program structure ................................................................................ 137
L5K PROGRAM structure......................................................................... 138
Program elements .......................................................................................... 138
Program attributes ......................................................................................... 139
Program Attributes for EquipmentPhase Programs .............................. 139
Child program component ................................................................................. 140
L5K CHILD_PROGRAM structure ....................................................... 140
L5X child program structure ...................................................................... 140
Child program attributes ............................................................................. 141
Child program guidelines ............................................................................ 141
Encoded/Unencoded routines .......................................................................... 141
L5X EncodedData Structure ...................................................................... 141
L5K ENCODED_DATA Structure ........................................................ 141
Encoded Data Elements ............................................................................... 142
L5K source protected routine example ..................................................... 142
L5X source-protected routine examples ................................................... 142
Program guidelines ............................................................................................... 142
Examples ................................................................................................................. 143
Chapter 8
Introduction .......................................................................................................... 147
Ladder logic routine ............................................................................................. 147
L5X ladder logic routine structure ............................................................ 147
L5K Ladder Logic ROUTINE structure ................................................. 147
Ladder logic routine elements ..................................................................... 147
RLL Routine attributes ................................................................................ 148
Rung logic ............................................................................................................... 148
L5X rung structure ........................................................................................ 148
L5K RUNG structure .................................................................................. 148
Rung elements ................................................................................................ 148
Rung attributes............................................................................................... 149
Rung guidelines ..................................................................................................... 149
Branches .................................................................................................................. 149
Define a program component
Define a ladder logic routine