Quick Start Owner's manual

Table Of Contents
Publication 1756-QS001E-EN-P - October 2009 43
Organize a Project Chapter 2
4. Do the following if you want the tag to be an array (multiple instances of the data type).
a. Select the data type and click .
b. Specify the array dimensions and click OK.
Define Your Routines
Once your project has the required programs, you have to define and create the routines for each program.
Item Description
A Routine provides the executable code (logic) for a program (similar to a program file in a PLC
or SLC controller).
B Main routine is required each program.
When the program executes, its main routine automatically executes.
Use the main routine to control the execution of the other routines in the program.
To call (execute) another routine (subroutine) within the program, use a Jump to
Subroutine (JSR) instruction.
C Subroutine is any routine other than the main routine or fault routine. To execute a
subroutine, use a Jump to Subroutine (JSR) instruction in another routine, such as the main
routine.
A
B
C