Hello Guest it is April 23, 2024, 10:55:37 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.


Topics - mattyc

Pages: 1
1
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...

2
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