Publication 1756-RM084F-EN-P - July 2002
2-4 Structuring a Complete (.L5K) Import/Export File Format
Defining a Controller
The CONTROLLER component is the overall structure of a project to
be executed on one controller. It contains the configuration
information and logic that you download to one controller. Preceding
the CONTROLLER component, you have the header remarks
(optional) and the version statement:
Import-Export
Version := RSLogix 5000 - 11.00.00.00
Owner := User Name, Allen-Bradley Co., Inc.
Exported := Fri June 14 10:25:38 2002
IE_VER := 2.2;
Following the header and version statement, the CONTROLLER
component follows this structure:
CONTROLLER <
controller_name
> [
Attributes
]
[<DATATYPE declaration>]
[<MODULE declaration>]
[<TAG declaration>]
[<PROGRAM declaration>]
[<TASK declaration>]
[<CONFIG controller objects declaration>]
END_CONTROLLER
Where:
Item: Identifies:
controller_name
the controller name for the project
Attributes
attributes of the controller
can also contain a description of the controller
separate each attribute with a comma (,)
DATATYPE
I/O and user-defined data structures
See page 3-1.
MODULE
devices in the controller organizer
See page 3-5.
TAG
controller-scope tags
See page 3-10.
PROGRAM
organization of routines
See page 3-31.
TASK
organization of programs
See page 3-33.
CONFIG
characteristics of controller objects (status information)
See page 3-35.