Hello Guest it is April 26, 2024, 03:33:03 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 - Piper2010

Pages: 1
1
Having got on top of subroutine syntax ( for the moment anyway ! ) I am still trying to produce a chequer plate pattern using nested subroutines to repeat a small block many times to produce the size of chequer plate that I need.

# parameters look like an answer to a maiden ( programmer's prayer ) but Mach3 just skips through the main program without doing anything.

Can anyone spot what I am doing wrong?  My first efforts are attached, I have taken line numberhe parameter setting lines in case that was causing problems.  The subroutines cutting the chequer plate square O4321 and O1234 work OK if I get rid of all the offset shifting sub routines O444 and O555 and hard code a few moves.

Regards,

Andrew

2
G-Code, CAD, and CAM discussions / Subroutine calls not working
« on: May 10, 2012, 04:57:56 PM »
I am still at an early stage with G Code programming.  I am trying to use a subroutine to machine a chequerplate pattern and using G52 to shift the origin for repeating the pattern.

I have looked at several posts with similar problems but I can't see why my program just runs through the main code part without calling the subroutine.  What does the percent sign do?  Someone seemed to solve a problem by putting one at the end after the M99 but it doesn't make any difference to my program.

My syntax seems the same as the Mach3 manual.  What am I doing wrong?

File is attached.

Andrew

3
FAQs / Work offsetting difficulties using Offset screen and edge finder
« on: November 16, 2011, 05:41:45 PM »
I have a Sieg mill and Mach 3 running Ok but when I go to the Offset screen the documentation talks about the touch buttons and doesn't mention the select buttons.  If I try and set G54 with an edge finder and enter the diameter of the edge finder, save the settings, then jog the axes away from the current positions then press goto zero on the program run screen the tool zeros to my required work offset origin but it has not allowed for the edge finder diameter.  What am I doing wrong? :(   

Pages: 1