MC_AbortSuperposition
The MC_AbortSuperposition function block interrupts a overlaid motion started by MC_MoveSuperImposed or MC_MoveSuperImposedExt without stopping the basic motion.
A complete axis stop can be initiated with MC_Stop. Calling MC_AbortSuperposition is not necessary in this case.
VAR_INPUT
VAR_INPUT
Execute : BOOL;
END_VAR
Execute : The command is executed with the rising edge and the external position latch is deactivated.
VAR_OUTPUT
VAR_OUTPUT
Done : BOOL;
Busy : BOOL; (* function block is currently busy *)
Error : BOOL; (* Signals that an error has occured within Function Block *)
ErrorID : UDINT; (* Error identification *)
END_VAR
Done : Becomes TRUE, as soon as the overlaid motion has been interrupted successfully.
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.
VAR_IN_OUT
VAR_IN_OUT
Axis : NCTOPLC_AXLESTRUCT; (* Identifies the axis which position should be recorded at a defined event at the trigger input *)
END_VAR
Axis : Axis structure.
Requirements
Development environment | Target system type | PLC libraries to be linked |
---|---|---|
from TwinCAT v2.10 | PC (i386) | TcMC.Lib |