Hello Guest it is October 25, 2021, 11:33:46 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

771
if it is hardwired to lpt2 you will not Need any plugin at all.

here:
http://www.markusmechatronics.com/Handrad_HowTo.html

is an example for a hardwired pedant.

772
General Mach Discussion / Re: 3 axis lathe Mach3 tool charger Quicktech
« on: January 15, 2020, 08:21:42 AM »
toolpos1 to toolposx are coming from OEMDro's at beginning of code
Code: [Select]
toolpos1 = GetOemdro(1001)
toolpos2 = GetOemdro(1002)
...
...


so you have to create a custom Screen, where you can set the Dro's corresponding to your particular tool.

this line of code

Code: [Select]
Code "G0 G53 Y" & toolpos1 'move Y-axis

is only the combination of fix code, in this case "G0 G53 Y" added by the "&" and value of variable toolpos1

let's value of toolpos1 = 1234 the excecuted code would be

G0 G53 Y1234

maybe you can post your actual code.


773
if you go to Config -> Homing/Limits there is a collumn Home Neg. where you can select the dirction of homing.

from the Manual:

5.6.1.1 Referencing speeds and direction
The Config>Home/Softlimits dialog allows you to define what happens when a reference
operation (G28.1 or a screen button) is performed.
Figure 5.16 Shows the dialog. The Speed% is used to avoid crashing into the stop of an axis
at full speed when looking for the reference switch.
When you are referencing, Mach3 has no idea of the position of an axis.
The direction it moves in depends on the Home Neg check boxes. If the relevant box is checked then the
axis will move in the minus direction until the Home input becomes active. If the Home
input is already active then it will move in the plus direction. Similarly if the box is
unchecked then the axis moves in the plus direction until the input is active and the minus
direction if it is already active.

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

775
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!!!!!!!!!


776
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

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

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

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

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