FUNCTION_BLOCK MC_ReadActualPosition
This function block returns the current position of the referenced axis.
InOut:
|
Scope |
Name |
Type |
Initial |
Comment |
|
Inout |
Axis |
Reference to axis |
||
|
Input |
Enable |
BOOL |
FALSE |
While TRUE, the output value provides the parameter value continuously for reading out. |
|
Output |
Valid |
BOOL |
FALSE |
TRUE: Valid outputs are available. |
|
Busy |
BOOL |
FALSE |
TRUE: Execution of the function block has not been finished yet. |
|
|
Error |
BOOL |
FALSE |
TRUE: Error has occurred within the function block. |
|
|
ErrorID |
SMC_ERROR |
0 |
Error identification |
|
|
Position |
LREAL |
0 |
New absolute position (in axis unit [u]) |