Hello Guest it is April 26, 2024, 02:26:38 PM

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.


Messages - GlennDanzig

Pages: 1
1
Hello TP,

ok.ok.ok.ok....... understand that and keep your words in mind! Thanks!
Two last questions before i read the whole mentoined documentation;-)
1. Even in the Mach3_V3.x_Macro_Prog_Ref.pdf is no reference to the function, how to get the active, processed line from the gcode -->Field "Line" in 1024.set -->how can i read values from it?
2. You said "Mach is not a realtime motion controller" - what does that exactly mean? If i break the processing of the gcode at the end of the e.g. line6 - via macropump(10 times per second, right?) - then process is stopped, right? Or is the process further than i think, because of the buffer etc.? -->will it be better to run in singlestep-mode? Is there a possbility to check via macropump, that gcode-execution is in singlestep-mode and one step is over? Is there a dro that i can use for that? And what will it be?

Thanks in advance
Glenn




2
Hello TP,

first of all - thanks for your answer! But i´ve some further question - can you please help me with that?

1. Manual - ok, what document exactly did you mean? Do you have a link?
2. How can i access(read) the element "Line" in the 1024.set- Screen? It shows the actual gcodeline, but when i open it with the screendesigner, it shows nothing how to access this element (oem: 0, ScanCode:0) only the button "Current G-Codeline" is active -->but how to access that without any ID? Via internal Mach3-functions? But how are their names?
3. What are the differences between elements with oemnumbers and scancodes?
4. Why can´t i break after every gcode-line easily? Via macropump? I think there must be an event or something like that, when a codeline is ended or a new line begins, or not? Or how recognises the above mentioned "Currentline"-Element the lineswitches? Then i can manually stop that gcode from further processing and can execute my code(macro or sub), wait for an answer or signal or something like that, end my sub/macro and start the original gcode-execution - or is there something missing. Isn´t is possible to start an interrupted gcode from the last position?
5. how exactly is a macro called from within the macropump? I think you are right to do it with subs, but it can be interesting generally.
6. General Purpose Controller - no i think Mach3 can do it!
7. do you know a free cam-software(which you prefer), which can be used to extend gcode with some extra lines(After every line, there must be inserted a extra Gcodeline(Axismovment)). I don´t want to write my own VB/C#-Programm to add these lines in a second process. This is my second approach to solve my problems:-)

Thanks in advance!
Glenn

3
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

4
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