DVP15MC11T Operation Manual
11.3.16 MC_ReadActualPosition
FB/FC Explanation Applicable model
FB
MC_ReadActualPosition is used to read the actual position of an axis
including real axes, virtual axes and encoder axes.
DVP15MC11T
Input Parameters
Parameter name Function Data type
Validation timing
Axis
the axis which is to be
USINT
(The variable value
When Enable
changes to TRUE
Enable
executed when Enable
BOOL
TRUE or FALSE
(FALSE)
-
Output Parameters
Function Data type Valid range
Valid TRUE when the output of the instruction is valid. BOOL TRUE / FALSE
Busy TRUE while the instruction is being executed. BOOL TRUE / FALSE
Error
TRUE while there is an error in the execution of the
instruction.
BOOL TRUE / FALSE
ErrorID
Contains the error code when an error occurs. Please
refer to section 12.2.
WORD
Position The actual position of the axis. LREAL
Output Update Timing
Name Timing for changing to TRUE Timing for changing to FALSE
Valid When the actual position has been read.
When Enable changes from TRUE to
FALSE
Busy
When Enable changes to TRUE.
When Done changes to TRUE
When Error changes to TRUE
Error
When an error occurs in the instruction
execution or the input parameters for the
When Enable changes from TRUE to
FALSE
MC_ReadActualPosition
Axis Valid
MC_ReadActualPosition_instance
Enable Busy
Error
ErrorID
Position
11-96