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

1751
General Mach Discussion / Re: Need Stop before running script
« on: April 18, 2018, 11:35:21 AM »
made some changes to your code, pls test

Code: [Select]
'Check oemdro# And oemled#

'Code"1003"

SetOEMDRO(800,0.5)
SetOEMDRO(801,0.5)
SetOEMDRO(802,2.0)

Sleep(100)

CurrentFeed = GetOemDRO(818) 'Get the current feedrate.
PlateThickness =1.250 'Set gauge thickness
ProbeFeed = 20 'Set feedrate during probing

Code "G90 F" &ProbeFeed 'Set to Absolute Distance mode

'X Axis Home

If GetOemLed (825)=0 Then 'Check LED to see probe is ready
Code "G4 P1"             'Time to get to the X-plate
Code "G31X4 F" &ProbeFeed 'Start X probe routine
While IsMoving() 'Probe moving X axis
Sleep(50)
Wend 'End of move
Code "G4 P0.25" 'Pause
XProbePos = GetVar(2000) 'Get position of probe
Code "G0 X" &XProbePos
While IsMoving () 'Axis moving
Sleep(50)
Wend 'End of move
SetOEMDRO(800,0) 'Set X DRO for correct direction
Sleep(100) 'Pause for Dro to update.
Code "G0 X-1.065"           'Change the X retract distance here
While IsMoving () 'Axis moving
Sleep(50)
Wend 'End of move
Code "(X axis is now homed)"
'Code "F" &CurrentFeed 'Store current feedrate to F
Else
Code "(Plate is grounded, check connection and try again)"
End If

'Y Axis Home
Code "G90 F" &ProbeFeed 'Set to Absolute Distance mode


If GetOemLed (825)=0 Then 'Check LED to see probe is ready
'Code "G4 P1"               'Time to get to the  Y-plate
Code "G31Y4 F" &ProbeFeed 'Start Y probe routine
While IsMoving() 'Probe moving Y axis
Sleep(50)
Wend 'End of move
Code "G4 P0.25" 'Pause
YProbePos = GetVar(2001) 'Get position of probe
Code "G0 Y" &YProbePos
While IsMoving ()
Sleep(50)
Wend
SetOEMDRO(801,0)
Sleep(100) 'Pause for Dro to update.
Code "G0 Y-6.820 F20" 'Change the Y retract distance here
While IsMoving () 'Axis moving
Sleep(50)
Wend 'End of move
Code "(Y axis is now homed)"
'Code "F" &CurrentFeed 'Store current feedrate to F

SetOEMDRO(800,8.8641) 'Set X work offset for Spoons
SetOEMDRO(802,2) 'Set Z work offset for All
SetOEMDRO(801,0.0000) 'Set Y work offset for Spoons

Else
Code "(Plate is grounded, check connection and try again)"
Exit Sub

End If

Code "X0 Y0"   'Ready to make spoons
While IsMoving () 'Axis moving
Sleep(50)
Wend 'End of move


1752
General Mach Discussion / Re: G31 Probing with G68 Rotation enabled
« on: April 18, 2018, 01:48:47 AM »
post your both XML files, and i will do a compare für the Settings.

1753
General Mach Discussion / Re: Need Stop before running script
« on: April 18, 2018, 01:39:59 AM »
sounds like a endless Loop in your code.
post your code and we will see.

1754
General Mach Discussion / Re: G31 Probing with G68 Rotation enabled
« on: April 17, 2018, 03:32:21 PM »
selected the right plane (G17)?

1755
General Mach Discussion / Re: Keygrabber ---> Brain
« on: April 16, 2018, 02:21:49 PM »
i have tryed this for hour's.

ended up in puting a button to Screen 0
hotkey (an other that TAB) to the button
vbscript and the rest is easy.

TAB key seems to be hardcoded

1756
General Mach Discussion / Re: Probing - what would i need?
« on: April 16, 2018, 02:15:04 PM »
here something about G53 i found in the forum

1757
General Mach Discussion / Re: Probing - what would i need?
« on: April 16, 2018, 02:03:25 PM »
you can not use a G53 in G91 (incremental)

G53 is allways a absolute (G90) move

1758
General Mach Discussion / Re: M03 Not working
« on: April 16, 2018, 03:42:23 AM »

1759
if you create a new Screen there will be allways the controls from page 0, thats waht page 0 is used for, to have the possibility
to have controlls witch are shown on all Screens.

to copy a wirzard to a Screen, or the other way around is no Problem.

use Machscreen, open the wizard Screen , select all you want, copy,
open your screenset, goto page you whant to use, paste, finished.

1760
HiCON Motion Controller / Re: MPG does not work with Hicon+Mach3
« on: April 13, 2018, 01:35:19 AM »
can you give us some Information, what and how you connected the MPG ?
then we can have a look to get the right brain done.