Hello Guest it is April 24, 2024, 11:06:52 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 - DMF

Pages: « 1 2
11
It appears you are still entering the subroute call mulitple times into the main gcode program. I've included some of my gcode so you can see where I'm at. I've also included the subroutine.

A portion of the gcode (I started with a canned drill cycle to give me a way to select the holes).
The goal is to enter a code one time near the beginning of the gcode similar to how a G81 would appear to get the subroutine to be called for each set of XY.

N01 G20 G40 G49 G54 G80 G90 G91.1
;N02 G53 Z0.

(JOB 1  HOLE  RANDOM POINT PATTERN)
(FEATURE DRILL HOLE)

N21 T2 M6   (Tool 2, Tool Change)
N22 S1802 M03  (Spindle speed, rotate spindle)
N23 G00 G90 G54 X-31.5849 Y8.3424  A-10 (Rapid positioning, Absolute Positioning, Work Piece Coord Sys, Rotate A -10 degrees);N24 G43 H2 Z.1   (Tool Length comp,  ,Coolant On)
N24 G0 X-31.5849 Y8.3424   (Go to first hole)
N25 M98 (hole10done.tap)
N26 G0 X-28.1169 Y7.0991
N27 M98 (hole10done.tap)
N28 G0 X-27.5498 Y11.8541
N29 M98 (hole10done.tap)
N30 G0 X-22.7075 Y8.8004
N31 M98 (hole10done.tap)
N32 G0 X-20.8535 Y13.6426
N33 M98 (hole10done.tap)

The subroutine...
G0 Z.2
G01 Z.1
G91
G1 X.07052 Z-.35
G1 X-.07052 Z.35
G90
G1 Z.2 F30
 
M99

DMF

12
I am trying to drill a series of holes using a movement of X and Z together to get a hole that is other than 90 degrees from the XY plane. I have selected the holes and have added a subroutine (M98) after each hole's XY coordinate in the gcode. This drills the holes as needed. The XY location of the holes will change and I do not want to edit all these lines of gcode each time the XY of a group of holes changes. How do I get my subroutine to function like the canned drill cycles G81-G89 where the gcode of G81 appears only once ahead of the list of XY locations of the holes to be drilled?
Can I create a 'G81-G89' gcode that I can select from within BobCad or Mach3?
If the answers are in the forum somewhere please direct me to them.
DMF

13
I want to rotate the router and then drill a hole moving the x and z together using the tangent function. I think I need to have a G18 first to set the active plane to XZ. What is the G code and format to move the X and Z together for this?

14
FAQs / Re: Joystick
« on: January 11, 2012, 08:51:33 PM »
I'm looking for a Plug-in for a joystick GF G60502A 3 axis 6 button unit. Neither of the items in the list of Plug-ins worked. The basic one by Art Fenerty works for the X & Y but is only a two axis, no button app.
David

15
FAQs / Re: Jog ok, g code steppers just screech
« on: March 28, 2011, 02:49:09 PM »
I was jogging at 100%, reducing the velocity fixed the issue. Thank you. :)

16
FAQs / Jog ok, g code steppers just screech
« on: March 28, 2011, 09:48:43 AM »
I set the steps per to 2000, feed rate at 12. Jog either with mouse or keyboard is ok. When I try MDI and g code the x and/or steppers just screech. It sounds like their trying to run too fast. What did I miss?

17
General Mach Discussion / advice please
« on: February 11, 2011, 05:49:16 PM »
I have an old CNC router with an 18"x18" table, running with DanCad on a Windows 98 machine. I am thinking of updating the computer. What do I need besides an new computer (netbook for portability and other uses), a docking station to provide a parrallel port (this is the interface in use today), and Mach3? I am also looking at buying TurboCad or ViaCad to do the drawings and building the .dxf files.

Pages: « 1 2