![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
since i am asking this question all will know how stupid i am ,,but here goes anyway. i need a simple circuit that will let me turn a logic high to low through a mechanical limit switch. to be more specific my driver board, 2 axis, LMD 18245 has enable ports set high and i want to put limit switchs on X and Y to set them low and shut the axis off. a single chip would be best russ brumm Clairton PA |
|
#2
| |||
| |||
Another way is to use a single non-maintained push button that could trigger a flip-flop circuit to control the on/off. Somewhat more complex, but not impossible. Do you know what the voltage sources are that tie these inputs high? This could involve associated circuits if the inputs require 24v. DC
__________________ Learn cause and effect through experience. Mastering those relationships is the "Common Sense" ability within the art of any trade. |
|
#3
| |||
| |||
| 051027-1950 EST USA rebrumm: First, go to www.national.com . Search for LMD 18245. Then find the datasheet and print it out. The 18245 itself has a brake input. The logic inputs to this chip are TTL and CMOS compatible. A logic 1, anything from +2 to +12 v, causes braking by shorting the motor coil. Since you indicate that your board is enabled (not braked) when the enable line is high this means there is an inverter between the enable line and the brake input to the 18245. You have not specified the logic voltage levels at the input to you board. You need to do this. You are describing your board as a two axis board. This may imply that you have two dc motors using two 18245s, or there are four 18245s and two stepper motors. If this one board was driving a single stepper, then you would connect both enables together. Lets assume the board inputs are CMOS gates, and the phasing is as you indicate. Then I would put a low resistance, maybe 390 to 1000 ohms from the enable input to common (you might call it ground). This by itself would force the logic input low and thus thru the input inverter activate braking (logic 1 at the 18245 input). Next connect a 4N35 optical isolator between your logic + supply and the enable pin. When you turn the optical coupler on this will pull the enable input high. At the input to the optical coupler you need maybe 10 to 20 ma to over drive the coupler. Then use a normally closed limit switch that opens when the limit is made and an appropriate current limiting resistor to achieve the 10 to 20 ma current. If you put a limit switch at advanced and another at returned, then put these two in series with the 4N35 and opening either one will stop the motor. . |
|
#4
| |||
| |||
| after reading the 18245 data sheet, my driver board manual and viewing the schematic .the enable lines do serve the brake on the 18245 thru the microcontroller. if i wasn't using limit switches i should have jumpered them to Vcc. now i am really confused i can run the motors in turbocnc with or without the jumpers, high or low it doesn't matter. time to email the boards designer thanks for your time |
|
#7
| ||||
| ||||
| Hi Russ The simplest way is to take your 5volts to the chip via a resistor, say a 4k7 in value. One end of the resistor to 5volts and the other end to the chip enable pin. Then attach one end of you normally closed switch to the enable pin of chip and the other side of the switch to 0Volts. When the switch gets activated the circuit will get broken and 5volts will appear on the chip pin rather than 0volts without creating a short. Regards Sean.
__________________ ******************** http://www.cncdudez.co.uk |
|
#8
| |||
| |||
DC
__________________ Learn cause and effect through experience. Mastering those relationships is the "Common Sense" ability within the art of any trade. Last edited by One of Many; 10-30-2005 at 07:49 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |