Hello Guest it is March 18, 2024, 10:23:09 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

1791
VB and the development of wizards / Re: centerpiece full (change)
« on: April 06, 2018, 10:35:22 AM »
can you please change the following oices of code:

 Code "G90 G0 Y" &YCenter
    While IsMoving ()
    Wend
    Call SetDro (1,0.000)
    While IsMoving ()
    Wend
    Call SetUserDro (1152,YPos2 - YPos1 - CurrentToolDiameter)

    Code "G4 P0.25"

to

 Code "G90 G0 Y" &YCenter
    While IsMoving ()
    Wend
    Call SetDro (1,0.000)
    While IsMoving ()
    Wend
    Call SetUserDro (1152,YPos2 - YPos1 - CurrentToolDiameter)
msgbox  "YPos2: " &YPos2 & " YPos1: " &YPos1 & "Tooldiamter: " &CurrentToolDiameter  
    Code "G4 P0.25"

and Report the displayed values?
 

Where do you set the probe Diameter ? screenshot ?

1792
ok ,sorry.

1793
Hi Bories,

place threads about your question into the related subforums.

1794
VB and the development of wizards / Re: centerpiece full (change)
« on: April 06, 2018, 03:20:29 AM »
try to Change this:

CurrentToolDiameter = GetOemDRO(43) 'gets the current tool Diameter

to:
CurrentToolDiameter = GetOemDRO(22) 'gets the current tool diameter

1795
Hello Bories,

welcome here, about your xhchb04 start a thread in a particular section, new People welcome, is not the right place.

Thomas

1796

In General Config 'Tool Change' is 'Stop Spindle wait for cycle start'


you have to enable Auto Tool Changer, then M6Start and M6End will be executed.

1797
General Mach Discussion / Re: Probing - what would i need?
« on: April 05, 2018, 01:41:51 PM »
ok had some time, made a english Version (well bad bavarian english).


if you come to teh TouchInner() TouchOuter() and
specially to the TouchTwisted() give me a shout,
i think they Need explantion, because they are complex.

Thomas

1798
General Mach Discussion / Re: Probing - what would i need?
« on: April 05, 2018, 10:56:37 AM »
here is my X/Y probing libary, sorry it's in german

to use it copy the file to c:\mach3\macros\your Profile Name


to do a left lower Corner probe the code in the button would be:

Code: [Select]
Sub Main()
'probe left lower corner
Call TouchLU
End Sub

#Expand <\..\..\macros\your Profile name\ProbeFunktionen>  ##

i love this #Expand functionality, because you edit your button only one time,
and you can do all the changes on code easily in the libary file without changing Screen and so on.


1799
General Mach Discussion / Re: Probing - what would i need?
« on: April 05, 2018, 10:28:42 AM »
i think it doesnt matter.

in a "Standard" machine the G43HX handles the tool length differeces internaly.

in your case the M6End handles it with the knee, so at the end not difference.

1800
Mach4 General Discussion / Re: Lua file operations
« on: April 05, 2018, 10:01:50 AM »
without any knowledge of lua, i would say


File:write("test","\r\n")