Hello Guest it is December 05, 2021, 08:38:25 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.


Topics - pedropin

Pages: 1
1
Hello, how are you? I have built a machine that has 7 heads,
I would like to know if you can create a macro that when reading a tool change in g code, the macro calls the offset in the X and Y axes of that tool.
I tried but I don't understand any programming and
I've seen videos of machines doing it but I can't.
I only have this macro M6 star but it does not work well for me
Thank you
attentively

'get new tool number
   newtool = GetSelectedTool()

       'select Offset by toolnumber
       If newtool = 1 Then
           Code "G54"
       Else         
           Code "G55"
           
      End If
   
           
        If newtool = 2 Then
           Code "G55"
         Else       
           Code "G56"       
   
       End If       
       
       
        If newtool = 3 Then
           Code "G56"
       Else   
       
           Code "G57"   
     
   
       End If




2
General Mach Discussion / macro help
« on: July 09, 2019, 11:38:06 PM »
good day to all
I have 2 spinlles in my cnc separated 100mm on the X axis.
I need to write a macro to use 2 tools / tool 1 and tool 2 /
if the gcode calls the tool 1 activate the output # 1
if the gcode calls the tool 2 deactivate the output # 1 and activate the output # 2, now correct the offset of 100mm on the X axis
I do not know how to write this macro for mach3
I appreciate a help
thank you

3
General Mach Discussion / it is possible with Mach3
« on: May 02, 2019, 08:39:01 PM »
Greetings to all
I have my CNC router machine. and I ask you if it is possible to do what you see in the video.
the injection is done with pneumatics powered by electrovalves.
the trajectories are generated with Artcam
I'm stuck with the Mach3 I do not know how to do it
any comment I am very attentive.
thank you.
https://www.youtube.com/watch?v=OcTjs1cRt3U

4
General Mach Discussion / Maximum file size.
« on: November 06, 2012, 03:09:33 PM »
Hi I have a problem.
upload a file of 275,250 lines of code. (10.2 MB). I click GOTO ZERO, the motors do not move well and lost the reference in all axes.
I click Cycle Start and the machine moves at intervals and the reference is lost on all axes. this does not happen when I use files of 2 MB.
To Mach3 Gcode size matter?
my settings
Gecko G540
10A 45V source
Pc Pentium 4    2.66GHz     1.25GB Ram
GeForce 7100 GS Graphics
motors 425 Oz-In
thank you very much

5
General Mach Discussion / Auto Tool Zero Help with USB Joypad
« on: May 01, 2012, 10:43:21 PM »


Greetings to all.
This is my code for Auto Tool Zero
CurrentFeed = GetOemDRO(818) 'Get the current feedrate.
PlateThickness =12

If GetOemLed (825)=0 Then
DoOEMButton (1010)
Code "G4 P3" 'Time to get to the z-plate, 3 seconds
Code "G90 G31 Z-20 F600" ' probing move, can set the feed rate here as well as how far to move
While IsMoving()
Wend
ZProbePos = GetVar(2002)
Code "G1 Z" &ZProbePos
While IsMoving ()
Wend
Call SetDro (2, PlateThickness)
Sleep(120)
Code "G0 Z20" 'Change the Z retract height here to what you want, must be higher than touch plate
Code "(Z axis is now zeroed)"
Code "F" &CurrentFeed 'returns to prior feedrate
Else
Code "(Z-Plate is grounded, check connection and try again)"
End If
Exit Sub
 


works perfectly, my problem is I have a USB joypad and I can not
activate the Auto Tool Zero function from the USB Joypad.
code for Joypad file M800

If SL And (Button = BE) Then
 DoOEMButton 1017
Message "Goto Zero"
End If
If SL And (Button = BW) Then
DoOEMButton 707
Message "Auto Tool ZEro"
End If
End



Change the code many times but I have good results, thanks for help
thank you very much
pedropin

6
Spanish / ayuda angulos rectos
« on: September 07, 2010, 09:50:40 PM »
Me presento y un saludo para todos
Tengo la version R3.043.000.
El problema es que cuando mecanizo el perimetro de un rectangulo las esquinas me las deja con curvas, a mayor velocidad
el radio de la curva es mayor

gracias por sus comentarios
 :o

Pages: 1