Hello Guest it is December 05, 2021, 03:34:39 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 - mgamber

Pages: « 1 2 3
21
General Mach Discussion / Macro programming questions
« on: December 09, 2013, 06:21:14 PM »
I need to write a G-code program that calls certain other g-code programs in a specific order.

Say I have;
1.tap
2.tap
3.tap

If opened individually these files make a single part.

Then I want a "job" file that calls these like so;

Load 1.tap and run
Load 3.tap and run
Load 1.tap and run
Load 1.tap and run
Load 2.tap and run

Each tap file cannot know of the existence of each other, only the "job" file knows who to run next.

Is this possible?

Best guess so far is to create a macro, call it m999
Function Param1 () as String ' gets P word
StrutFile = "C:\" + Param1 + ".tap"
LoadRun (StrutFile)

The job file;
M999 P1
M999 P3
M999 P1
M999 P1
M999 P2


What am I missing? How does the macro return to original code running? Or once a new file is loaded is that it?

22
General Mach Discussion / 9 axis controller? Mach4 questions as well.
« on: October 15, 2013, 03:51:41 PM »
I may be building a custom machine in the near future.

One of my requirements is to use standard G-code to run it. It will have multiple spindles and multiple axis control.
Up to 6 axis is easy as I can simply call X, Y, Z, A, B, C and do what ever I want even using Mach3 to do so (Right?).
However I would like more axis control if needed. I have seen G-code references that add U, V, W.
Are these part of the standard G-code world?
Will Mach4 be able to read these and move up to 9 axis?
I see somewhere in the Mach4 page it states up to 6 separate coordinate systems. So does that mean 6*6 (36) axis? if so how do I address this via the code I send it?

23
Competitions / Re: ******Guess and win a G100 Grex******
« on: May 17, 2007, 03:36:26 PM »
2,800,000

24
General Mach Discussion / Post Processor for Pro/Engineer?
« on: October 28, 2005, 01:58:39 PM »

Does anyone know if there is post processor out there for Pro/Engineer (Pro/NC, nc post)? Or if not, which one of the included ones should I use?

Pages: « 1 2 3