Minimize the Number of Programs

When programming a redundant controller, use the fewest programs possible, especially if you plan to crossload data and synchronize the controllers after the execution of each program.
If you must crossload data at the end of each program, follow these programming best practices to minimize the crossload impact on the program scan time:
  • Use only one or a few programs.
  • Divide each program into routines. A routine does not cause a crossload or increase the scan time.
  • Use the main routine of each program to call the other routines of the program.
  • If you use multiple tasks for different scan periods, use only one program in each task.
Multiple Routines (Preferred)
Multiple routines in one program
Multiple Programs (Not Preferred)
Multiple programs
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal