Corpus 6.3 pro
Hi
I’m trying to make a makro that includes 4 makro, please tell me where I’m going wrong?
Thanks!
[VARIJABLE]
[MAKRO1]
J=0
RT=0
NAME=Makro/test1
MB=1
MA=1
INDEX=1
[MAKRO2]
J=0
RT=0
NAME=Makro/test2
MB=1
MA=1
INDEX=1
You didn’t write what the problem is.
What’s going on? Why do you think the macro is broken?
So, quickly, I would say that you may have specified the path for the macro incorrectly. It seems to me that the root path is “Macro” so you shouldn’t type it. Unless you have a new folder “Macro” that you added to the existing root folder “Macro”.
I’m not sure I understand why you need to do a macro within a macro. In one macro you can drill hundreds of different holes on different sides of the board.
The problem with a macro within a macro is that it’s impossible to debug external macros.
This makes it hard to know if external macros are even working.
Typically, a macro within a macro is used when you need to repeat a macro multiple times, and you don’t know in advance how many repetitions there will be. I don’t think that’s the case with you.
my.post procesor KDT doesn’t work well when I have holes on both faces elements because doesn’t reconize both milling tool name..bottom tool I use with name 2 and top tool have name 1 ..so I have improvise..create 4 makro for each faces 2345 and tell each face what tool name to use..for example for bottom I have creat macro pila with connect 3 and tool name 2 and for top I have create another macro with connect 2 and toll name 1..because ..I want reduce time to load a single macro instead 4 macros for each face ..i hope you understand me..thanks
Test the macros individually, one by one.
When you are sure that they all work, only then call them from the main macro.
Do not write “Macro” in the path because that is the default folder that is implied by itself.
my main folder is Makro with K and it’s works like this ..I press M and I load the macros I tested before but so far doesn’t work ..I’m sure I’m missing something or Pila” macros doesn’t work ..by the way I found a solution ..I create variable for each tool name connect 23 and I make a formula on PMT.. seems it’s working but I need more test ..thanks apreciate your help
I have another question..what [ERPCODEx] does ?
I use the post processor from KDT and I have a lot of problems with it when I have holes on both sides of the element and then the grove made with the milling tool will always be on the top surface, that is, z+, CNC KDT drills and cuts on both sides of the element z+ and z- then I am forced to make a macro for the 2345 separately and load them on the rear element … I am trying to make 4 macros in a single macro
milling tool z+ has the name “1” and will have to make a grove on side 3 and milling tool z- has the name “2” and will have to make a grove on side 2 ..I want to mention that the macro will be loaded in the back element