Hello Guest it is May 22, 2024, 05:55:43 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 - TPS

1091
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.

1092
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.

1093
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
 


1094
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

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

1096
for Output 6 try this:

Code: [Select]
If GetOEMLed(79) Then
    DeactivateSignal (OUTPUT6)
Else
    ActivateSignal (OUTPUT6)
End If

1097
I found a usb to parallel port adapter online and was wondering if this would work

no way

1098
there is no "clasic" set reset Signal in Brains (like in a PLC), but with some locic it will be the same.

1099
General Mach Discussion / Re: Nothing works, only the switches
« on: December 06, 2019, 08:47:15 AM »
usually those boards are using one pin for an enable Signal.
is there no way to figure out the configuration of WinPC CNC ?

1100
General Mach Discussion / Re: Nothing works, only the switches
« on: December 01, 2019, 01:10:14 PM »
how is your Controller connected to the PC (PP or USB)
some Picture might help.