Program guidelines

Keep these guidelines in mind when working with programs in the code editor.
  • To specify the main or fault routines of a program, create routines named
    main
    and
    fault
    .
  • Programs can be inline or external, like internal and external routines.
    FactoryTalk Design Studio
    creates programs as external by default.
  • Define up to 1,000 programs per task.
  • To create a power up handler and a fault handler program in a controller application, create programs with the names
    powerUpHandler
    and
    faultHander
    .
  • To schedule or unschedule programs within a controller application, add the name of the program to the controller application.
    • For a program defined within a Smart Object, add the fully quailed name to the controller application.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.