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 namedmainandfault.
- Programs can be inline or external, like internal and external routines.FactoryTalk Design Studiocreates 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 namespowerUpHandlerandfaultHander.
- 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