1
VB and the development of wizards / Executing Macros during GCode-Runtime
« on: December 14, 2010, 11:02:52 AM »
Hello Everybody,
iam new to Mach3 and i´ve some simple questions, ok?
1. Is a complete overview or something like that available for the visual elements of the mach3 screens? Or what is the trick to adress(read and write values) fields which are not available via OEM-Code?
2. I need the possibility to execute a macro on every line (or even better a predefined string in a Codeline) of a GCODE(Because we do not want to manipulate the Code before adding it to Mach3). How will i do that? My Idea is to analyse the execution of the gcode via the macropump script. IF GCODE-Line >X the execute my macro. How can i call a seperate macro through the macropump or must be the whole within the macropump-script?
- How will i best do some certain tasks like moving on the Zaxis ->mechanical press action(is this the right term, don´t know it in english)? ---- via "executing new Gcode-Commands" - if so, how will i do that? Can i use the mdi for that? Or is it better to create my own button and press this via macro/macropump?
- How will i do a "break" after each step of the gcode, before executing my task/code? First press Stop-Button, then execute my code, wait for response of machine and the press start button?
- Is it to dangerous to execute external macros via macropump?
- What are the alternatives?
..... iam confused......
Thanks for your help!
Glenn
iam new to Mach3 and i´ve some simple questions, ok?
1. Is a complete overview or something like that available for the visual elements of the mach3 screens? Or what is the trick to adress(read and write values) fields which are not available via OEM-Code?
2. I need the possibility to execute a macro on every line (or even better a predefined string in a Codeline) of a GCODE(Because we do not want to manipulate the Code before adding it to Mach3). How will i do that? My Idea is to analyse the execution of the gcode via the macropump script. IF GCODE-Line >X the execute my macro. How can i call a seperate macro through the macropump or must be the whole within the macropump-script?
- How will i best do some certain tasks like moving on the Zaxis ->mechanical press action(is this the right term, don´t know it in english)? ---- via "executing new Gcode-Commands" - if so, how will i do that? Can i use the mdi for that? Or is it better to create my own button and press this via macro/macropump?
- How will i do a "break" after each step of the gcode, before executing my task/code? First press Stop-Button, then execute my code, wait for response of machine and the press start button?
- Is it to dangerous to execute external macros via macropump?
- What are the alternatives?
..... iam confused......
Thanks for your help!
Glenn