- Posts: 19
- Thank you received: 0
PathPilot controlled lathe toolchanger
its hard not to get mixed up with the % of pwm for tool selection, that part has been resolved.
Please Log in to join the conversation.
MrJTJinx wrote: the intent is to use an arduino to mux the pins (limits only arduino) and generating a frequency is easy when i /we can figure out what PP will accept on the single door input pin. we dont actually know if there is 0v or 5v default on the pin and then a frequency applied for triggered switch or if a frequency is derived from a BCD type of affair - the table of frequencies are in the HAL for 1 to 15 inputs but we have no idea how to apply it to the pin (16). If someone could explain what is supposed to happen that would be most excellent.
its hard not to get mixed up with the % of pwm for tool selection, that part has been resolved.
Hello MrJTJinx
I refitted a Denford NovaTurn to PathPilot and AC Servos. I am using a Mesa 6i25 and 7i77. My I/O is set up to use 24V.
www.denfordata.com/bb/viewtopic.php?f=42&t=4789
www.cnczone.com/forums/benchtop-machines/261754-cnc.html
The door switch was easy to set up. Are you having problems getting past the door switch? If yes, I can look at my code to help you out.
In addition, I am working on a complete solution partially based on micknucam's work.
Iron-Man
Please Log in to join the conversation.
Nice novaturn btw, I've a novamill & triac myself. Denford make some quality little machines.
Please Log in to join the conversation.
what does all this mean in english
loadrt freq2pin personality=0x0004
setp freq2pin.0.freq-width 200
setp freq2pin.0.input 0
setp freq2pin.0.stability-count 25
setp freq2pin.0.stability-width 20
keeping the build as close to the tormach BOB as possible is going to save a lot of stress in the future, so if the mesa board /PP wants a freq input thats what i want to reproduce. last year there were 4 updates to PP thats 4 mesa reflashes and 4 manual file changes to incorporate fixes. Id like to avoid such things.
Please Log in to join the conversation.
jonnydeen wrote: Mrjtjinx is helping me out with this particular project. I would like to pick your brain about the limit/door switches. Maybe I could send you an email or even chat on fb messenger.
Nice novaturn btw, I've a novamill & triac myself. Denford make some quality little machines.
OK
Iron-Man
Please Log in to join the conversation.
Any chance you could drop me an email?
deenprecision@outlook.com
Thought this forum might have had a pm facility, appears not.
Please Log in to join the conversation.
for( ;; )
{
doorsw = digitalRead(DOORPIN); // HIGH WHEN DOOR OPEN
limit = digitalRead(LIMITPIN); // HIGH WHEN LIMIT IS TRIPPED
if ( doorsw || limit) { // DOOR 1800, LIMIT 2000
if (!doorsw) { tone(DOORSWPIN,1800);
} else { noTone(DOORSWPIN); }
if (limit) { tone(DOORSWPIN,2000); }
} else { noTone(DOORSWPIN); }
}
Please Log in to join the conversation.
I finally restarted my toolchanger design.
Can you post your pathpilot HAL, INI files for the toolchanger?
Thanks,
Iron-Man
Please Log in to join the conversation.
Only just fitted my tool changer hope this is what you wanted copied off my working lathe.
Kind Regards
Please Log in to join the conversation.
