Hello Guest it is April 19, 2024, 10:28:26 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 - rhtuttle

101
Mach4 General Discussion / Re: Probe 2 setup, Pokeys57cnc
« on: February 15, 2021, 02:51:55 PM »
not really sure how you are setup don't see the pokeys57cnc

But i have the probe wired to input pin 19 on the pokeys board, also some of the older boards needed a resistor 1k or so.
its been a while so don't remember if it was a pullup or pulldown resistor..



I have rev 1.5 so in theory its not supposed to need one.  I too have pin 19 going to probe for my edge/surface probe and that works fine.

102
Mach4 Toolbox / Re: M6 Tool change for the rest of us.
« on: February 15, 2021, 02:47:27 PM »
When I put this code in my m6.mcs and type m6 in MDI, half of the screen buttons gray momentarily, and then nothing happens.  I assume there is a Lua error.


Why does Mach4 not tell us what the error is?

Does anybody know a good fix?

This code will run in script editor when I click the double arrows.

The 2 occurances of M6 need to be changed to m6.  Mach4 strips m codes to lowercase and then looks for scrips and functions using the same case.

103
Mach4 General Discussion / Probe 2 setup, Pokeys57cnc
« on: February 14, 2021, 02:15:52 PM »
Usual disclaimer...I'm electronically challenged.

Using Mach4 and Pokeys57cnc on a G0704 converted mill, manual tool change.  I have a probe that is working for probing material and now want to add a tool height touch off.

Attached are photos of the electronics and PoKeys and Mach4 settings.  You can see the ribbon connections and the red line.  I think those are oriented correctly.  The blue wires are attached to pins 17 and 6 on the db25 connector and I get a full 5 volts through.  Can anyone tell me why I cannot get the Pokeys or Mach to read a change when contact is made with the wire ends?

Any help is greatly appreciated.

RT

104
Mach4 General Discussion / Re: code conversion Mach 3 to Mach 4
« on: February 09, 2021, 10:40:55 AM »
G90 is the culprit.  Since M4 has gone to Fanuc style gcode lathes do not have absolute /incremental 90/91, instead use xyz for absolute and uvw for incremental.
Also UC100 Mach4 plugin has not been fully tested on a lathe and they have said not to expect it to.  Had one and dumped it after they told me that.

THT

RT

105
Mach4 General Discussion / Re: How to make a tapered thread with Mach4?
« on: February 08, 2021, 10:09:50 AM »
Load the example and run it.Fanuc G76 Threading Cycle Explanation
N5 G76 P010060 Q100 R0.05
N6 G76 X30 Z-20 P1024 Q200 F2
First block of the G76 Threading cycle
G76 : G code for threading cycle.

P : P actually consists of multiple values which control the thread behavior,

01 : Number of spring passes or spring cuts.
00 : Thread run out at 45 degree
60 : Flank angle or Infeed angle
Q : Depth of normal cut ( these values are given in hundreds, so the depth of cut will be 0.1 ).
R : Depth of Last or Finish cut

Second block of the G76 Threading cycle
G76 : G code of the threading cycle.
X : The end value in x-axis.
Z : The end value in z-axis.
P : Thread depth ( as radius value ).
Q : Depth of first cut.
F : Thread Pitch
R : Thread Taper




106
Mach4 General Discussion / Re: How to make a tapered thread with Mach4?
« on: February 07, 2021, 01:59:42 PM »
Have you tried the threading in the turn cycles?  I just did and it gave me the code. 12 tpi, .050 thread depth, 7 degree angle, from z0 to -.5 , xi0.5

N0 (Machine type - MachMotion Lathe Canned Cycles)
N5 (Filename: C:\Mach4Hobby\Wizards\LatheCannedCycles\Cycles\ThreadingCycle-0.tap)
N10 (Generated on 2/7/2021 at 12:58:10 PM)
N15 G00 G40 G54 G64 G80 G90.1 G99 G18 G20 (Safe Start Block)
N20 %


N25 %
N30 G00 G40 G54 G64 G80 G90.1 G99 G18 G20 (Safe Start Block)
N35 %


N40 %
N45 (Starting Gcode for Threading Cycle: ThreadingCycle-0)
N50 G50 S1000 (Spindle Speed Cap)
N55 G00 G40 G54 G64 G80 G90.1 G99 G18 G20 (Safe Start Block)
N60 %


N65 %
N70 T0101 (Tool Change)
N75 G99 (Feed per Revolution)
N80 G97 S700 (Constant Speed)
N85 M03 (Spindle Forward)
N90 M09
N95 G00 X0.7000 Z0.1000  (Rapid move to Clearance Height)
N100 G76 P020030 Q0.01 R0.003 K1
N105 G76 X0.33860771954855 Z-0.5 R0.061392280451452 P0.05 Q0.01 F12.0
N110 G80
N115 (End Gcode for Threading Cycle: ThreadingCycle-0)

N120 %
N125 M09
N130 M05
N135 M30
N140 %
N145 (End Gcode file)
N150 %


107
Mach4 General Discussion / Re: X Box here we come!
« on: February 06, 2021, 03:06:35 PM »
Downloaded and installed 4609 on my lathe computer.  I have a separate screen and profile so not overwritten. pmdx411.
 
Lost all input pin assignments >:(.

xbox incremental only moves positive.
Triggered continuous does as expected.
Lathe X axis incremental moves double the jog distance.

RT

108
Mach4 General Discussion / Re: Status Messages, History
« on: February 06, 2021, 11:16:15 AM »
I tried that early on but wasn't able to get that to work.  I should probably review what I did and see what I did wrong. Or, just use this new feature ;^)

109
Mach4 General Discussion / Re: X Box here we come!
« on: February 06, 2021, 11:12:56 AM »
Two things.  First, sometimes the joystick doesn't fully return to zero when released and the movement continues to creep at an extremely slow rate until you hit the cycle off.
Second, I never use two directions at the same time and would prefer to disable that type of movement.  Joysticks can be pretty fussy about minor off directions.

HTH
RT

110
Mach4 General Discussion / Re: Status Messages, History
« on: February 05, 2021, 11:06:19 AM »
In the words of the late great Lawerance Welk, tank you, tank you, tank you.  (You might be too young to get this)
RT