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
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
startToken
IStartTokenpass an StartToken instance here to check if the call was successfully executed
on
BOOLopens the brake by providing
on:=TRUE
and closes the brake by providingon:=FALSE