A SERVICE OF

logo

Chapter 7 Define a program component
142 Rockwell Automation Publication 1756-RM084S-EN-P - March 2015
Encoded Data Elements
L5X Item L5K Item Description
type type The type of data encoded.
For L5K: ROUTINE
For L5X: Routine
name name The name of the protected routine.
routinetype routinetype The type of the routine protected (RLL, FBD, SFC, or ST).
other_attributes other_attributes Attributes of the routine that are not protected during export.
encoded_data encoded_data The protected portion of the routine.
Important:
When the routine is source protected, the encoded_data information is encrypted. If you modify this encrypted
information, you will not be able to re-import the routine.
L5K source protected routine example
L5X source-protected routine examples
Observe these guidelines when defining a program.
Define the main and fault attributes in any order.
You must put the tag declaration block before the routine block.
Define up to 1000 programs per task.
When you import a project:
Program guidelines