Hello Guest it is October 16, 2021, 02:38:16 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

1471
General Mach Discussion / Re: Probing - what would i need?
« on: April 11, 2018, 11:22:58 AM »
and yes probing drives cracy if softlimits are enabled,
so i midified your probing function a Little bit:

Code: [Select]
Sub ProbeSurface()

'*** turn soflimit's off if they are on
Dim SoftLimitswhereon As Boolean
If GetOEMLed(23) Then
DoOEMButton(119)
SoftLimitswhereon = True
End If

Sleep(250) '***Needed or UserDRO's fail to update

NotifyPlugins(10103)

SetUserDRO(1510, 0)
While(GetUserDRO(1510) = 0)
  Sleep(50)
  NotifyPlugins(10104)
Wend

If(GetUserDRO(1510) = 2) Then '***Probing error - no detection in distance = abort
  Message "Probing Error - No Surface Found"
End If

'*** turn soflimit's back on if they where on
Sleep(500)
If ((Not GetOEMLed(23)) And (SoftLimitswhereon = True)) Then
DoOEMButton(119)
End If

End Sub

ok now i will allso modify my probing libary ;)

Thomas

1472
General Mach Discussion / Re: Probing - what would i need?
« on: April 11, 2018, 10:36:28 AM »
ok tryed to run your posted code.
gave me scripter Compiler error:


Sleep(250) ***Needed or UserDRO's fail to update

changed it to:


Sleep(250) '***Needed or UserDRO's fail to update

then it run fine on V022 and V066

Thomas



1473
General Mach Discussion / Re: Probing - what would i need?
« on: April 11, 2018, 03:08:52 AM »
Yes, but no - I used the exact M31 code but put it inline with my own macro so i didn't need to risk calling a macro from within a macro:)

that was the reason, why i included the original M31code into my functionlibary as a function (function Probe, in the file i posted).

if you post your code, then i will run it during the afternoon on my machine.
  
I did ask CS labs but their support is terrible.

i have allways written to a CSLab guy called Wojtek, and got allways a answer within 48h,
ok that's not even fast.

1474
General Mach Discussion / Re: Z moves up down up after tool change?
« on: April 11, 2018, 01:41:08 AM »
it depends on what you have selected in Config -> General Config -> Tool Change

if you have selected: Stop Spindle Wait for Cycle Start , what would be the right choice for Manual tool Change,

Mach will run the M6Start macro first, and after you have pressed Cycle Start the M6End macro.

So the code of both macros is important for a tool Change.

1475
General Mach Discussion / Re: Probing - what would i need?
« on: April 11, 2018, 01:34:52 AM »
HI,
have you tryed to run M31 probing macro.

due my probing test's i fiured out, if there something faults during probing (G31/M31 started),
you have to restart Mach and the CSLab Controller to get it working again.

all my posted functions for probing, witch use all M31, are running without any Problem here.

About tapping, i also got the M84 running on my machine (V022), or do you mean other
tapping routines. if yes just let me know, and i will test on my machine.

Thomas

1476
General Mach Discussion / Re: Mach 3 Stepper Motor stall
« on: April 10, 2018, 11:28:42 AM »
try to run v062

ftp://ftp.machsupport.com/Mach3/Mach3Version3.043.062.exe

and then "Play" a Little bit with Speed/acc settings

1477
General Mach Discussion / Re: Mach3 suddenly fails to load
« on: April 10, 2018, 09:30:13 AM »
i think we had this Win10 update stops working Problem a couple of times during tha last few weeks.

1478
General Mach Discussion / Re: Mach 3 Stepper Motor stall
« on: April 10, 2018, 09:28:06 AM »
i think it is  a velocity and/or Acc/Dec Problem.

try some easy test by put

for example

g0x300
g0x100

into MDI line

just to see that your machine is able to follow the Speed/acc you configurated.

1479
VB and the development of wizards / Re: centerpiece full (change)
« on: April 08, 2018, 05:46:46 AM »
if the oemdro(1000) is used nowhere else in your Screen it is ok.

1480
use the Output itself

Output - pass through     |
Output - invert Signal      | OR   delay Output