EasyManua.ls Logo

Allen-Bradley ControlLogix 1756 - Defining a Program

Allen-Bradley ControlLogix 1756
173 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Publication 1756-RM084F-EN-P - July 2002
Creating a Complete Import/Export File 3-31
Defining a Program
A PROGRAM component follows this structure:
PROGRAM <
program_name
> [
Attributes]
[TAG declaration]
[ROUTINE declaration]
[FBD_ROUTINE declaration]
[STX_ROUTINE declaration]
[SFC_ROUTINE declaration]
END_PROGRAM
Where:
You can intermix ROUTINE, FBD_ROUTINE, STX_ROUTINE, and
SFC_ROUTINE declarations.
Item: Identifies:
program_name
the program
Attributes
attributes of the program (such as MAIN or FAULT)
can also contain a description of the program
separate each attribute with a comma (,)
TAG
program-scoped tags
follows same format as controller-scoped tags
see page 3-10
ROUTINE
ladder logic routine for this program
see chapter 4
FBD_ROUTINE
function block diagram routine for this program
see chapter 5
STX_ROUTINE
structured text routine for this program
see chapter 6
SFC_ROUTINE
sequential function chart routine for this program
see chapter 7
Spare Allen-Bradley Parts

Table of Contents

Related product manuals