Mechanical Brake Control - Danfoss MCO 305 Design Manual

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

Advertisement

MCO 305 Design Guide

Mechanical Brake Control

In applications controlled by MCO 305 involving an electro-mechanical brake it normally makes sense to
control the brake from the MCO 305 application program to avoid situations when the position controller of
MCO 305 attempts to move the motor while the brake is still engaged.
Controlling the brake from the MCO 305 application
program can be combined with the Mechanical
brake control of FC300 by using 2 outputs in series
e.g. Digital output 29 set to Mechanical brake
control (par. 5-31) and relay output 1 set to MCO
controlled (par. 5-40 [0]) and connect the brake as
shown below:
Program Example for Relative Positioning with Mechanical Brake
/**********************************************************************/
Inputs:
1
8
Outputs:
1
8
11
/************************** Interrupts **********************************/
ON ERROR GOSUB errhandle
// In case of error go to error handler routine, this must always be included
/************************
flag = 0
/***********************
VEL 80
// Sets positioning velocity related to par. 32-80 Maximum velocity.
ACC 100
// Sets positioning acceleration related to par. 32-81 Shortest ramp.
DEC 100
// Sets positioning deceleration related to par. 32-81 Shortest ramp.
/******************* Define application parameters *************************/
LINKGPAR 1900 "Box height" 0 1073741823 0
LINKGPAR 1901 "Brake close delay" 0 1000 0
LINKGPAR 1902 "Brake open delay" 0 1000 0
/*******************
GOSUB engage
// Ensure that mechanical brake is closed after power up.
/****************************** main loop ******************************/
MAIN:
IF (IN 1 == 1) AND (flag == 0) THEN
// Go to position once (ensured by flag) when input 1 is high.
GOSUB disengage
OUT 1 0
POSR (GET 1900)
OUT 1 1
flag = 1
// Set "flag" to ensure that distance is only traveled once.
ELSEIF (IN 1 == 0) AND (flag == 1) THEN
MOTOR STOP
flag = 0
GOSUB engage
ENDIF
GOTO MAIN
/********************** Sub programs start ********************************/
SUBMAINPROG
/******************* Engage mechanical brake ******************************/
__ Functions and Examples __
Go to position
Clear Error
In position
Error
Relay output for mechanical brake
Define flags *********************************/
Basic settings
******************************/
Initialize drive to safe state *************************/
// Open mechanical brake before start.
// Reset "In position" output.
// Go to position.
// Set "In position" output.
// Stop once when input 1 is low
// Stop if input is low.
// Reset "flag" to enable new positioning.
// Close mechanical brake after stop.
®
MG.33.L5.02 – VLT
is a registered Danfoss trademark
47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents