Hello Guest it is November 28, 2021, 07:30:36 PM

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 - pedropin

Pages: 1 2 »
1
Thank you very much this is what I need, how good the help of this forum.
why in the last line of the code you write?
  Code "G59P7"

have a good day and thank you again

2
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




3
General Mach Discussion / Re: macro help
« on: July 10, 2019, 07:29:18 PM »

good day
I really appreciate your help.
Is it possible to insert this macro into the postprocessor? to do it automatically.
the output file is; Mach3 ATC mm (* .txt). from Vectri Aspire.
Attached example of the file (* .txt)

again thank you very much

4
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

5
General Mach Discussion / Re: it is possible with Mach3
« on: May 07, 2019, 09:58:17 PM »
TPS
thank you very much for your help.
I did not know about G54 and I investigated but I did not understand
Greetings to all

6
Hello, I always work with these steps
click on View select Load Screens and select 1024.set and open it.
I hope you work

7
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

8
General Mach Discussion / Re: Maximum file size.
« on: November 06, 2012, 08:54:54 PM »
Ger21 work with 4Th axis, clear 3D compass and A-Rotations Enable.
and works perfect.

Thank you very much for your help,
A friendly greeting from Colombia

PedroPin

9
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

10
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

Pages: 1 2 »