Hello Guest it is February 25, 2021, 12:18:11 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

i would start with

-a fresh install of M3
-a new blanc Profile

and do the steup (manually) again, takes maybe half a hour.
there is no reason that it should not run on a 32Bit Win7

just a thought.

VB and the development of wizards / Re: edit m3.m1s
« on: March 15, 2018, 06:34:06 AM »

Config  -> Ports&Pins -> Spindle Setup

something like this might work in macropump

Code: [Select]
If IsMoving() Then
  If GetUserDro(1301) = 0 Then
If (GetDro(0) > 10) And (GetDro(0) < 15)  Then
End If

If (GetDro(0) > 60) And (GetDro(0) < 65)  Then
End If

If (GetDro(0) > 110) And (GetDro(0) < 115)  Then
End If
  End if
End If

If GetUserDro(1300) >= 0 Then
If GetUserDro(1300) = 0 Then
End If
End If

i would prefere to have seperate files, because interrupting a GCode , do something manualy and then restart at
the exact Point is also not easy.

more interesting is to find this "clear" "bordes" of the single segment's

i dont know, what are you doing on this machine, but what would be, if there
is something to do on this part, witch start's f.e. at 965 and Ends at 1150 ? ???

i think a lot questions will Pop up during this challege.

i can only give you a Hand on VB Scripting side.

ok Looks like you want to "fire" the nails during continious x travel ?

i am sure that will not work because:

-you can not execute GCode while other GCode (X/Y travel) is running.

the normal way to do this is like this

G1 X10 F2000
G1 X60 F2000
G1 X110 F2000
... and so on.

tha macro M444 (just an example random number) will have the code to enable the nailgun.

General Mach Discussion / Re: Scripter Compile Error bites again :(
« on: March 13, 2018, 07:58:13 AM »
during trying to remember why i did this, i was googling arround,
and found this:


General Mach Discussion / Re: Scripter Compile Error bites again :(
« on: March 13, 2018, 07:46:44 AM »
i have changed this on my machines to


years ago, but realy can't remember why.

General Mach Discussion / Re: Scripter Compile Error bites again :(
« on: March 13, 2018, 07:08:48 AM »
just a question, how does your Cam create M3 call's?

M3 S1234 or


-->i) to add this value to main screen for easy Monitoring
this is pretty easy

-->ii) with respect to the 'To DRO' / 'Load DRO' buttons in that panel.. Does this copy the encoder value to the X position .
that is also easy via VBScript

-->iiii) I can write a MACRO to update my CNC file based on this encoder position, perhaps a G54.1  code to to update location based on the error between desired and actual
-->Then back in CAM I can produce a toolpath in large 1M tiles , update it with suitable macros in preprocessror and send to machine.

here i am not sure, what you trying to modify on the NC files.

let's make an example for better understanding.

you have a 3M part.
is your CAM making three file's. 1st file 0-1000m 2nd file 1000-2000mm 3rd file 2000-3000m ?
if three files are the x-coodrinates going from 0-3000mm or 0-1000mm in each file ?

if the value of your measuring wheel is in Mach3, it should be no bigger Problem to
"modify" x-axis value after a ref according to this value.

in Mach3 you can wite every avaliable Information into a file by VBscript.


   'open the file for output data
   FNum = FreeFile ' Determine next file number.
   FName = "C:\Mach3\GCode\myfile.nc"
   Open FName For Append As FNum ' Open file.
   Print #FNum, cStr(GetDro(0)) & "," & CStr(GetDro(1)) & "," & CStr(GetDro(2)) 
   Close ' Close all files.

this can be trigged  by many different way, button on Screen, Mcall in GCode or via digital Input.

i have no experiance in M4, but i think there are simular possibilitiys.