Hello Guest it is May 21, 2024, 12:21:15 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 - Ewalk02

Pages: 1
1
I have hybrid stepper motors on my plasma table and I would like the alarm function to trigger a feed hold in Mach 4.  I have tried numerous different times to write the code myself (more like copying others code) but I can't get it to work.  Right now I have the code where it reads the pin when the state changes and it sends an error message but I can't get it to trigger a feed hold no matter what I try.  Any help would be appreciated.

Code so far:

[mc.ISIG_INPUT0] = function (state)       -- X Axis
        mc.mcCntlSetLastError(inst, "X Axis driver ALARM - STOPPING")
    end,

Thanks!

2
Mach4 General Discussion / Mach 4 Stalling Out
« on: February 02, 2018, 08:40:32 AM »
I'm having an issue with my mill and I'm not sure if it's due to Mach 4 or something else.  When I try to machine large gcode files (>20,000 lines) my mill will suddenly and randomly stop.  I don't get any errors in the history but all the axes are disabled and I have to restart Mach 4 in order to enable them again.  It's like the program fills up its memory and then says I quit.  It's done this a few times now and it's becoming a problem.

I'm running Mach 4 on a Windows XP machine with 8 gigs of RAM using an ethernet smooth stepper board.  Using Fusion 360 for CAM.  Any help would be greatly appreciated.

3
General Mach Discussion / Lua Basics Tutorial
« on: November 03, 2017, 08:11:35 AM »
Is there a Lua Scripting 101 for Dummies out there?  I've done plenty of coding but never in Lua so I'd like to see some sort of language reference list or something.  Ultimately I'm trying to figure out how to use generic inputs and I would like to make it where if my spindle is running flood coolant is always on.  Thanks! 

4
I'm new to Mach 4 so I'm looking for a little help on the scripting side.  I would like to set up my mill so that anytime I turn on my spindle the coolant automatically turns on.  Any help would be appreciated.

Pages: 1