6
Application and programming instructions
6.1
I/O update
The runtime system of the CPX-CEC-...-V3 operates with a task-dependent I/O update which only updates
outputs that are assigned to a task. Codesys automatically detects which outputs a task is using.
Exercise caution when using pointers to outputs because Codesys cannot automatically detect which
output is being accessed by means of a pointer. Referencing this output with the following sample calls is
enough to guarantee an I/O update on an output:
%QB0;
or
pByOut := ADR(%QB0)
To display an overview of the I/Os that are updated on a task-specific basis:
1.
Open the controller node in the project tree
2.
Select the "Task Deployment" tab.
To update all I/Os:
•
Check the "Always update variables" box ( Figure Manually changing the I/O addresses)
Festo control block CPX-CEC
65