![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Hobbycnc (Products) Discuss Hobbycnc controller boards here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
I am currently connecting up my homing/limit switches but running out of pins. Would this setup be OK? Pin 10 Limits and E-stop Pin 11 X homing/limit Pin 12 A homing/limit(slaved with X) Pin 13 Y homing/limit Pin 14 Solid State Relay for router At present I cant afford a breakout board. |
|
#2
| |||
| |||
| Hi Bigz1, Taken from the Turbocnc manual (hope this is ok). On the parallel port, pins 2-9 are always available for output, which allows at least 4 axes of motion to be controlled. Pins 1,14,16, and 17 can be output also, to control spindles, coolant pumps, and tool changers. The parallel port inputs are on pins 10,11,12,13, and 15. These are TTL level signals as well. Typical uses for these are spindle encoders, limit switches, and extra logic for detecting when you’ve run out of stock. Pins 18-25 are ground. Use some of these to shield your cables. Hope it helps, John |
|
#4
| |||
| |||
| Would be interested to know why you are using the resistors but I use terminal blocks and 10k resistors for my home and limit switches. John |
|
#6
| ||||
| ||||
| I would use values lower than 10K for the pullups, specifically 1K. If you wind up with false limits or stops then put a 10K across the switches.
__________________ Phil, Still too many interests, too many projects, and not enough time!!!!!!!! Vist my websites - http://pminmo.com & http://millpcbs.com |
|
#8
| ||||
| ||||
| In simple terms why would you recommend 1K resistors over 10K and will the 10K course problems? I’ve used them now for about two years without any problems that I know of. John |
|
#9
| |||
| |||
The switches are specified for number of cycles during their lifetime at a specified test switching current. The contact wear consists of mechanical wear and electrical wear. Mechanical wear makes the gap bigger depending the amount of switching cycles, contact material, and contact force during the lifetime of the switch, The electrical wear consists of two main mechanisms: arching vaporizing/corroding the contact alloy, and non-conductive contact oxide formation due to environmental conditions. Normal contact arching (within the specified current range) acts as a cleaning mechanism for the oxide layer that develops on the contacts, when that mechanism does not exist due to less than the minimum contact current, the life expectancy decays fast due to false contacts and switching noise. By using a 1K resistor to VCC you are satisfying the 5 mA minimum current requirement for most of the small signal micro-switches (5- 30 mA @ 30 VDC). Attaching a small value ceramic capacitor across the switch contacts will help cleaning the contacts by discharging the capacitor when the switch contacts close, and filtering some contact noise due to bouncing. |
|
#10
| ||||
| ||||
Thank you for the information and your time it is very much appreciated. It’s nice to have a full understanding which you have provided. I will change the 10K resisters for 1K as soon as I get the time. John |
| Sponsored Links |
|
#11
| ||||
| ||||
| Thanks Kreutz for the info. What size would you suggest on the capacitor? I tried the limit switches today they work but interfere with the stepper motors. Losing steps making unusal noises. Any advice on correcting this would be appreciated? Debounce setting in MACH is at 8000. Steppers work fine as soon as Homing/Limits are disconected. All wire is shielded and earthed in a star pattern. Liam |
|
#12
| |||
| |||
Every switch has two different ratings: AC and DC. Check that you are reading DC specs. Can you, please post a diagram of your circuit? 1Kohm to VCC and 0.047 to 0.1 uF/ 50V ceramic capacitor across the limit micro-switches will be ok. Take into account that mechanical vibration will trigger your micro-switches depending on their construction. There are specifically designed micro-switches for limit switch applications. Opto-coupler isolation will help rejecting induced noise. |
![]() |
| 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 |
| More on ports and pins | andrewbishop66 | Mach Software (ArtSoft software) | 2 | 03-08-2007 07:05 PM |
| Changing tool height ofsets and re-runing program | Fudd | Fadal | 4 | 11-03-2006 08:01 AM |
| Any one runing Allen B Ultra100 in Step/dir | DennisCNC | Servo Motors and Drives | 4 | 06-15-2006 09:26 PM |
| Anyone runing ~2,600 oz steppers? | DennisCNC | Stepper Motors and Drives | 6 | 05-31-2006 11:05 PM |
| ports and pins | planescott | Stepper Motors and Drives | 5 | 03-24-2006 11:57 PM |