Hello Guest it is April 26, 2024, 01:52:21 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

1931
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:

https://www.machsupport.com/forum/index.php?action=printpage;topic=28339.0

1932
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

S1234
M3

years ago, but realy can't remember why.

1933
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

S1234
M3

1934
-->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.

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

Example:

   '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.

1936
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.

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

1938
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

1939
General Mach Discussion / Re: Scripter Compile Error bites again :(
« on: March 12, 2018, 03:41:34 PM »
witch Version of Mach3 are you running?

1940
this code is for right upper Corner?