MC_AbortSuperposition

MC_AbortSuperposition 1:

The MC_AbortSuperposition block terminates a superimposed movement started by MC_MoveSuperImposed, without stopping the subordinate axis movement.

A full axis stop can be achieved with MC_Stop or MC_Halt, if necessary. In this case MC_AbortSuperposition does not have to be called.

Inputs

VAR_INPUT
Execute : BOOL;
END_VAR

Execute

The command is executed with a rising edge and the superimposed movement is completed.

Outputs

VAR_OUTPUT
Done : BOOL;
Busy : BOOL;
Error : BOOL;
ErrorID : UDINT;
END_VAR

Done

Becomes TRUE when the superimposed movement was successfully terminated.

Busy

Becomes TRUE as soon as the function block is active, and becomes FALSE when it has returned to its initial state.

Error

Becomes TRUE, as soon as an error occurs.

ErrorID

If the error output is set, this parameter supplies the error number.

Inputs/outputs


VAR_IN_OUT
Axis : AXIS_REF;
END_VAR

AXIS_REF

Axis

Axis data structure

The axis data structure of type AXIS_REF addresses an axis uniquely within the system. Among other parameters it contains the current axis status, including position, velocity or error status.