Publication 1756-UM001G-EN-P - January 2007
70
Develop Applications
Define Programs
Each program contains program tags, a main executable routine, other
routines, and an optional fault routine. Each task can schedule as
many as 100 programs.
The scheduled programs within a task execute to completion from
first to last. Programs that aren’t attached to any task show up as
unscheduled programs. You must specify (schedule) a program within
a task before the controller can scan the program.
Unscheduled programs within a task are downloaded to the controller
with the entire project. The controller verifies unscheduled programs
but does not execute them.
Define Routines
A routine is a set of logic instructions in a single programming
language, such as Ladder Diagram. Routines provide the executable
code for the project in a controller. A routine is similar to a program
file or subroutine in a PLC or SLC processor.
Each program has a main routine. This is the first routine to execute
when the controller triggers the associated task and calls the
associated program. Use logic, such as the Jump to Subroutine (JSR)
instruction, to call other routines.
You can also specify an optional program fault routine. The controller
executes this routine if it encounters an instruction-execution fault
within any of the routines in the associated program.
Summary of Contents for controllogix 1756-L55M12
Page 4: ...Publication 1756 UM001G EN P January 2007 Summary of Changes 4 Notes...
Page 10: ...Publication 1756 UM001G EN P January 2007 10 Notes...
Page 66: ...Publication 1756 UM001G EN P January 2007 66 Place Configure and Monitor I O Modules Notes...
Page 82: ...Publication 1756 UM001G EN P January 2007 82 Develop Applications Notes...
Page 122: ...Publication 1756 UM001G EN P January 2007 122 Maintain Nonvolatile Memory Notes...
Page 130: ...Publication 1756 UM001G EN P January 2007 130 Maintain the Battery Notes...
Page 134: ...Publication 1756 UM001G EN P January 2007 134 LED Indicators Notes...