Hello Guest it is April 19, 2024, 04:29:53 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.


Messages - birdbrain

Pages: « 1 2 3 4 5 »
21
That sounds interesting Ray. I'll give it a try, thanks.

22
I have a part program that rotates the a axis about 10 times during one cut. I would like to reset the a axis DRO to zero after this cut without stopping the program. I takes too long to drive the axis back to zero as it is a very slow axis.

23
General Mach Discussion / Re: error "too many nests Mach4"
« on: July 26, 2008, 08:52:31 AM »
I think the nest depth is 3.

Graham


Thanks Graham.
Would that refer to subprogram levels or to parameters??

24
General Mach Discussion / error "too many nests Mach4"
« on: July 26, 2008, 06:28:13 AM »
Can anyone explain the error popup that says "too many nests Mach4"???
I am using Mach3.
Is there a limit to the nesting levels in a program?
What is this limit?
Does this limit apply to parameters or to subprograms (or to both)?
I am nesting maybe 4 deep with common calculations as parameters.
My sub programs are also nested up to 4 deep.
Nesting common blocks of code reduces input errors and makes the program much shorter.

25
In the Mach3 directory tree there is a folder called "subroutines".
If I store subroutine files in this folder how can I use the subprograms that they contain in my other programs???
This would be very useful to know as I have a number of standard subroutines that I use in various program files.

26
General Mach Discussion / Re: Cannot get Mach 3 to run sub progams
« on: July 25, 2008, 03:51:39 PM »
Try posting your sub-routine in the "Subroutines" folder. I cannot quite remember how it works, I will have to think about it some more, but if you post the subroutine there, you can then call it from the main program. The only problem is, I can't remember how to call it. I will go have a look on my workshop machine, there are none on this machne.
This would be really useful if I knew how to do it. At the moment I have a common set of working parameters and calculated variables that I use in a number of part program files. It would be great if I could store these in a special file and refer to it from all the other files. This should be very easy to do, anyone know how to do it ???

27
General Mach Discussion / Re: Cannot get Mach 3 to run sub progams
« on: July 21, 2008, 06:13:30 AM »
Thanks for the tip Dave.

I have now found that there is a simple Linux command line program that works a treat. It is "unix2dos". Very easy to use, works every time.  :)
This program is part of modern Linux distros and is probably already installed on most Linux computers.
This might help other folk who edit with Linux computers.

28
General Mach Discussion / Re: Cannot get Mach 3 to run sub progams
« on: July 13, 2008, 11:38:56 AM »
Oops... :-[
Title of this thread should have been "Cannot get Mach 3 to run sub progam (unless I write the sub program file on a Windows computer)"

I don't use Windows for anything except Mach3. For all other computing I use Red Hat Linux (Fedora). Sooo  I wrote the program file, including the sub, on my usual computer rather than the Windows one in the workshop. Odd thing is that the main part of a program will run but not the sub part  ???

It's only the fact that Mach3 is such a superb piece of software that I allow the abominable Windows OS in my workshop at all. As I have no plan to edit with Windows software, I just need to figure out which hidden characters Linux uses that Mach3 doesn't like. Then I can set my text editor to not insert them. Must be something to do with the: line end - carriage return. I think Windows does something weird at this point that Mach3, as a Windows program, expects to find.

29
General Mach Discussion / Cannot get Mach 3 to run sub progams
« on: July 13, 2008, 11:15:39 AM »
Hope someone can help. I've been trying for days to get Mach3 to run a sub-program, without success. I've searched the forum but found no answer that works. I used to be able to run subs until a few days ago.
Here is an example of a simple sub that Mach3 won't run:

G00 G90 G17
X120 Y0 Z0
M98 P1001 L2
M30

O1001
G01 G91 X-1
G90 Y5
Y0
M99
%

Please could someone tell me what I'm doing wrong... :'(

Pages: « 1 2 3 4 5 »