Hello Guest it is October 25, 2021, 11:41:28 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 - TPS

781
General Mach Discussion / Re: Link script to m8 and m9 command
« on: January 11, 2020, 11:17:37 AM »
you can not "customize" M8/M9 macro, but
you can use macropump and GETOEMDRO(13) (Floot ON) to send your http commands.

782
General Mach Discussion / Re: 3 axis lathe Mach3 tool charger Quicktech
« on: January 10, 2020, 11:59:19 AM »
the X,Z Offset will be captured by the next move after toolchange, the toolchange itselve will only "correct" the DRO's/coordinates (for this axis).

783
General Mach Discussion / Re: 3 axis lathe Mach3 tool charger Quicktech
« on: January 10, 2020, 07:09:45 AM »
in turn mode code for toolchange is:

M6 Txxyy   where xx is the tool # and yy is the offset .

784
General Mach Discussion / Re: Start in the middle
« on: January 10, 2020, 06:36:23 AM »
save a copy of code file, delete all line's witch are allready done.

785
General Mach Discussion / Re: "Reference All" Jitters in Motors (M3)
« on: January 10, 2020, 06:03:53 AM »
had a quick look to your XML looked ok so far.
interesting would be the code of your Ref All button.

786
General Mach Discussion / Re: 3 axis lathe Mach3 tool charger Quicktech
« on: January 10, 2020, 05:56:05 AM »
but then I have found this topics, and here is also Yaxis lathe.

http://www.machsupport.com/forum/index.php?topic=21851.0

So Can and If yes, how to use this M6 macro to work with my machine.

i think this macro's are a good base to start with.
you will have to design a custom screenpage where you can set your y-axis values.
X and Z Offsets will be covered by Standard tooltable.

in this example M6Start macro toolpositions are stored in OEMDRo's

Code: [Select]
toolpos1 = GetOemdro(1001)
toolpos2 = GetOemdro(1002)
...
...

and the it drives the y-axis to the defined value for each tool in machine coords
Code: [Select]
If (toolnew = 1)then
   Call Code("G0 G53 X105 Y4.5"&(toolpos1))
   While ismoving()
      Sleep 100
   Wend
End If

it also moves the X and Z axis to a tool Change position

Code: [Select]
   Call Code("G0 G53 X105 Y4.5"&(toolpos1))

i personaly would do this in two step's, first move X and Z out the collision aeria and then move Y,
or maybe in three step's      1.X 2.Z 3.Y or 1.Z 2.X 3.Y to make sure the is no collision possible.

787
General Mach Discussion / Re: Cannot get offsets to work in mach3
« on: December 29, 2019, 04:31:26 AM »
there has to be a G43H# (#=toolnumber) in your M6 macro.

788
VB and the development of wizards / Re: macro to call g54 and g55, etc
« on: December 29, 2019, 04:25:07 AM »
you can use:

Code: [Select]
   DoOEMButton(252) 'disable Z-axis
   DoOEMButton(253) 'disable A-axis

a second call off OEMButtons will enable them again

to check wether thay are enabled/disabled you can use OEMLed's

Code: [Select]
  If GetOEMLed(88) Then
    MSGBox "Z-Axis is disabled"
  End If

  If NOT GetOEMLed(88) Then
    MSGBox "Z-Axis is enabled"
  End If

  If GetOEMLed(89) Then
    MSGBox "A-Axis is disabled"
  End If

  If NOT GetOEMLed(89) Then
    MSGBox "A-Axis is enabled"
  End If
 


789
VB and the development of wizards / Re: macro to call g54 and g55, etc
« on: December 28, 2019, 03:04:37 AM »
witch toolchange macro depends on your Settings Config->General Config->Tool Change

if Stop spindle. Wait for cycle Start is selected M6Start.m1s will be excecute when M6 is called in GCode and M6End.M1s
will be started after pressing Cycles Start after Toolchange is fineshed.

if Auto Tool Changer is selected only M6Start.M1s will be exceuted.

in one of this macro you can do your own code, f.e.
Code: [Select]
        'get new tool number
newtool = GetSelectedTool()

       'select Offset by toolnumber
       If newtool = 1 then
           Code "G54"
       Else
           Code "G55"
       End If

790
General Mach Discussion / Re: Mach3 macro
« on: December 24, 2019, 03:51:10 AM »
Config->General Config->Ignore M calls while loading