Page 1 of 1

reading coordinates from external file

PostPosted: Fri Mar 08, 2024 12:13 pm
by PowerCube
Hello together,

I'm searching for a way to make the following possible.
I have a Macro that runs a set of G- and M-Commands, nothing special.
For the parts that I machine I need X- and A-coordinates.
Whenever I create a new part I'm copyying the Macro and then I change the coordinates inside the lines of code.
This is prone to errors and takes time.

My idea is:
1. have one text file for every part in which i put a series of X- and A-coordinates.
2. have one macro that reads the text file and uses the coodinates

Kind regards
PowerCube