Hello Guest it is March 28, 2024, 10:42:40 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 - jwhalin

Pages: 1 2 »
1
Mach3 and G-Rex / Re: Index and timing in M3-Turn
« on: November 15, 2019, 07:21:17 PM »
Thanks for the response, My plan was/is to use "Hall Effect" sensors.

I'm not sure how to make one trigger for a longer period. This is why I was going to use two sensors. 

Maybe I only need the index, I assume it will also provide RPM to Mach3 as well.

2
Mach3 and G-Rex / Index and timing in M3-Turn
« on: November 15, 2019, 04:01:32 PM »
Will Mach-3 work using both the “index” and “timing” inputs set to different input ports?

I would like to use the INDEX for starting the threading operation in M3Turn and the TIMING for smother RPM control.

The timing input would have 8 or more “triggers” on one spindle diameter while the “index” would have only one trigger on a different spindle diameter.

Is there a better way???   Thanks.

3
Is there any tutorial or users guide for this application? I downloaded it and it installs, but I'm not sure how to implement it.
1) generate the g-code from the WRITE wizard.
2) zero the Y axis on the rotary axis center line.
3) load the Mach3 Cylindrical Mapping program and input the variables
4) reload the 1024.set
5) Set the starting Z & X positions
6) Load and RUN the WRITE g-code.

am I on the right track???

4
I do not have an ATC or dedicated tool holders, so I must reset "Z" every time I change tools. I do this using the MDI and a single-side PCB connected to the PROBE input. Works great, but is very repetitious.
Is there a way to put an MDI script behind a Button (like the “GO TO” which I have never used)
A few simple lines would do: (I don't need the comments)

(Move Z above the top surface and hold the PCB in place – press GO TO)
G92 Z0.0       ;reset Z
G31 Z-0.5 F1   :probe
G92 Z0.059    ; re-ZERO to PCB thickness
G0 Z1.0      ;clear Z
M2

This would be fast, and also prevent typos causing problems. I would not have to switch screens to get to the MDI and then back to continue the program.
I think it would work with the main GCODE program running at a M1 or Tool change line. (it does when I do it manually)

Thanks,
Jeff

5
Hi, and thanks to both of you.
 I like the idea of having a permanent counter on the main display, my problem is that I have no clue how to add the DRO. 
 I'm sure that there is plenty tutorials to lead me "hopefully" down the right path. 
BW Jeff

6
When I do a M98 P1234 Lxx it would be good to know how many cycles the sub has done. I add a line like:

#10 = [[#10] + [1]]
M99

to the O1234 sub and set #10 = 0 before the M98 call.

I can go into the OPERATOR tab and read the value of #10 and it updates with each sub call, but it would be neat to have that value in the status line just like static comments.

I hope this give you an idea of why and how I would use this feature.

THANKS for looking and responding!

7
Does anyone know if (and how) to have the value of a variable ( like [#101] ) be displayed and updated on the status line in Mach3?

8
Share Your GCode / Re: Multi pass facing program
« on: April 03, 2012, 08:43:35 PM »
My apologies, I could learn a lot from you.......   I usually just blunder my way through till it works....   

9
Share Your GCode / Re: Multi pass facing program
« on: April 03, 2012, 06:50:54 PM »
Thanks, with some simple revision it works great for face milling too. The point was to show how to not have to do any calculations. BTW you can "nest" m98/m99 code to do X-Y and Z.

10
Share Your GCode / Re: Multi pass facing program
« on: April 03, 2012, 01:10:43 PM »
Hi, here is the code I use. It calculates how many loops are necessary before a final pass at a finish feed rate.  This is just the cutting part of the code, you can add to it as you like... Enjoy

; Turn OD   4-1-12

; running in DIAMETER mode.

;Set Z to ZERO at face of part

T101 ;facing tool number
;
#10 = .500 ; starting OD
#20 = .375 ; finish OD
#30 = .003 ; Cut depth per pass
#40 = .750 ; LENGTH OF OD CUT FROM ZERO
;
#60 = 3 ; rough feed
#70 = 1 ; finish feed
;
;Calculations
#50 = [#40 * -1] ; length of turning from ZERO (negative towards headstock)
#90 = FIX[[#10 - #20] / [#30]] ; number of FULL loops for P001
;
;
G0 X[#10 + .5]
G0 Z0.050
G0 X [#10]
#100 = [#10]
F[#60]
;
M98 P001 L[#90]
#100 = [#20]
F[#70]
;
M98 P002
G0 X[#10 + .5]
G0 Z2.0
M30
;
O001
G0 X [#100]
G1 Z [#50]
G1 X [#100 + .020] Z [#50 + .010]
G0 Z .050
#100 = [#100 - #30]
M99

O002
G0 X [#100]
G1 Z [#50]
G1 X [#10 + .02]
M99


Pages: 1 2 »