Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: joeendo on June 05, 2012, 09:46:21 PM
-
Im having trouble with the cnc4pc index card. I installed the card on my cnc converted atlas lathe trying to get rpm readout and for threading but cant get a readout and the index light in diagnostics is always on. Im not sure what im doing wrong as this is my first go at spindle index. :(
-
Check to see you have a low value, probably 0 ,for Index Debounce in General Config.
Hood
-
I must have screwed something up cause the index light will come on and off randomly without me doing anything. I probably wired it wrong though I fallowed the wiring diagram and it looks right ???
-
Well im getting a readout in turn but its varying wildly. It will be reading what looks like a close to actual rpm and then change going from a couple hundred to a few thousand and up.
-
If you attach your xml I will have a look at your config to see if there is an issue with it.
Hood
-
how do I do that?
-
You will have to copy it and rename it so that the forum will accept it, suggest you call it joeendo.xml . You can then use the additional options on the reply page to attach.
Hood
-
hope this works
-
Think that is the Mach3 exe you attached instead of the xml.
Hood
-
let me try again
-
XML looks fine but that is a mill xml and I thought you said it was a Turn one?
Hood
-
Yeah wrong one again
-
again all looks fine with the exception of possibly the Index Debounce on General Config page is set to 10, try 0 and see if it helps.
Also just in case you dont know but you need to tell Mach the spindle has started, either with M3/M4 or by pressing the spindle start button. I think you must be doing that as I think you said you were getting some sort of reading earlier on.
Hood
-
Yeah I was trying everything just to see if it would make a difference. Changing debounce and anything else I could think of.. Once I was frustrated and just sitting there thinking with the spindle running not changing anything the index light came on and it just started working with a erratic reading but working then a few minutes later it stopped. Thought maybe a bad connection with the break out board. ??? Checked connections but couldn't find any problem.
-
Would seem to be a hardware issue, have you asked Arturo for any help?
Hood
-
No I havnt but I have another BOB on the way so hopefully it will solve my issue. Anyways thank you for your help on this.
-
No probs, fingers crossed for you :)
Hood
-
New board came in and still not working and now the index light flashing randomly and rpm is erratic. :(
-
Make sure the photo transitor is working properly. You should be able to put a piece of paper between the prongs and see the index go on or off in MACH, or get a high and low voltage reading. If that part works then you can play with the slot width of the index disc. There is info in the Mach manual on how wide to make the slot.
FWIW,
RICH
-
I looked through the Mach3 Manual for how wide to make the slot for indexing. Didn't see it anywhere.
I search for "slot", "width" & "index" but no joy on any of the details of which you stated.
Can you point me to the correct page and section please?
Thanks in advance,
Vogavt
-
I tried a inductive prox sensor and got the same results. Index light comes on randomly even with spindle off and erratic rpm.
-
Hi Vogavt,
Look in the "Turn" manual.
Only 1 slot is necessary. There is a formula for the required width.
Russ
-
Well there you have it then. Right there on page 38.
I'd never downloaded the Turn Manual.
Thanks!
-
Wondering if someone could take a look at another Opto Sensor type. It's the HOA1405-001 (http://datasheet.seekic.com/PdfFile/HOA/Honeywell_HOA1405-00108916.pdf). It doesn't require a slot because the IR LED and the Sensor are pointed at an angle to each other so all that's needed is a reflective spot.
I'm just to ignorant to make a definitive call on how the wires go together.
I'm using the cnc4pc c11 board.
My thoughts were as follows but it didn't work.
C - Input Pin on BOB
E & K - Wired together and put on GND of BOB
A - Place 220 Ohm resister prior to connecting to 5V on BOB.
Any advice would be appreciated before I destroy something. I don't want to fry the IR LED nor burn out the Sensor. Also want to make sure I put the Ground wire where it's supposed to go on the c11 as well.
I have been trying to get the c11 board to recognize a signal from both the opto-sensor as well as a magnetic sensor for spindle speed.
I have tried multiple wiring configurations, but only if I thought they were safe and no danger of messing up the c11 board.
I have set Mach in various permutations of debounce numbers, active low, enabled, etc. for both the Input settings and the Spindle setup tab.
I've tried with and without a 4.7K Ohm resistor across the 5V and the Pin 13 wire (just like my probing setup) but can't even get the LED to light up on either Pin 12 or Pin 13 no matter what I do.
Any help would be appreciated.
I just opened a Work Ticket with cnc4PC a few minutes ago so understandably I haven't heard anything back yet.
Thanks,
Vogavt
-
Got feedback from Arturo. I'm on my own on this one.
:o
I have verified that a proximity switch will in fact invoke the LED for Pin 12 to come on when a magnet passes by its end.
Pin 13 LED or circuitry may now be cremated from my various permutations of wiring.
Man I hate flailing around like a fish on the sidewalk...
Anyone care to tackle it?
-
Okay, I've managed to bet a pulse from the setup shown in the attachment.. well sorta....
Looking at the dotted burgundy colored line at the top: when I have an 5v LED and a 1K Ohm resistor inline I can visually confirm that the LED pulses when a reflective portion of something passes by. However the LED on the c11 board does not. So I thought maybe the LED and Resistor are pulling too much current and removed it. (as shown in the orange line). Still no LED lighting up on the c11 board.
I tried using low and high settings in Mach3 but didn't get anywhere there. (both with the extra items inline and without).
Should I put a pull-up or pull-down resistor between the Pin 12 and its neighboring 5V terminal?
-
Welcome to the sidewalk ... it gets lonley here.
From previous experience with CNC4PC boards, the creamation of one pin can affect neighboring ones.
You might try it on a pin that is most assuredly working properly ... if there are any.
Russ
-
Pin 12 is working with a Proxy Switch. Just can't get it to work with the optical one.