Hello Guest it is March 28, 2024, 04:19:49 PM

Author Topic: mach3 turn threading issue  (Read 4625 times)

0 Members and 1 Guest are viewing this topic.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: mach3 turn threading issue
« Reply #20 on: September 18, 2019, 12:45:54 PM »
The UCCNC boards require a 3 channel encoder( ABI ) for threading. The encoder HAS to be running at 1:1 with the spindle.  With this setup you can do guage perfect threads every time.

(;-) TP
Re: mach3 turn threading issue
« Reply #21 on: September 18, 2019, 12:52:56 PM »
thanks for your help
i dont have a uccnc board   i have a cnc4you Breakout board CP0-10V CNC 4 Axis with Charge Pump and Relay

so does it look like i will need to change it ?

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: mach3 turn threading issue
« Reply #22 on: September 18, 2019, 02:36:05 PM »
You do have a UC400eth correct ? That is a UCCNC control board. The breakout board is not a concern unless teh Opto couplers are too slow to see the encoder signals properly.

Yes I know it gets complicated some times.

(;-) TP

Re: mach3 turn threading issue
« Reply #23 on: September 18, 2019, 02:56:46 PM »
h
i have used the cnc4you break out board you are using on a few lathe projects & never had any problems ,they worked 1st time & every , some times doing 300 parts with threads in a day
i used the proximity switch that you can buy from cnc4you , you have to mount these within about 20 thou's of your disc on the back end of your spindle but you have to use a disc with an extension leg  because a proximity switch will not work with a slot , you also need to get a decent length of signal to get a very speed range , on my machines the measuring leg is 1" + in width this gives a very stable speed from 50 to 2000 rpm which only alters by 1 rpm over such a wide range & can thread at  600rpm for a 5/8" x 26 tpi thread
hope this helps
robert
Re: mach3 turn threading issue
« Reply #24 on: September 18, 2019, 03:17:41 PM »
thanks Robert

i changed from a proximity switch to a hall effect and magnet .
i have a 12mm magnet on about an 100mm radius on a disc
before i had an m8 bolt head .

im just trying to find out if the problem is using uc400etc or the index detection isnt good enough  my max rpm is 2500
 

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: mach3 turn threading issue
« Reply #25 on: September 18, 2019, 05:04:03 PM »
Quote
im just trying to find out if the problem is using uc400etc or the index detection isnt good enough  my max rpm is 2500
Your problem is that you don't understand what the  UC 400ETH requires in order to do threading and the required configuration of the external controller  board. One would think that UNCNC would provide specific instructions on how to use that board with MACH. Usualy there is a specific plug in provided for use of the board along with MACH.

There is a manual for the UC400ETH but the site didn't list a UC400 users guide  like it has for the 100 and 300. There are utility files for the UC400ETH.

Using a Hall sensor is just providing an index and is not the same as using an encoder  as BR549 remarked.

RICH
Re: mach3 turn threading issue
« Reply #26 on: September 18, 2019, 05:09:56 PM »
The UCCNC boards require a 3 channel encoder( ABI ) for threading. The encoder HAS to be running at 1:1 with the spindle.  With this setup you can do guage perfect threads every time.

(;-) TP

"For G33 and G76 thread cutting you need to have a quadrature encoder A and B and Index channels. And there must be one index signal per turn.
Yes, the signals have to be quadrature otherwise the controller could not detect the direction of rotation which could lead to issues.
Index only threading is not supported, because it is too unprecise solution in our opinion."

http://www.forum.cncdrive.com/viewtopic.php?f=4&t=1377&p=10290&hilit=lathe+threading#p10290

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: mach3 turn threading issue
« Reply #27 on: September 18, 2019, 05:14:52 PM »
Russ,
So the board uses G33, not G32, and the G76 of UCCNC board uses a G76 command, but must add, that the G76 command is different as compared to the MACH3 command.

?
RICH

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: mach3 turn threading issue
« Reply #28 on: September 18, 2019, 08:53:38 PM »
Hi Rich, NO in mach3 threading is G32. Only when using UCCNC does it use G33. Yes teh G76 is different BUT I do have a copy of a G76 macro I wrote that will work in Mach3 using teh UC400eth.

As to teh encoder it can be done many ways as long as teh results is quadrature AB with a single index per turn of teh spindle.

The parameters and Gcode call is exactly the same as LinuxCNC uses. I have a doc for that as well if needed

There is also a Macro to do rigid tapping in Mach3.

CNCDrive does not tlak about the plugin for Mach3 as they officially do not support TURN with UCCNC products. EVEN though they did create teh thread function for it.

(;-) TP
« Last Edit: September 18, 2019, 08:55:16 PM by BR549 »
Re: mach3 turn threading issue
« Reply #29 on: September 19, 2019, 04:13:08 AM »
sorry if i ask stupid questions but this is new to me and i thought i would come here for help .
i  am more than happy to modify my lathe for an encoder .
ive seen some omron 2000 p   a b  and z .  i think the z is one pulse per rev so is that suitable?

if i build this ,i presume from what you have said that i will need to have a new g76 macro. will i be able to get/buy a copy of this and/or any other code?

correct me if im wrong but am i right in thinking
mount abi(z) encoder 1:1 with spindle
wire the encoder to my breakout board
configure ports and pins (any ideas where they are needed to connected to)
have a new macro for g76
anything else?

thanks  again