MC_SetPosition
This function block sets the position of the profile generation to the position specified at the Position input. The actual position of the drive is not influenced, no reference travel is performed. The axis movement is not interrupted by MC_SetPosition.

VAR_IN_OUT
Variable name | Data type | Description |
|---|---|---|
Axis | AXIS_REF | Reference to a logical device See also AXIS_REF. |
VAR_INPUT
Variable name | Data type | Description |
|---|---|---|
Execute | BOOL | Start execution of the function block. |
Position | LREAL | Position to be set in [user units] |
Relative | BOOL |
|
VAR_OUTPUT
Variable name | Data type | Description |
|---|---|---|
Done | BOOL | Function block successfully completed |
Busy | BOOL | Function block is active |
Error | BOOL | An error has occurred in the function block |
ErrorID | WORD | Error number |
