Create a program

Use the
New Program
dialog box to create programs. For large or complex programming tasks, it can help to break up the logic into multiple programs. Each program has its own tags that logic in other programs cannot access. Either schedule each program to run in a task or leave unscheduled. Can define up to 1000 programs in each task for
ControlLogix
and
Studio 5000®
Logix Emulate
. Other platforms support up to 32 programs per task. 1769-L23 controllers are limited to 16 programs per task.
TIP: To open the New Program dialog:
  • From the
    File
    menu, choose
    New Component > Program
    .
  • From the Controller Organizer, right-click a task and then choose
    Add > New Program
    .
  • From the Logical Organizer, right click a program folder and then choose
    Add > New Program
    .
To create a program:
  1. In
    Name
    , enter a name for the program.
  2. In
    Description
    , enter a description of the program.
  3. From the
    Parent
    list, select a parent program to make this program a child of an existing program in the logical model. Otherwise select
    <none>
    .
  4. From the
    Class
    list, choose whether the program is a
    Standard
    program or a
    Safety
    program.
  5. Select the
    Use as Folder
    check box to create a program folder rather than a program. The
    Use as Folder
    check box does not apply to equipment phases.
  6. From the
    Schedule In
    list, choose the task in which to schedule this program.
    Note that the list only includes tasks where the program can be placed. When the maximum number of scheduled programs is reached, the tasks in this list appear dimmed. The
    Controller Fault Handler
    and
    Power-up Handler
    are always enabled. Any existing program becomes unscheduled if a program is created to one of these two places.
  7. Select
    Inhibit Program
    to prevent the program and its routines from executing.
  8. Select
    Synchronize Redundancy Data after Execution
    or leave the check box cleared to not synchronize redundancy data after execution. The check box is checked by default.
    TIP: The
    Synchronize Redundancy Data after Execution
    option only applies to standard controllers; it does not apply to Safety controllers.
  9. Click
    OK
    to create the new program.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.