Hello Guest it is September 15, 2019, 04:56:45 PM

Author Topic: Mach 3 toolchange for dummies???  (Read 60469 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 toolchange for dummies???
« Reply #40 on: February 27, 2011, 05:20:08 PM »
As a test I would use a seperate relay and have it working via an output rather than the onboard relay. Also a diode across the coil may help although I would have though the BOB would have something like that already.
Hood
Re: Mach 3 toolchange for dummies???
« Reply #41 on: February 27, 2011, 09:51:05 PM »
I already have a CNC4PC 4 relay board on the way. I will set it in the base of the lathe with the solenoids and locate the 24VDC PS there also.

I will then set up an output from the BOB, and I am thinking that having the PS/relays and solenoids at the machine instead of the controller will get mach and the SS behaving correctly... 
Re: Mach 3 toolchange for dummies???
« Reply #42 on: March 06, 2011, 01:38:33 PM »
"As a test I would use a seperate relay and have it working via an output rather than the onboard relay."

Bingo! (american slang for- your guess is correct!)

using an output and having the relay mounted at the machine cured the problem.

Its fully functional (the solenoid system)

Getting closer to having the turret operational!

See-

http://www.youtube.com/watch?v=i2chFvo0LLA
Re: Mach 3 toolchange for dummies???
« Reply #43 on: March 06, 2011, 01:39:37 PM »
Hood-

Thanks again for all your help.

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 toolchange for dummies???
« Reply #44 on: March 06, 2011, 01:43:01 PM »
Good to see :)
Never have been a fan of these all in one bobs.
Looking forward to see the first cuts ;)
Hood
Re: Mach 3 toolchange for dummies???
« Reply #45 on: March 06, 2011, 01:46:17 PM »
I think you were right that 24VDC was a bit much for an onboard relay.

I bought one of the CNC4PC 4-relay boards, and its quite nice/affordable.
Re: Mach 3 toolchange for dummies???
« Reply #46 on: March 10, 2011, 03:26:35 PM »
Hey hood-

any ideas on this-

If I put 5.5555555 into mach motor tuning for each degree of 360 degrees rotation of the turret, I end up getting the turret not locating correctly.

Theoreticly, 5.5555555 steps per unit gives me 5.5555555steps per degree. if Mach is told to go to 45degrees in A axis, the total steps commanded should be 250. There must be a rounding error or something, because it locates close, but seems to get a small bit out of wack each turret change.

Can pretend that the turret has only 8 degrees per rotation and have the stepper move 25 steps per degree, this giving me 8 locations and a total of 200 steps per rotation?

Any idea how I can get this entered into mach? the more I think about it the more confused I get.

 
« Last Edit: March 10, 2011, 03:30:12 PM by natefoerg »

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 toolchange for dummies???
« Reply #47 on: March 10, 2011, 03:43:20 PM »
You dont really want to go the  8 positions per rev way as it will mean you cant use the rotational rollover and thus the short rotation.
What I would do is tweak the macro so that instead of 45 degrees its maybe 44 or 46 or whatever is needed. Any idea how far it is off?
Should be able to command parts of degrees as well although I have never messed with it so cant say for sure.
Hood
Re: Mach 3 toolchange for dummies???
« Reply #48 on: March 10, 2011, 05:00:09 PM »
Quote
If I put 5.5555555 into mach motor tuning for each degree of 360 degrees rotation of the turret, I end up getting the turret not locating correctly.
Something doesn't sound right.
At 10 micro steps, this works out to as near perfect as you can get.
If the move is off, are you sure it was in the correct position initially ?
Even if it were rounding, it would round to the + and - sides of the desired position as the moves accumulated.
Sounds more like you are skipping some steps. Might lower the accel a bit to verify.
 :)

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 toolchange for dummies???
« Reply #49 on: March 10, 2011, 05:02:21 PM »
Could be something in that Russ, possibly a longer dwell needed before the turret rotates as maybe the solenoid hasnt fully disengaged the turret before its starting to try and rotate.
Hood