However, there is sometimes calculation error because processing is performed with long reals in the MC
Function Module.
• You can execute this instruction even if home is not defined.
•
You can execute this instruction regardless of whether the axes group is enabled or disabled.
Precautions for Correct Use
Before you use this instruction in a task to which the axes group is not assigned, declare Axis
V
ariables as external variables for the configuration axes that are specified in Axes (Axes
Group Composition Axes) in the task.
Timing Charts
• When Enable changes to TRUE, Busy (Executing) and V
alid (Enabled) change to TRUE.
• When Enable changes to FALSE, Busy (Executing) and Valid (Enabled) change to FALSE.
MC_GroupReadPosition
Enable
Valid
Busy
Error
Error ID
CommandPosition
/
ActualPosition
10 20 30 40 40 40 30 20 20
UndefinedUndefined
16#0000
Re-execution of Motion Control Instructions
You cannot re-execute motion instructions with enable-type inputs.
Multi-execution of Motion Control Instructions
This instruction is executed independently from other instructions. The restrictions for multi-execution
of motion instructions do not apply
.
For details on multi-execution of motion control instructions, refer to the NY-series Industrial Panel
PC / Industrial Box PC Motion Control User’s Manual (Cat. No. W559).
Errors
If an error occurs during instruction execution, Error
will change to TRUE.
You can find out the cause of the error by referring to the value output by ErrorID (Error Code).
4 Axes Group Instructions
4-93
NY-series Motion Control Instructions Reference Manual (W561)
MC_GroupReadPosition
4
Function