Reference: Reading the Values of Axis Variables in the Priority-16 Periodic Task
• If an axis variable is read in the priority-16 periodic task, the most recent values of the axis
variable when the program execution for the priority-16 periodic task started are read. These
values show the results of motion control processing in the immediately proceeding primary
periodic task.
• Values are not written to axis variables when motion control instructions are executed in the
priority-16 periodic task. They are written in the motion control processing (MC) section of the
next primary periodic task.
• The results of execution of motion control instruction in the previous priority-16 periodic task
are read as the value of the axis variable in the next priority-16 periodic task.
UPG MC
IO
UPG MC
IO
UPG MC
IO
UPG MC
IO
UPG
UPG MC
IO
FB
Motion control instructions
executed.
They are written in the motion control
processing section in the next primary
periodic task.
Values are not written to axis variables
when motion control instructions are
executed in the priority-16 periodic task.
The most recent values of the axis variables
are read at the start of execution of the
programs in the priority-16 periodic task.
Axis
variables
read.
Task period 1 (e.g., t × 3)
Primary
periodic task
Priority-16
periodic task
Primary period (t)
UPG MC
IO
UPG MC
IO
UPG MC
IO
UPG MC
IO
UPG MC
IO
FB
UPG
FB
UP
G
Task period 1 (t × 3)
Primary period (t)
Motion control instructions executed.
Standby
Motion control
instructions executed.
The results of execution in the
previous priority-16 periodic task
are read as the values of the axis
variables.
Axis
variables
read.
Axis
variables
read.
Primary
periodic task
Priority-16
periodic task