Hello Guest it is March 29, 2024, 11:40:41 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - GlennDanzig

Pages: 1
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

2
Hello everybody,

iam a newbie to Mach3 and had a question.
First of all: How does i call my own subroutine/macro during gcode-execution? I found that macro-directory, but how to name them and call them? Is there an instruction for that?
Second: We got a fixed gcode(mainly G0 commands) and want to execute on every lineend my own code - without first generating a new gcode. How can i make that? With macropump or something like that? Or is it possible to execute my own code on every gcode-line and pass the Gcode-command to my macro and analyse it and than run my own commands?

Thanks in advance - Glenn! Sorry for my english!

Pages: 1