InoDrive / IO / getHoldingBrakeFault
InoDrive.IO.getHoldingBrakeFault()
Get Motor Mechanical Holding Brake Fault Status.
Returns: Holding Brake (Boolean)
• 0 – Holding Brake is Present and Operational.
• 1 – Holding Brake is Faulted or is Missing.
// Import InoDrive API Library import { InoDriveApiJS } from ( "ck-inodrive-api" ) // Instatiate the API let InoDriveApi = new InoDriveApiJS.InoDriveApi({ connectAppUrl: "", secure: false }) // Instantiate InoDrive Object Drive = await InoDriveApi.InoDrive({target:'Name', autoConnect:True}) # Get Motor Holding Brake Fault Status state = Drive.IO.getHoldingBrakeFault() if( state == 0){ console.log("Holding Brake is Present and Operational.")} else{ console.log("Holding Brake is Faulted or is Missing.")}