Hello Guest it is March 28, 2024, 06:37:51 AM

Author Topic: Wiring Z Zero Plate to BOB  (Read 4056 times)

0 Members and 1 Guest are viewing this topic.

Wiring Z Zero Plate to BOB
« on: April 06, 2016, 02:31:47 PM »
Hi finally got my auto Z Plate but am lost on what to do...

I have a Romaxx WD-1 machine which has a couple pins left on the input 1 (these are for a MPG which I use a usb instead)

I was told I could use these ports for the touch plate.  It has a black and white wire, one for the plate one for the gator clip.  This is the standard Chinese ones sold everywhere.

I have:

Port 1 pin 13 A Channel
Port 1 pin 15 B Channel

Does a wire go into each of them?
Is there no need for a ground?

Thanks!
Re: Wiring Z Zero Plate to BOB
« Reply #1 on: April 06, 2016, 04:45:57 PM »
So do I use the ground for the gator clip and the plate wire in pin 13 (or pin 15)?

Re: Wiring Z Zero Plate to BOB
« Reply #2 on: April 07, 2016, 06:09:14 AM »
 Yes. the gator clip is ground and your plate goes to your input. You also have to edit the button script.
Regards
Charlie M.
Re: Wiring Z Zero Plate to BOB
« Reply #3 on: April 07, 2016, 08:16:22 PM »
so should I use the actual ground pin on the BOB in that schematic?  Or ground it to a part of the machine?

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Wiring Z Zero Plate to BOB
« Reply #4 on: April 08, 2016, 02:46:44 AM »
I have done both on my mill - grounded the 0v on the BOB inputs to the chassis and used the input connected directly to the plate, seems happy with it and only have the plate to position before probing.

I check the plate works every time though with the on-screen LED;)
Re: Wiring Z Zero Plate to BOB
« Reply #5 on: April 08, 2016, 03:50:47 PM »
" edit the button script"

Yes, can someone show me the best place for the script or instructions?  I need to offset it 20mm (but I use Imperial)
Re: Wiring Z Zero Plate to BOB
« Reply #6 on: April 08, 2016, 11:46:56 PM »
Yeah!  I got it working...

I am using this script below but 2 questions:

I have my plate thickness at .7874 and the retract to .10 which should = 8874 but it = 8875 on the DRO?  Is there a thousandth offset in the code or something?

Also, in the code, is there something that keeps the Z axis jog rate hard coded as I set the Z zero or do I have to manually hit the TAB key and reduce the jog rate each time and then manually reset the jog rate back?  I am nervouse thet if I do not manually hit TAB and reduce the jog rate from 100% to .3% that it is just going to go flying down to the touch plate...  I would like to have the TAB jog rate be at 100% all the time but when I hit Auto Z Zero in mach 3 it over ride that in the code and go down slow such as .3% for the auto zero.





CurrentFeed = GetOemDRO(818) 'Get the current feedrate to return to later
PlateThickness = GetOemDRO(1151)
Retract = 0.10

If GetOemLed (825)=0 Then 'Check to see if the probe is already grounded or faulty
DoOEMButton (1010) 'zero the Z axis so the probe move will start from here
Code "G4 P2" ' this delay gives me time to get from computer to hold probe in place
Code "G31Z-1 F4" 'probing move, can set the feed rate here as well as how far to move
While IsMoving() 'wait while it happens
Wend
ZProbePos = GetVar(2002) 'get the axact point the probe was hit
Code "G0 Z" &ZProbePos 'go back to that point, always a very small amount of overrun
While IsMoving ()
Wend
Call SetDro (2, PlateThickness) 'set the Z axis DRO to whatever is set as plate thickness
Code "G4 P0.25" 'Pause for Dro to update.
Code "G0 Z" &Retract+PlateThickness 'put the Z retract height you want here
Code "(Z axis is now zeroed)" 'puts this message in the status bar
Code "F" &CurrentFeed 'Returns to prior feed rate
Else
Code "(Z-Plate is grounded, check connection and try again)" 'this goes in the status bar if aplicable
Exit Sub
End If

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Wiring Z Zero Plate to BOB
« Reply #7 on: April 09, 2016, 07:05:21 AM »
That's 1/10,000, and is likely a rounding of the display due to your steps/inch setting.

It should be probing at 4 ipm, based on the F4 in this line:

Code "G31Z-1 F4"
Gerry

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

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Wiring Z Zero Plate to BOB
« Reply #8 on: April 09, 2016, 12:08:16 PM »
ahh, that is right 1/10,000 duh, read it wrong. 

"It should be probing at 4 ipm, based on the F4 in this line:

Code "G31Z-1 F4""

Great, thanks!