Hello Guest it is March 01, 2021, 12:11:19 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

571
just install a Screen Editor like machscreen and open an existing wizard and see how it is done.
 

572
General Mach Discussion / Re: 3 axis lathe Mach3 tool charger Quicktech
« on: January 14, 2020, 09:24:15 AM »
Code: [Select]
If (toolnew = 1)then
   Code "G0 G53 X105" 'move X-axis
   While ismoving()
      Sleep 100
   Wend
   Code "G0 G53 Y"&toolpos1 'move Y-axis
   While ismoving()
      Sleep 100
   Wend
   Code "G0 G53 Z105" 'move Z-axis
   While ismoving()
      Sleep 100
   Wend
End If

you have to replace the 105 with your machine coords you whant to use!!!!!!!!!


573
Brains Development / Re: Comparing DRO┬┤s in a Brain
« on: January 14, 2020, 07:22:58 AM »
here is a small sample

added 0.125 to dro(1300) and stored it in dro(1301)
subtracted 0.125 from dro(1300) and stored it in dro(1302)

then compared both with x-axis dro and result is Led(1300)

not tested just written down

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

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

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

577
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. ?



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

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

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