reading coordinates from external file

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

reading coordinates from external file

Postby PowerCube » Fri Mar 08, 2024 12:13 pm

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
PowerCube
 
Posts: 7
Joined: Wed Aug 23, 2023 7:21 am

Return to Macros

Who is online

Users browsing this forum: No registered users and 7 guests