Limit setpoints to allowed travel directions

In some applications, the tool axis must not move in a certain direction. In this case, the eAllowedDirection parameter can be used to block profile generation in the unauthorized direction. The setting prevents an impermissible position offset or engagement.

 WARNiNG!

Injury to persons and damage or destruction of machine parts

Damage or destruction of machine parts can be caused by unpredictable motor movements.

Setting the eAllowedDirection parameter does not prevent the total setpoint of the slave axis from acting in an inhibited direction. This could be the case, for example, if the master speed or a speed offset acts in the blocked direction. These setpoint components are not actively limited by this function.

Possible consequences

Death or severe injuries

Protective measures

Check and adjust limits and direction of action for the master speed or speed offset.

To limit the total setpoint of a tool axis to the allowed range, the parameter xLimitAllowedDirection = TRUE must be set. In this way, only setpoints that act in the allowed direction are transferred to the slave axis.

The parameter lrToleranceAllowedDirection can be used to specify a tolerance range. If the setpoint moves in a blocked direction, the setpoint of the tool axis is "frozen" from that moment.

If the total setpoint then changes in the blocked direction and the tolerance range is violated, the axis changes to the "FailQSP" state.

If this does not happen and the setpoint leaves the tolerance window in the allowed direction, it is passed back to the tool axis.

Parameters relevant for the function
  • eAllowedDirection , initial value: 0 (positive and negative rotating direction)

  • xLimitAllowedDirection , initial value: FALSE

  • lrToleranceAllowedDirection , initial value: 5 units