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

General Mach Discussion / Re: Problem with soft limits settings.
« on: January 29, 2021, 11:49:52 AM »
Google for

three finger rule or right hand rule

than you can see what is "normal"

basicly i removed the G91 from the G31 code line, had some Problems by using G90/91 in same line
with G31 in the past.

made some changes, see wether they help, keep a copy of your existing code!!

Code: [Select]
'X/Y/Z referenced?
If getoemled(807) Or getoemled(808) Or getoemled(809) Then 'Kontrolli kas nullimise ledid polevad
MsgBox "Teljed nullimata"
Exit Sub
End If

'probe input allready active
If GetOemled(825) <> 0 Then
MsgBox "Testi raadioandurit"
Exit Sub
End If

XWork = GetOEMDRO(800)  ' Get Current X Work Coordinate
YWork = GetOEMDRO(801)  ' Get Current Y Work Coordinate
XMachine = GetOemDRO(83)  ' Get Current X Machine Coordinate
YMachine = GetOemDRO(84)  ' Get Current Y Machine Coordinate
ZMachine = GetOemDRO(85)    ' Get Current Z Machine Coordinate

Code "G49" ' cancel tool lenght offset
Code "G0 G53 Z-1" ' Home Z
code "G53 X216.90 Y3069.85" ' Move into Probe Pos ***EDIT HERE***
DoOEMButton(179) ' machine coordinates
Tool_Number = GetDRO(24) ' get actual Tool number

'fast probe
code "G31 Z-200 F300" ' Z liigub alla 300 mm kuni probini
While IsMoving()

code "G91 G0 Z10" ' Z liigub üles 10  mm
Code "G90"
While IsMoving()

'slow probe
code "G31 Z-15 F20" ' Z liigub alla 15 mm kuni probini
While IsMoving()

If Tool_Number = 0 Then ' Master tool Cal
z = GetOEMDRO(85) ' get Machine ZPos
Call SetOEMDRO(49,z) ' Set g54 z offset
Call SetDRO(24,0) ' Turn off the tool offset by loading tool #0
Height = GetDRO(2) ' Get the pos of the Z axis without the Tool comp on
Call SetDRO(24,Tool_Number) ' Turn the tool Back on so the offset will go to the
Call SetoemDRO(42,Height) ' Set the Tool Height offset
End If

DoOEMButton(181) ' back To program coordinates
code "G0 G90 G53 Z-1  F1000"
code "G43"
While IsMoving()
Sleep 10

Code "G0 X" & XWork & " Y" & YWork ' Returns to the previous XY job location
While IsMoving()

how far is your distance from Zhome to probepoint?

Looks like something is missing at the begin of script.

there is a End if without an IF ... Then before?

-Operator -> Edit button script

-Auto tool Zero button should blink now

-click on button -> Editor window Comes up

-copy and paste code into a file

-post file

Show us your script, and we will see.

General Mach Discussion / Re: Macro for mach3
« on: January 29, 2021, 01:06:34 AM »
you have to put this code into a macrofile, let's say M300.M1s
this fil Needs to be in C:\Mach3\macros\your Profile Name

usage would be:
M300 P20 Q1.5

where P20 is the length of your thread and Q1.5 the pitch (all in mm)

General Mach Discussion / Re: CSMIO IP/S MPG handwheel jog problem
« on: January 29, 2021, 01:02:51 AM »
i think you have to email Wojtek Trawicki at office@cs-lab.eu.

Finished Screens / Re: Mach3 Set 1920*1080
« on: January 28, 2021, 01:23:34 AM »
saubere Arbeit, sieht richtig schön "aufgeräumt" aus.
Ich bin auch nicht so für diese bunten Screensets.
Gruß Tom

darf ich fragen, mit welchem Programm Du die Hintergründe erstellt hast?