Publication 1756-RM084F-EN-P - July 2002
2-2 Structuring a Complete (.L5K) Import/Export File Format
You can enter comments using either of these methods:
•
Start the comment with two percent (%%) characters and stop at
the end of the line.
•
Start the comment with a “(*” and end with a corresponding “*)”.
Comments can extend multiple lines.
Placing Information in an
Import/Export File
The import/export file contains different components of information.
These components are:
All components in an import export file follow this structure:
Component_Type
<
component_name
> [
Attributes
]
[
body
]
END_
Component_Type
Where:
Component: Identifies:
CONTROLLER
name of the controller
DATATYPE
user-defined and I/O data structures
MODULE
modules in the controller organizer
TAG
controller-scope tags
PROGRAM
program files
ROUTINE
ladder logic routines
FBD_ROUTINE
function block diagram routines
SFC_ROUTINE
sequential function chart routine
STX_ROUTINE
structured text routine
TASK
controller tasks
CONFIG
configuration information
Item: Identifies:
Component_Type
the component (as defined in above table)
component_name
a specific instance of the component
Attributes
any attributes of the component
can also contain a description of the component
separate each attribute with a comma (,)
body
any sub-components (children) of this component
END_Component_Type
end of the component information