![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| TurboCNC Discuss TurboCNC controller software here! |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
Hi, i am trying to build a new controller for a small dead CNC mill at my school. It is a old mill with basic steppers and limit switches, so i am planning on using the TurboCNC program and its circuit "U-2 Stepper Translator IC" Here Here is my I/O line setup: 2: A Step 3: A Direction 4: B Step 5: B Direction 6: C Step 7: C Direction 8: Spindle ON 9: Coolent / spare 10: Limit X 11: Limit Y 12: Limit Z 13: STOP Now, my questions are: For the limits, do you just push the 5v logic you are using for the power to the Pics into the pins on the parallel port? Or do you have to put resistors in place on the 5v to them? Also, the sheet for the available functions for the output pins has no direction / step functions?
Alex |
|
#2
| |||
| |||
| Alex, sounds like a good project. Wish we'd had a cnc mill when I was at school. Couple of points; The pic U2 stepper from Dave @ DAK is for unipolar stepper wiring. Make sure you can wire the steppers you have as unipolar. It would be worth looking at the open source and electronics sections here as there are several other drivers that might work for you too. Are you using a breakout board? For limit switches are your switches normally open or normally closed? If you set that for the appropriate pin in TCNC ( lo or hi) then you can often wire the switch directly to the port earth (18-25) and the pin input. If the switches are normally open, which is usually the best, then you might need to pull the pin up to 5v with a resistor, with the switch taking it low when closed. The setup for the step direction pins is in the Axis setup, not the IO section that you've listed here.. Andrew |
|
#3
| ||||
| ||||
| unipolar being where you have 4 grounds and a live and it twitches round a bit each time you touch a ground wire to ground? what are the alternitives? Havent looked yet, will have to take the machine apart some more... its in the tech department at school, so will have to steal a motor off it for testing! |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ametek motors and step down ratio | dowling177 | Servo Motors and Drives | 5 | 03-01-2005 01:24 PM |
| step angle question?? | kywoodwrkr | DIY-CNC Router Table Machines | 7 | 02-22-2005 11:04 AM |
| Step frequency | drk | Gecko Drives | 2 | 11-21-2004 08:41 AM |
| Choosing a step rate? | Rhodan | General Electronics Discussion | 4 | 04-26-2004 10:42 AM |
| G201 Adjustable Step? | Sanghera | Gecko Drives | 8 | 04-11-2004 12:21 AM |