Hello Guest it is March 27, 2023, 08:09:51 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 - BR549

6271
##### G-Code, CAD, and CAM discussions / Re: G73 parameters
« on: November 04, 2010, 09:12:10 PM »
yOU need to read the entire section on canned cycles to get the whole picture.

In a nutshell.

G98/G99 sets the initial retract level of the canned cycles. G98 = r level as stated in the call, G99 is to the level previous to the call

XYZ are the primary axis   XY are location and Z = depth of the cycle

ABC are secondary axis, normally rotary, using polar movements

F = feedrate of the cycle
R = retract level above the hole
Q = peck or step distance in a pecking drilling cycle
L = # of repeats, normally for incremental use

G80 cancells the canned cycle

SO for a normal G73 cycle

G98
G0 X1.000 Y1.000
G73 X1.000 Y1.000 Z-0.500 R.1 Q.050 F5
X2.000 Y2.000
X3.000 Y3.000 Z-0.750 Q.025
X4.000 Y4.000
G80

Hope that helps, (;-)TP

6272
##### VB and the development of wizards / Re: single axixs wizard
« on: November 04, 2010, 07:41:40 PM »
If you can come up with a Simple drawing of what you  need it to do and how far each phase has to move I am sure we can come up with something to help out.

DO you have to change the movement values from time to time or does it always stay the same?

(;-) TP

6273
##### MACH TOOL BOX / Re: TUBE COPING program
« on: November 04, 2010, 12:23:30 PM »
YOu can use this routine with Plasma, router, mill, laser, etc,etc

6274
##### VB and the development of wizards / Re: need help ! three function on one button
« on: November 04, 2010, 12:16:19 PM »
Bad JUJU to have one button that controls stop and start. Safety 101

Hit it once the machine starts motion, hit it again it stops motion.

That is start / stop

(;-) TP

6275
##### General Mach Discussion / Re: Tube/pipe coping or notching
« on: November 04, 2010, 11:51:41 AM »
OK GUYS, The Tube Coping program has been setup in the MACH TOOL BOX section. There are 2 basic version 1 has a programable front end that asks the right questions and you fill in the blanks. You WILL need to set up the M1222 macro and place it in your macro directory.

The other you change the Gcode variable values before you start. It is setup for X/A motion at the present.

Have fun, (;-) TP

6276
##### MACH TOOL BOX / TUBE COPING program
« on: November 04, 2010, 11:43:48 AM »
Enclosed is an X/A axis Tube/Pipe coping program.  There are 2 code examples included, one is a standard program that you manually modify the variables before start and then begin.

The other has a programable front end macro that ASKs the question and you fill in the blanks. You will need to copy the macro code into a macro and move to YOUR macro directory before it will work.

There is NO Zaxis startup code such as Spindle speed or start or Zhom and plasma start etc. This just provides the motion code for you.

There are 4 variables  that HAVE to be input for correct operation.On the Programable Front End version it is NORMAL on file load to get a divide by ZERO error. That is because the Variable values have NOT been load yet by the macro. JUST say OK and hit rewind to continue. AS sonn as the macro runs and you have filled in the values the screen will reload and you will see the correct cut profile displayed.

#100 = CutTube Diameter
#101 = Uncut Tube Diameter
#103 = Cut Tube wall Thickness
#104 = Joint ANGLE

##### Program Code #####################################################

(CNC A axis Plasma TUBE Coping routine)
(Math derivative by Dan Hopper Copyright 2006)
#100= 1.250       (CutTube Diameter)
#101= 1.250       (Uncut Tube Diameter)
#103= .095         ( Tube Thickness )
#104= 45             (Joint ANGLE)
#200 = [#100 / 2]         (RO)
#201 = [#101 / 2]         (RU)
#202 = [#200 - #103]  (RI)
#203 = #104                (AF)
#204 = 0                       (ID)
#300= 2                        (A step in deg)
G0 G40 G54 G90 G49 G17 G50 G64 G91.1 G94
G0 A0.000 x0.000 Z1.000 F500
Z0.000
M98 P01 L180
G0  A0.000 X0.000 Z1.000
M30
o01
G1  A#300 X  [sqrt [#201 **2 - [ [#202 * sin [#204]] **2]] /  sin[#203] -  tan [90-#203] * #202 * cos[#204]]
#204=[#204+2]
#300=[#300+2]
m99
%

*****Programable Front End VERSION************************

'M1222  Macro to program Tube Coping Gcode Program
SetVar(100, Question (" P1  Cut Tube Diameter ?"))
SetVar(101, Question (" P2  Uncut Tube Diameter ?"))
SetVar(103, Question (" P1  Tube Thickness ?"))
SetVar(104, Question (" P2  Tube JOINT ANGLE ?"))
DoOemButton(160)
end

******************************************************

(CNC A axis Plasma TUBE Coping routine)
(Programable Front End)
(Divide By Zero ERROR is normal on startup)
(Caused By EMPTY variable values at this point)
(Hit REWIND and continue)
(Math derivative by Dan Hopper Copyright 2006)
G0 G40 G54 G90 G49 G17 G50 G64 G91.1 G94
M1222
#200 = [#100 / 2]         (RO)
#201 = [#101 / 2]         (RU)
#202 = [#200 - #103]  (RI)
#203 = #104                (AF)
#204 = 0                       (ID)
#300= 2                        (A step in deg)
(Verify Start Point and Press CYCLE START to Begin)
G0 A0.000 x0.000 Z1.000 F500
Z0.000
M98 P01 L180
G0  A0.000 X0.000 Z1.000
M30
o01
G1  A#300 X  [sqrt [#201 **2 - [ [#202 * sin [#204]] **2]] /  sin[#203] -  tan [90-#203] * #202 * cos[#204]]
#204=[#204+2]
#300=[#300+2]
m99
%

6277
##### VB and the development of wizards / Re: need help ! three function on one button
« on: November 04, 2010, 10:35:41 AM »
I guess someone should remind you of the safety concerns of having GO and Stop run from the SAME button??? surely there is another button on your setup that you could double up instead of start,hold?

(;-)TP

6278
##### General Mach Discussion / Re: Possible, 3 spindles with only one VFD ???
« on: November 02, 2010, 07:00:33 PM »
Having a vfd run 3 of the same type motors one at a time should not be a problem. Where your problem may come is SWITCHING the motors. Most VFDs do NOT like being OPEN circuit on the motor side( CAN CAUSE PHYSICAL DAMAGE).

So you would NEED to use a MAKE BEFORE BREAK switch to switch between motors.That way there is NEVER an open circuit on the motor side. OR size the vfd to run all 3 and only use the one you want letting the others just free run.

NOTICE I said 3 of the SAME type motors so the parameters are the same for all 3.

(;-) TP

6279
##### G-Code, CAD, and CAM discussions / Re: G-code oddities..
« on: November 01, 2010, 06:49:17 PM »
YEP,

Error:    Radius to end of arc differs from radius to start line 2  THE X1 is the part that messes it up.

I knew sooner or later we would get on the same brainwave(;-)

Let me know if I can help.

(;-) TP

6280
##### Share Your GCode / Re: Multi pass facing program
« on: November 01, 2010, 06:25:52 PM »
You are fine(;-) I always encourage people to put a copy of their cool functions in the Mach toolbox. THat way it is easy to find WHEN you need it.

(;-) TP