Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Mack3CNC on March 20, 2020, 02:34:18 PM
-
Hello
I bought a CNC control board from china and configured the Mach3 according to the manual of the board, everything works perfectly, but I'm having problems in the probe. I start the macro and the X axis begins, but when the probe does the grounding the X axis continues to work and force the cutter, what may be wrong ? Below this my setup and the image of the board I'm using.
My Configuration
(https://i.imgur.com/MSU4whR.png)
My CNC Board
(https://i.imgur.com/VppcRPP.jpg)
If anyone can help me,Thanks
-
first off all, go to diagnostic and have a look for the digiitze Signal,
does it come up if you hold your clamp to the cutter?
-
Hi, TPS
So, I haven't signal.
Thank You
-
first off all, go to diagnostic and have a look for the digiitze Signal,
does it come up if you hold your clamp to the cutter?
Hi, My cnc machining is working, but the probe don't have signal, How could I solve it?
Thank you for help me.
-
do you have a link to the Manual of your Controller?
-
Hi, I think it will need some power supply, maybe the 24V, you should have it in the board manual ...
Joseph
https://www.buildyourcnc.com/images/RNRInstructionImage22-800.JPG
-
Hi
Yes, I have the USB Board Documentation and Board Schematic and my Macro.
USB Board Documentation
https://www.buildyourcnc.com/Documents/USB%20Motion%20Card%20STB4100%20Manual.pdf (https://www.buildyourcnc.com/Documents/USB%20Motion%20Card%20STB4100%20Manual.pdf)
Board Schematic
(https://i.imgur.com/ZyBqJvs.jpg)
My Macro
Rem VBScript To center probe inside a pipe
Dist= 20.0 'Maximum detection depth 20.0
ZDist = 4.0 'When finished, put a knife 4.0
If GetOemLed (825) <> 0 Then 'Check the probe if it is disconnected
Code "(Probe plate is grounded, check connection and try again)"
Else
DoSpinStop()
FeedCurrent = GetOemDRO(818) 'Save the feed rate
XCurrent = GetDro(0)
YCurrent = GetDro(1)
ZCurrent = GetDro(2)
Code "G4 P1" 'Pause 1s
Code "F25" 'Adjust the speed more slow
Rem Probe left
XNew = Xcurrent - Dist 'probe 20mm to left
Code "G31 X" &XNew
While IsMoving() 'wait for the move to finish
Wend
XPos1 = GetVar(2000) 'get the probe touch location
Code "G0 X" &XCurrent
While IsMoving ()
Wend
'rapid move back to start point
Rem Probe right
XNew = XCurrent + Dist 'probe 20mm to right
Code "G31 X" &XNew
While IsMoving()
Wend
XPos2 = GetVar(2000)
XCenter = (XPos1 + XPos2) / 2 'center is midway between XPos1 and XPos2
Code "G0 X" &XCenter
While IsMoving ()
Wend
'rapid move to the x center location
Rem Probe up
YNew = YCurrent + Dist
Code "G31 Y" &YNew
While IsMoving()
Wend
YPos1 = GetVar(2001)
Code "G0 Y" &YCurrent
While IsMoving ()
Wend
Rem Probe down
YNew = YCurrent - Dist
Code "G31 Y" &YNew
While IsMoving()
Wend
YPos2 = GetVar(2001)
YCenter = (YPos1 + YPos2) / 2
Rem move to the center
Code "G0 Y" &YCenter
While IsMoving ()
Wend
Code "F" &FeedCurrent 'restore starting feed rate
ZClear = Zcurrent + ZDist
Code "Z" &ZClear
End If
Thank you for help me.
-
you have to have 24V power, just as I sent the picture, yours is the same, then checked the diagnostics card in Mach to see if the light comes on when touched ..
-
Hi Mach3CNC,
I have sent you a PM.
Tweakie.