Assigning a program to a task

Programs are automatically assigned to a task when you create a project, or they can be assigned afterwards via the task list.

In the procedure below, the program is controlled cyclically and is therefore assigned to a program task.
  1. Open Tasks in Project pane
  2. Open Programs
  3. Under Program name, select an empty field to open the Program selection dialog
  4. Under Programs, select the desired program
  5. OK

    You may assign one or several POUs to a task. If you assign several POUs, they will be processed according to their input sequence. During compilation, the programs are treated as one single program and are downloaded into the PLC.

  6. Under Comment, enter a text, if desired
NOTE
  • SFC programs (SFC POUs) must always be entered one after the other in the task list. No other POU types are allowed between them.

  • To deactivate/activate a program within a task for code generation, select the program and then Edit > Deactivate/activate or use the context menu.

To view the task properties, use Object > Properties... or <Alt>+<Return>. The dialog contains the following items:

Modified on: 2020-04-09Feedback on this pagePanasonic hotline