Hello Guest it is March 28, 2024, 09:58:11 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - makemasters

Pages: 1
1
Mach4 General Discussion / Mach 4 not creating square inside corners
« on: December 12, 2017, 01:31:06 PM »
Hello,
I am not sure where this problem is occurring. I know it's not a lost step issue because I zero precisely back to start after I cut. See the attached pic for the problem, basically, on an inside pass on a 90degree angle half of my corners are swept strangely. Is it a misunderstanding of ramping? I have tried with ramping on and off with the same results.

2
Mach4 General Discussion / correct driver mapping
« on: May 16, 2017, 05:34:26 PM »
Hello folks,

Newb question here but I'd rather be safe than sorry. I have the ESS plugin settings mapped exactly like the documentation has. I also am using the exact same nomenclature as per the documentation. So do I wire the driver pictured to MOTOR x Step, MOTOR x DIR & Enable for MOTOR x to pul+, pul- and DIR- respectively?

3
VB and the development of wizards / Custom Auto Calibrate script
« on: January 21, 2017, 01:25:35 PM »
Hello I posted this question in another section but no luck.  I want to be able to calibrate two axis at once in mach3 using the auto-calibration feature but it only allows one axis at a time. I need it to move the Y axis and its slave axis at the same time (B). Below is the file that runs the script but I am not sure what to tweak. So I am hoping someone can help me.

Sub Main()
 Begin Dialog GroupSample 31,32,120,96,"Axis Selection"
   OKButton 38,75,40,14
   GroupBox 12,8,96,62,"Pick Axis to Calibrate",.GroupBox1
   OptionGroup .OptionGroup1
   OptionButton 20,24,40,8,"X Axis",.OptionButton1
   OptionButton 20,40,40,8,"Y Axis",.OptionButton2
   OptionButton 20,56,40,8,"Z Axis",.OptionButton3
   OptionButton 67,24,40,8,"A Axis",.OptionButton4
   OptionButton 67,40,40,8,"B Axis",.OptionButton5
   OptionButton 67,56,40,8,"C Axis",.OptionButton6
End Dialog



Dim Dlg1 As GroupSample
Button = Dialog (Dlg1)
 If Button = 0 Then
    Exit Sub
 End If   
AxisNum = Dlg1.OptionGroup1

Select Case AxisNum
      Case 0 'HSS
        Axis = "StepsPerAxisX"
        Axis_Letter = "X"
      Case 1 'HSStin
        Axis = "StepsPerAxisY"
   Axis_Letter =" Y"
      Case 2 'Carbide
        Axis = "StepsPerAxisZ"
   Axis_Letter = "Z"
      Case 3 'Carbide
        Axis = "StepsPerAxisA"
   Axis_Letter = "A"
      Case 4 'Carbide
        Axis = "StepsPerAxisB"
   Axis_Letter = "B"
      Case 5 'Carbide
        Axis = "StepsPerAxisC"
   Axis_Letter = "C"
End Select





Com_Move = Question ("How far would you like to Move the " & Axis_Letter & " Axis?")

If COM_Move = 0 Then
  MsgBox "Can't have a Move of Zero, Axis Calc aborted."
  Exit Sub
End If
Code "G0 G91 " & Axis_Letter & Com_Move
 While Ismoving()
 Wend
Code("G90")
Code "G4 P0.5"
Act_Move = Question("How far did the " & Axis_Letter & " Axis move? (Measured Value)")
If Act_Move = 0 Then
  MsgBox "Can't have a Move of Zero, Axis Calc aborted."
  Exit Sub
End If


Old_PPR = GetParam(Axis)

New_PPR = Abs((Com_Move/Act_Move) * Old_PPR)
Response =  MsgBox ( Axis_Letter & " Axis Will be Set to " & New_PPR & " Steps per Unit. Would you like to Accept it??", 4 , "Set Steps Per Unit")
If Response = 6 Then   ' User chose Yes.
   Call SetParam(Axis, New_PPR)
   MsgBox (Axis_Letter & " Axis Has Been Set")
Else   ' User chose No.
   MsgBox (Axis_Letter & " Axis Has NOT Been Set")
End If

End Sub
Main




 

4
General Mach Discussion / Auto Calibrate 2 axis at once?
« on: January 20, 2017, 01:26:45 PM »
Hello I have built a large gantry CNC that uses B axis as a slave to Y to move the gantry along Y. Is there a way to use the auto calibration feature on both Y and B simultaneously? I am unable to do them one at a time because it will skew the gantry?

Thanks in advance

Pages: 1