1
Mach4 General Discussion / Re: Mach 4 Teach File
« on: November 05, 2017, 11:46:23 AM »
Thanks Craig....I've been able to kind of copy and paste and make a few things work for me...Right now i'm trying to configure a few buttons...one is a new file I have it figured out how to erase all the data and start a new teach.tap but i'm trying to add GO and G1 Feedrates ...I would like those to be in their own DRO's where when I push New teach file it grabs theme out of there writes them to teach.tap and Loads the file.
I have my G0 and G1 buttons where they are writing to the file and loading but every time it loads it starts back at the top. Id like to have the code in there where every time I hit those buttons it would get the current line and set the next like +1.
So Technically my goal is to everytime you teach a point is always on the very last line and then i'm wanting to add forward and backwards buttons where you could step though the taught program to verify.
Sorry to be a pain but as it turns out Lua is much more complex than the old Mach 3. I have all this in mach 3 but I know it's not nearly as expandable as Mach 4 is. Thanks for all the help it is greatly appreciated!!!
I have my G0 and G1 buttons where they are writing to the file and loading but every time it loads it starts back at the top. Id like to have the code in there where every time I hit those buttons it would get the current line and set the next like +1.
So Technically my goal is to everytime you teach a point is always on the very last line and then i'm wanting to add forward and backwards buttons where you could step though the taught program to verify.
Sorry to be a pain but as it turns out Lua is much more complex than the old Mach 3. I have all this in mach 3 but I know it's not nearly as expandable as Mach 4 is. Thanks for all the help it is greatly appreciated!!!