Hello Guest it is April 28, 2024, 10:28:43 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 - Azalin

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 »
91
Mach4 General Discussion / Mill: General question about limit switches
« on: December 12, 2021, 02:49:25 PM »
I currently have 2 switches on X, 2 switches on Y and 1 switch on Z.

Is it best to have 2 for X and 2 for Y or single for each with soft limit enabled?

92
Mach4 General Discussion / Mach4 Lathe: Reducing the chatter
« on: November 08, 2021, 02:27:58 AM »
Hi,

Is there a way or trick to reduce the chatter when turning large diameter pieces on a lathe? Like what they call Spindle Speed Variation in the video.

https://www.youtube.com/watch?v=7sMtUlyQFA4

93
Mach4 General Discussion / Re: No Script Engine Found for ...
« on: October 15, 2021, 02:56:25 PM »
Enable the mcLua plugin. 

Steve

Thanks a lot for this. It worked for me.

94
I found the solution here https://www.machsupport.com/forum/index.php?topic=30236.10 and it is very odd. If you disable LUA plugin then Mach4 doesn't include or read macro files at startup. Enabling it solved the problem.

95
I don't know why but it just doesn't work. Is there anything to be done other than copying the files?

96
I just need manual tool change so I'll take the M6 for sure but 162 and 163 seems like they are for dual spindle machines. My machine is just a 3 axis milling machine. Do I still need these?

M162   RIGHT SPINDLE WINDING CHANGE HIGH SPEED
M163   RIGHT SPINDLE FORWARD & UPPER COOLANT ON

97
Thanks Bill.

98
Mach4 General Discussion / Empty \Macros folder in newly created profile
« on: October 14, 2021, 03:28:05 PM »
Hi,

I created a new profile and noticed the machine doesn't respond to M6 command because the Macros folder was empty. So my question is if I copy and paste the macro files from the original Mach4Mill\Macros folder into my newly created profiles Macros folder, will them work?

99
Mach4 General Discussion / Re: Cant get MPG smooth incremental jogging
« on: September 27, 2021, 03:59:06 AM »
I tested the predefined keyboard jog functions. mcJogVelocityStart with mcJogSetRate method looks more like what I want.

Code: [Select]
2021-09-27 10:52:16.410 - Logging Enabled.
2021-09-27 10:52:17.214 - Jog Rapid: keydown = true, axis = 0, dir = -1 mckeyboard.cpp:740
2021-09-27 10:52:17.214 - API: mcJogSetRate(inst = 0, axis = 0, percent = 100.0000) (mcKeyboard)
2021-09-27 10:52:17.214 - Attempt transition from "Idle" on event "Jog" axis.cpp:753
2021-09-27 10:52:17.214 - Signal id 1127, (Jog Enabled), changed from HIGH to LOW.
2021-09-27 10:52:17.214 - S_IDLE_on_exit
2021-09-27 10:52:17.214 - Signal id 1172, (Machine Idle), changed from HIGH to LOW.
2021-09-27 10:52:17.214 - ACTION_start_jogging
2021-09-27 10:52:17.214 - S_JOGGING_on_entry
2021-09-27 10:52:17.229 - API: mcJogVelocityStart(inst = 0, axis = 0, dir = -1) = 0 (mcKeyboard)
2021-09-27 10:52:17.284 - Jog Rapid: keydown = false, axis = 0, dir = -1 mckeyboard.cpp:740
2021-09-27 10:52:17.284 - API: mcJogSetRate(inst = 0, axis = 0, percent = 100.0000) (mcKeyboard)
2021-09-27 10:52:17.284 - API: mcJogVelocityStop(inst = 0, axis = 0) = 0 (mcKeyboard)
2021-09-27 10:52:17.352 - Attempt transition from "Jogging" on event "Stop Jog" controller.cpp:1815
2021-09-27 10:52:17.352 - S_JOGGING_on_exit
2021-09-27 10:52:17.352 - S_FILE_RUNNING_stop_jogging
2021-09-27 10:52:17.352 - S_IDLE_on_entry
2021-09-27 10:52:17.352 - Signal id 1127, (Jog Enabled), changed from LOW to HIGH.
2021-09-27 10:52:17.352 - Signal id 1172, (Machine Idle), changed from LOW to HIGH.

100
Mach4 General Discussion / Cant get MPG smooth incremental jogging
« on: September 26, 2021, 05:14:18 PM »
Hi,

I've made an Arduino MPG with pulse generator which is connected to Mach4 via serial. Everything works. Sends and receives data. However I can't get Mach4 to jog smooth and continuous jogging. When I turn the wheel the axis moves the amount of the increment and stops then again. What I want is, when I turn the wheel slow I want the selected axis move slow but continuously. And wise versa: as when I accelerate spinning the wheel I want the axis act the same and move fast. You know, I just want what we all want :)

The code is simple. When mach receives "I" or "D" from serial pendant mach gets the selected axis and jog increment then jogs the axis with it.

How can I change the to have a nice and smooth jog? I'm open to all suggestions.

Thanks.

Code: [Select]
    elseif Command == "I" then
--mc.mcCntlSetLastError(inst, "Jog INC")
        JogInc=mc.mcJogGetInc(inst,0)
MPGAxis = mc.mcMpgGetAxis(inst, 0)
if(mc.mcAxisIsStill(inst,MPGAxis)) then
mc.mcJogIncStart(inst, MPGAxis, JogInc)
end

    elseif Command == "D" then
--mc.mcCntlSetLastError(inst, "Jog DEC")
        JogInc=mc.mcJogGetInc(inst,0)
MPGAxis = mc.mcMpgGetAxis(inst, 0)
if(mc.mcAxisIsStill(inst,MPGAxis)) then
mc.mcJogIncStart(inst, MPGAxis, -1 * JogInc)
end
    end

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 »