MC_SetAcceptBlockedDriveSignal

MC_SetAcceptBlockedDriveSignal 1:

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.

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)