Hello Guest it is April 26, 2024, 02:12:23 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

1081
then Config -> Homing/Limits -> Home Neg. seams to be wrong

1082
does z-axis move up and and down if you drive it in Manual mode?

1083
General Mach Discussion / Re: Link script to m8 and m9 command
« on: January 13, 2020, 08:27:20 AM »
do not call a macro from a macro, yust copy yout code from M1000/M1001 into macropump.

1084
General Mach Discussion / Re: "Reference All" Jitters in Motors (M3)
« on: January 12, 2020, 05:10:43 AM »
open vbscript Editor, Mainmenue    Operator -> VB Script Editor

then copy/paste this code into the Editor

Code: [Select]
DoButton( 24 )
While IsMoving
Wend
code"(Z Axis is Referenced)"
code"G4 P.1"


DoButton( 22 )
While IsMoving
Wend
code"(X Axis is Referenced)"
code"G4 P.1"


RefCombination ( 10 )
While IsMoving
Wend
code"(Y Axis is Referenced)"
code"G4 P.1"

While IsMoving
Wend

If(GetOEMLED(23)=false) Then 'This will turn on the softlimits on
  DoOEMButton(119)
End If
While IsMoving
Wend

code"(All Axis are Referenced)"
While IsMoving
Wend

code"G4 P.1"
While IsMoving
Wend

Code"(Moving to Home Position)"
Code"G28"
While IsMoving
Wend

DoButton(7)
While IsMoving
Wend

Code"G4 P.1"
While IsMoving
Wend

Code"(X and Y axis are Homed and Zeroed)"

use the >|| button (Step Into Script) to run code line by line and see where the jitter happens.

BTW, do you have any values in

Config -> Homing/Limits -> Home Off. ?



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

1086
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).

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

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

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

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