Hello Guest it is July 12, 2020, 04:50:49 PM

Author Topic: Tool zero with touch  (Read 3238 times)

0 Members and 1 Guest are viewing this topic.

Tool zero with touch
« on: April 13, 2012, 02:07:00 PM »
I'd like to use pin 13 on my C11 multifunction board for the input of my touch plate.
My touch plate is 5mm thick
I understand how to edit the Button Script.

I need a code & routine to insert the plate thickness.

I'm getting confused with 'inputing the plte thickness' into a DRO

Anyone clear this up for me please.
One step at a time!

Offline ger21

*
  • *
  •  6,282 6,282
    • View Profile
    • The CNC Woodworker
Re: Tool zero with touch
« Reply #1 on: April 13, 2012, 06:02:26 PM »
You don't need to use a DRO if the plate thickness isn't changing. Just code the script to use a 5mm thickness.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Tool zero with touch
« Reply #2 on: April 14, 2012, 04:41:23 AM »
You don't need to use a DRO if the plate thickness isn't changing. Just code the script to use a 5mm thickness.
Thanks Gerry,
My machine is setup to use MM (Metric)
You got a code example please or point me.
Thanks
George
One step at a time!

Offline ger21

*
  • *
  •  6,282 6,282
    • View Profile
    • The CNC Woodworker
Re: Tool zero with touch
« Reply #3 on: April 14, 2012, 04:17:20 PM »
Do you want an entire macro, or just the part with the plate thickness?
Here's a good thread with lots of info.
http://www.cnczone.com/forums/cnc_wood_router_project_log/36099-another_aussie_auto_tool_zero.html
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Tool zero with touch
« Reply #4 on: April 15, 2012, 08:32:26 AM »
Thanks Gerry.

Wow that thread is long.!

I have a C11 breakout board from CNC4PC. Been running it for quite some time with no problems.

I just wired in the touch plate to pin 15 and set it active low.

The documentation for the board is confusing. One say use a 10K pull up to 5V another says use a 200Ohm pull up and anothr shows no pull up at all.

Do I need a pull up. Right now it does not work under mach3 using the diagnostic screen or the auto setup routine.

Board ground is a little unclear also.

George
One step at a time!

Offline ger21

*
  • *
  •  6,282 6,282
    • View Profile
    • The CNC Woodworker
Re: Tool zero with touch
« Reply #5 on: April 15, 2012, 08:40:52 AM »
Looking at the manual, I think you want to set the jumper to pull up. See section 5.4 in the manual
http://cnc4pc.com/Tech_Docs/C11R9_3_USER_MANUAL.pdf

Use the ground in the lower left corner, next to the +5V in this pdf.
http://cnc4pc.com/Tech_Docs/E_STOP_N_EN_Wiring.pdf
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Tool zero with touch
« Reply #6 on: April 15, 2012, 09:40:26 AM »
Thanks Gerry,

Looks like my board is Rev8 . No jumpers like you suggest.
Also shows a Pullup to 5v with a 200 ohm Resistor.
I'll try it but I dont want to blow my board.

George
One step at a time!

Offline ger21

*
  • *
  •  6,282 6,282
    • View Profile
    • The CNC Woodworker
Re: Tool zero with touch
« Reply #7 on: April 15, 2012, 10:22:34 AM »
Not an electronic expert, but yes, it looks like the 200ohm resistor is what you want to use, according to the R8 manual.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html