MC_SetAcceptBlockedDriveSignal

There are situations in which a drive no longer follows the NC setpoints, e.g. if an axis reaches a limit switch. The NC interprets such a situation as an error, and the drive is stopped. In some cases the user may want to provoke such a situation deliberately, e.g. in order to move to a limit switch for a reference run. The function MC_SetAcceptBlockedDriveSignal can be used to temporarily prevent the NC axis generating an error in situations where the drive no longer follows the NC setpoints.
- See also bit 8 of the ControlDWord in AXIS_REF.
- A SERCOS/SoE drive reports "Drive follows the command values" via status bit 3 of drive status word S-0-0135.
- A CANopen/CoE drive reports "Drive follows the command values" via status bit 12 of object 6041h.
FUNCTION MC_SetAcceptBlockedDriveSignal: BOOL
Inputs
VAR_INPUT
Enable : BOOL;
END_VAR
Enable: NC controller enable for the axis.
Inputs/outputs
VAR_IN_OUT
Axis : AXIS_REF;
END_VAR
Axis: Axis data structure that unambiguously addresses an axis in the system. Among other parameters it contains the current axis status, including position, velocity or error state. (Type: AXIS_REF)