Hi folks,
This is the exact code from VSD-E firmware which decides "servo ready" output status (requires understanding of C code to read):
Code:
//update SERVO_READY status
if(isStatus(STAT_RUN) && isStatus(STAT_INITIALIZED) && !isStatus(STAT_FERROR_RECOVERY) && !isStatus(STAT_HOMING) && !isSignal(SIG_HOMING_ABORTED) && !isStatus(STAT_RUN_SEQUENCE) )
setStatus(STAT_SERVO_READY);
else
clrStatus(STAT_SERVO_READY); So it is combination from many status bits. When drive is disabled by user, the servo ready goes 0.
VSD-E brake output is off whenever drive is controlling motor (not disabled and not faulted). Brake output behavior can be altered by firmware customization if necessary (this was also discussed with simpson36 by emails). So we can modify to switch on during static position holding.
The default brake control code is very simple:
Code:
//update brake output
if( isStatus(STAT_FAULTSTOP) || !isStatus(STAT_ENABLED) )
setStatus(STAT_BRAKING);
else
clrStatus(STAT_BRAKING);