Hello Guest it is June 22, 2025, 04:44:41 PM

Author Topic: Screw mapping curve0.dat file format  (Read 32178 times)

0 Members and 1 Guest are viewing this topic.

Screw mapping curve0.dat file format
« on: July 18, 2022, 11:39:14 PM »
I have made a circuit to opto isolate my DRO output so I can feed them into the DRO/MPG inputs, I have made a script to move the axis a curtain amount pause then write the real position from the 1 micron scales to a file and chart the accuracy of my system.
 What would really be the icing on the cake, would be to be able to use this data as input to the screw mapping feature but I don't
understand the file format that mach3 uses. Any help in this department would be greatly appreciated.
Re: Screw mapping curve0.dat file format
« Reply #1 on: July 19, 2022, 03:58:49 AM »
I may have not used the best wording to describe what I am trying to do, I have looked at all the posts on this subject so
I know the basic layout of the data but I don't know how to turn a CSV into the garbledegoop I see when I look at the curve.dat
with notepad
Re: Screw mapping curve0.dat file format
« Reply #2 on: July 19, 2022, 05:43:19 AM »
You could try manually inputting some correction values through the config\screwmapping menu and inspecting the file so generated?  I would guess that the format should be obvious from that.  Actually generating the file from your CSV might involve some creative Excel work; or you could open the csv in a text editor and use that to insert necessary formatting characters.  This sounds harder than it usually turns out to be as you can use the "replace all" command creatively.
Re: Screw mapping curve0.dat file format
« Reply #3 on: July 19, 2022, 01:59:29 PM »
Hi John, thanks for the reply, that is what I did but I am not a programmer so what I saw made no sense to me.
I did not recognize any of the characters and there were no numbers but I was using notepad to view it. It is nice to
have the ability to feed the values from the scales back into mach3, I made multiple runs of 686 points and they
show amazing repeatable detail.
Re: Screw mapping curve0.dat file format
« Reply #4 on: July 19, 2022, 02:30:19 PM »
Can you post the files?
Re: Screw mapping curve0.dat file format
« Reply #5 on: July 19, 2022, 02:37:54 PM »
Sure, what files are are you interested in
Re: Screw mapping curve0.dat file format
« Reply #6 on: July 19, 2022, 03:11:49 PM »
Here is a picture of the chart I made from the CSV file and the Curve0.dat with first 68 points entered manually.
It will not let me post a .dat file so here is a screen capture.
Re: Screw mapping curve0.dat file format
« Reply #7 on: July 19, 2022, 03:51:00 PM »
Post the CSV or dat files.  Just change the file extension to txt on the latter
Re: Screw mapping curve0.dat file format
« Reply #8 on: July 19, 2022, 05:38:31 PM »
collected X Axis Scale data every 1mm
Re: Screw mapping curve0.dat file format
« Reply #9 on: July 19, 2022, 05:40:41 PM »
Curveo.dat