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.
Содержание controllogix 1756-L55M12
Страница 4: ...Publication 1756 UM001G EN P January 2007 Summary of Changes 4 Notes...
Страница 10: ...Publication 1756 UM001G EN P January 2007 10 Notes...
Страница 20: ...Publication 1756 UM001G EN P January 2007 20 Directly Connect to the Controller via the Serial Port Notes...
Страница 66: ...Publication 1756 UM001G EN P January 2007 66 Place Configure and Monitor I O Modules Notes...
Страница 82: ...Publication 1756 UM001G EN P January 2007 82 Develop Applications Notes...
Страница 122: ...Publication 1756 UM001G EN P January 2007 122 Maintain Nonvolatile Memory Notes...
Страница 130: ...Publication 1756 UM001G EN P January 2007 130 Maintain the Battery Notes...
Страница 134: ...Publication 1756 UM001G EN P January 2007 134 LED Indicators Notes...