13.7.3.15 FB 816 - MC_ReadActualPosition - reading current axis position
An overview of the drive systems, which can be controlled with this block
can be found here:
Ä
Chap. 13.7.1 ‘Overview’ page 542
With MC_ReadActualPosition the current position of the axis is read.
Parameter
Parameter Declaration Data type Description
Axis IN_OUT MC_AXIS_REF Reference to the axis
Enable INPUT BOOL
n Read axis position
– TRUE: The position of the axis is continuously read
– FALSE: All the outputs are FALSE respectively 0
Valid OUTPUT BOOL
n Position valid
– TRUE: The read position is valid
Error OUTPUT BOOL
n Status
– TRUE: An error has occurred. Additional error infor-
mation can be found in the parameter ErrorID.
ErrorID OUTPUT WORD Additional error information
Ä
Chap. 13.10 ‘ErrorID - Additional error information’
page 637
Position OUTPUT REAL Position of the axis [user unit]
n Job start in each PLCopen-State possible.
The current axis position is determined and stored at Position with Enable set to TRUE.
Description
PLCopen-State
Read axis position
VIPA SPEED7
Motion control - Simple Motion Control Library
Blocks for axis control > Complex motion tasks - PLCopen blocks
HB00 | OPL_SP7 | Operation list | en | 18-30 573