Hello Guest it is April 23, 2024, 01:19:06 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 - mattyc

Pages: 1
1
Mach4 General Discussion / Re: Program Just Stops - No errors - Help
« on: August 29, 2020, 07:01:01 AM »
Thanks to everyone for their replies. I've been away with work recently so haven't had a chance to troubleshoot, until today...

I found the solution! It was all my fault.

I had installed an encoder for spindle speed and single point threading; when I had the problem, the encoder was disconnected for various reasons. This resulted in Mach 4 not recognizing the spindle was moving and then not feeding because it was in feed per rev mode.   

I deactivated the spindle encoder in the configuration and it all works again, yay. I also checked that it works with the encoder installed. It does, my encoder is just having some issues at the moment so I have removed it until I get to fixing it.

Thanks everyone for their suggestions.

2
Mach4 General Discussion / Program Just Stops - No errors - Help
« on: August 08, 2020, 12:13:43 AM »
G'day All,

I've recently rebuilt my CNC lathe and is exhibiting some strange behaviour. I'm using the mach motion canned cycles (I've used them before, they all work [except threading, but thats a different problem], and there have been no software updates or changes since the rebuild).

The code generates is accepted and the tool path is displayed. On pressing cycle start it prompts me for a tool change, starts the spindle, rapids over to the start point and then.... stops. The spindle keeps running, there are no error messages, it just sits there. Literally doing nothing.

The first ~20 lines of code are here, it all looks good to me:

N0 (Machine type - MachMotion Lathe Canned Cycles)
N5 (Filename: C:\Mach4Hobby\GcodeFiles\Drill Boss.tap)
N10 (Generated on 8/8/2020 at 1:48:40 PM)
N15 G00 G40 G54 G64 G80 G90.1 G99 G18 G21 (Safe Start Block)
N20 %


N25 %
N30 (Starting Gcode for Facing Cycle: FaceCycle-0)
N35 ([Xi, Zi] = [18.5, 0.0]; [Xf, Zf] = [-0.5, -0.5]; Z- Direction; OD)
N40 G50 S2750 (Spindle Speed Cap)
N45 (Roughing)
N50 G00 G40 G54 G64 G80 G90.1 G99 G18 G21 (Safe Start Block)
N55 %


N60 %
N65 T0101 (Tool Change)
N70 G99 (Feed per Revolution)
N75 G96 S80 (Constant Surface Speed)
N80 M04 (Spindle Reverse)
N85 M09
N90 G00 X18.7000 Z0.1000  (Rapid move to Clearance Height)     <--------------------------it completes this line here
N95 G01 Z-0.3000 F0.1000  (Cut in on Z-Axis)     <----- it stops on this line here. it recognises the distance to go but doesn't move
N100 G01 X-0.5000 F0.1000  (Cut in on X-Axis)
N105 G01 X-0.5000 Z0.0000 F0.1000  (Spring Pass)
N110 G00 X-0.3000 Z0.1000  (Pull out to Retreat)
N115 G00 X18.7000  (Pull out to Clearance)

I've attached a screenshot (literally a photo of my screen as I didn't want to give the computer reason to do anything stupid by opening the snipping tool while it was all enabled and working). The only difference is I tried running it again so it didn't pause for the tool change because the tool was already loaded.

Your help would be greatly appreciated. I want to make these parts...

3
Mach4 General Discussion / Re: Toggle Button not clickable
« on: July 16, 2020, 04:28:23 PM »
Thank you very much! You are a legend!

I feel like a complete idiot that I didn't delete the button and try it again, but that is all it took. So much wasted effort reading the screen building guide and playing with properties etc.

I've tried it on both my normal computer and my lathe controller and they both work.

Again, thankyou very much.

4
Mach4 General Discussion / Re: Toggle Button not clickable
« on: July 15, 2020, 04:54:06 PM »
I have attached the properties and events tab for the button. I'm not sure what script you're after? Am I meant to have written a script to accompany the button?

You help is much appreciated.

5
Mach4 General Discussion / Re: Toggle Button not clickable
« on: July 14, 2020, 04:34:11 PM »
I think I need to further clarify my previous post. The enabled property for the button is selected, and has been the whole time. It still does not work.

This is quite frustrating.

6
Mach4 General Discussion / Re: Toggle Button not clickable
« on: July 13, 2020, 04:36:52 PM »
Thanks for the reply. Google Translate is excellent.
The button is enabled. It has all of the same settings that the reset button does which works all the time.

I have also clean installed mach4 on my main computer to see if it was a problem with the install instance. The problem occurs on both computers.

7
Mach4 General Discussion / Toggle Button not clickable
« on: July 12, 2020, 07:23:17 AM »
Hello, I have modified the standard lathe screen with a toggle button to the right of the g-code box. When I made this button with the screen editor and then closed the editor it worked without fail. When I re-loaded mach4 I was unable to click on the button, it was not greyed out, it just wouldn't let me click.

When I open and closed the editor again the button worked. This is a continual pattern of behaviour, as I open Mach4 the button doesn't work, if I open and close the screen editor it then works.

Does anyone know what would cause this behaviour and how to fix it?

Pages: 1