Danfoss MCO 305 Design Manual page 48

Programmable motion controller
Hide thumbs Also See for MCO 305:
Table of Contents

Advertisement

MCO 305 Design Guide
SUBPROG engage
OUT 11 0
DELAY (GET 1901)
// Wait to ensure that brake is engaged before releasing the motor.
MOTOR OFF
RETURN
/***************** Disengage mechanical brake *****************************/
SUBPROG disengage
MOTOR ON
DELAY (GET 1902)
// Wait to ensure that motor is magnetized before opening the brake.
OUT 11 1
RETURN
/********************** Error handler *************************************/
SUBPROG errhandle
OUT 11 0
// Close mechanical brake in case of error.
err = 1
// Set error flag to remain in error handler until error is reset.
OUT 8 1
// Set error output.
WHILE err DO
// Remain in error handler until the reset is received.
IF IN 8 THEN
ERRCLR
err=0
ENDIF
ENDWHILE
OUT 8 0
flag = 0
RETURN
/*********************************************************************/
ENDPROG
/************************* End of program *******************************/
48
__ Functions and Examples __
// Close mechanical brake.
// Stop position control and coast the motor.
// Enable drive and start position control.
// Open mechanical brake.
// Reset error when Input 8 is high.
// Clear error.
// Reset error flag.
// Reset error output.
//
Reset "flag" to enable new positioning.
®
MG.33.L5.02 – VLT
is a registered Danfoss trademark

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents