IAxisBrake
- Namespace
- ZEquipment
INTERFACE IAxisBrake
Some drives support internal and external brakes and offer functions to control such a brake. This interface should be implemented by all drives which support this feature.
Properties
BrakeOpened
PROPERTY BrakeOpened : BOOL
Returns the state of the brake that is controlled by the drive. If the
drive doesn't have any brake connected to it, this property always returns TRUE.
Property Value
- BOOL
Methods
OpenBrakeAsync
METHOD OpenBrakeAsync (
[input] startToken : ZCore.IStartToken,
[input] on : BOOL)
Opens and closes the brake that the drive controls. Use on:=TRUE to open the brake and on:=FALSE to close the brake.
Executing this method while the drive is still Busy with another Async command will cause this method to fail. This can
be checked by submitting an StartToken as a startToken. Simply pass such an object and Assert it
or check for startToken.Error after calling this method.
Inputs
startTokenIStartTokenpass an StartToken instance here to check if the call was successfully executed
onBOOLopens the brake by providing
on:=TRUEand closes the brake by providingon:=FALSE