Hello Guest it is March 28, 2024, 04:18:18 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 - Fleck

Pages: « 1 2 3 4 »
11
General Mach Discussion / G92 for a drifting offset?
« on: October 05, 2013, 04:02:55 AM »
 I am working on a macro in which I can measure my part, input the measurement into a X and Z user defined variable screen box and have the offsets calculated relative G54-59. Right now the "off offset amount" is applied to a G52 X#X Z#Z. This macro works great the first run, but stays at that offset relative to the original offset and my variables no longer work as planned. I would like the new offset to be 0 relative to Machine 0 every time a part drifts/lost step and the off part measurements are entered into the cpu. This way all the guy working with me has to do is measure the part, input measurements(only if off) and load the lathe. Would a G92 be a good approach. Kind of a drifting/resetting offset.
                                                               Any advice is appreciated
                                                                           Mike

12
VB and the development of wizards / Lathe tool offset macro
« on: September 29, 2013, 03:37:43 PM »
Wondering if anyone has setup a lathe X/Z Macro for lathe cutters using machine zero and an isolated piece of known stock wired to a switch. Maybe on an movable arm or a removable magnet with a repeatable position. Thinking it would need to be manually jogged due to no spring load but could speed things up.

13
Thank you for the information

14
I have noticed that I am loosing position on my Z axis with my gantry router. I have a stepper equipped lathe (different controller) that I have set the feeds/speeds up on by raising the feedrate as high as possible then slowly raising the start/stop and measuring movement until steps are lost at this point using 70% as a workable setting, then doing the same with max feedrate, direction change etc...

Would this "go-no-go" approach work with servos as they are closed loop? If it would what would the proper order of operations be to max out motor to the point of position loss and then back off in Mach3.
                         Thanks,
                              Mike

15
I just did something similar to what you are doing. These videos helped me quite a bit. I inserted a M6 macro to send the tool to a change location and checked "spindle stop wait for cycle start" in gen config. Setup the tool offsets like in the Tormach videos below. I am using the back of my router spindle/collet to index my bits from, I may make some collars for the bits that get buried in the collet. I watched the Mach3 video in "introduction to scripting" for the macro.



http://www.machsupport.com/videos/     
http://www.youtube.com/watch?v=_8apTgMTvjI 
http://www.youtube.com/watch?v=0cM32grBMvo

16
General Mach Discussion / Post mosification for M00 Block Delete
« on: April 23, 2013, 02:19:05 AM »
Hi, I have added a tool change macro in Mach and am trying to block delete the M00's in the code as I am using the "Stop spindle wait for cycle start" in Mach.
 In my BC post  "Use block delete for stop codes (M00)? Y " is what I am  working with.  This is placing the "/" after the block line numbers causing Mach to reject the code.
 Is there something else I need to add to the (M00) in the post text?  
 Here is a bit of the code, Also not sure why but this part of the code is topping my speed out at 200ipm with a watchdog warning, even though cam is set f25. M00 is last line
                                                                            Thanks for any help.
           BEGIN PREDATOR NC HEADER)
(MACH_FILE=HAAS - 3XVMILL.MCH)
(MTOOL T1 S4 D.25 H2. A90. C0. DIAM_OFFSET 1 = .125)
(MTOOL T5 S4 D.25 H5. A118. C0. DIAM_OFFSET 5 = .125)
(MTOOL T2 S1 D.75 H5. A0. C0. DIAM_OFFSET 2 = .375)
(MTOOL T6 S2 D1. H2.65 A0. C.5 DIAM_OFFSET 6 = .5)
(MTOOL T11 S2 D.5 H4. A0. C.25 DIAM_OFFSET 11 = .25)
(SBOX X-.2495 Y-17.1291 Z-1.7503 L13.5 W18. H1.75)
(END PREDATOR NC HEADER)

%
O100
(PROGRAM NUMBER)
(PROGRAM NAME - BACK INSIDE ROUTE BOTTLE.NC)
(POST -  MACH 3 MILL NO ATC)
(DATE - MON. 04/22/2013)
(TIME - 10:06PM)

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

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

/N03 T1 M6
N04 S9167 M03
N05 G00 G90 G54 X7.3511 Y-6.5342
/N06 G43 H1 Z.0997 M08
N07 G81 G98 X7.3511 Y-6.5342 Z-.0803 R.0997 F25.
N08 X5.6493 Y-14.4987
N09 G80
N10 G80
N11 M09
N12 M05
/N13 G53 Z0.
/N14 G53 X0. Y0.
N15/M00

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

N16 T5 M6
N17 S1191 M03
N18 G00 G90 G54 X7.3511 Y-6.5342
N19 G43 H5 Z.0997
N20 G81 G98 X7.3511 Y-6.5342 Z-.2503 R.0997 F25.
N21 X5.6493 Y-14.4987
N22 G80
N23 G80
N24 M05
/N25 G53 Z0.
/N26 G53 X0. Y0.
N27/M00
                  

  
  

 

17
 OK thanks.

18
Yes, sorry. The block line numbers like  ;NO3 T1 M6 . Actually it is the semicolon in front of the block line numbers that is causing the issue. I am using .066
         Thanks

19
General Mach Discussion / M6 Macro working when I romove gcode line #s
« on: April 21, 2013, 08:48:14 PM »
Hi is there some text I can insert into my tool-change macro to account for the line #s my CAM has in its code. My tool change works if I delete them.
 Thanks

20
Thanks very much. I was looking at that page yesterday. After further reading, I believe it is pins 18-25 that run to ground and not 14-21. I must have counting the p.port backwards. Great page by the way. I have been using feeler stock and pressing cycle start for about 3 years now. Time to evolve.

Pages: « 1 2 3 4 »