Hello Guest it is June 16, 2021, 01:42:42 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

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.

and what will be the exact Trigger for the Output.

M3 isActive AND ISMoving can not be all for the Trigger.

if you Need the pulse length realy exact i would use a external timer module and only do the Trigger via Mach3 Output.

pls decribe a Little bit more what you are trying to do.

General Mach Discussion / Re: Tool Table issues
« on: March 12, 2018, 03:55:03 PM »
OEMButton(316) does the tooltable save Job.

General Mach Discussion / Re: Scripter Compile Error bites again :(
« on: March 12, 2018, 03:49:11 PM »
ok i turn the "i know something better" mode ON again,

v022 and i am happy with it

"i know something better" mode OFF