Question:
9400 HighLine servo controllers provide different tasks (two interval tasks and one cyclic task) for user program processing. If a measuring system has been defined in a task (e. g. system variable DI_AxisData in the application task), it may happen that the measuring system data need to be accessed in a different task (e. g. in the idle task for lower-priority position conversions between application units and incremental values). How can measuring system data be accessed in different tasks?
Answer:
In general, a measuring system shall only be defined at one location in the user program. To allow other tasks to use this measuring system, proceed as follows:
Declare a global DWORD variable.
Insert the variable with an input into the task in which the measuring system is generated. Assign the measuring system to the variable (e. g. system variable DI_AxisData).
Insert the variable with an output into the task in which the measuring system is required. Connect the variable to the required function block.