Hello Guest it is March 20, 2023, 12:47:17 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 - Pedio

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 »
71
On my copy of M4 when I regen toolpaths it does not reset the rapid speed. I would not have noticed except when I use a laser I slow the machine down. The first rapid move on a regen (back to 0,0) is at the slow speed.

72
My machine freezes occasionally when it gets to a toolchange. The Gcode stops and the cycle start button is grayed out. I have to stop and restart M4. Usually when I try to restart M4 I get a message saying "another of copy of M4 GUI is already running".

I have done a lot of testing to determine why but can not find anything. My toolpaths don't always display. Also, there seems to be a bug if you zero the axis to a workpiece after you have loaded the Gcode file it does not place the image in the toolpath window correctly. I wonder if there is an easy way to test if this is the problem.

73
Mach4 General Discussion / Re: Map Lua Code to ShuttlePro button
« on: March 13, 2016, 02:32:17 PM »
Hmmmm - something does not seem to be working for me. I mapped button 7 on the ShuttlePro to input 6 and added the following code to the screen load.

-- Turn on Laser at low power map to shuttle pro button 7 (which is actually input 6 - I think)
---------------------------------------------------------------
-- Signal Library
---------------------------------------------------------------
SigLib = {
[mc.OSIG_MACHINE_ENABLED] = function (state)
    machEnabled = state;
    scr.SetProperty('btnRefAll', 'Enabled', tostring(state));
    scr.SetProperty('btnRefAll2', 'Enabled', tostring(state));
    scr.SetProperty('btnGotoZero', 'Enabled', tostring(state));
    scr.SetProperty('tabJogging', 'Enabled', tostring(state));
    if (state == 1) then
        AxisEnable();
    end
end,
[mc.ISIG_INPUT6] = function (state)
local inst = mc.mcGetInstance();
local rpm = 1;    -- Set this to the actual RPM you want as your starting point
mc.mcSpindleSetCommandRPM( inst, rpm );
mc.mcSpindleSetDirection( inst, 1 );    -- 1 == forward, 0 == off, -1 == reverse
end
}



The ShuttlePro plugin is enabled. I then restarted M4. Am I doing anything wrong?


74
Mach4 General Discussion / Re: Map Lua Code to ShuttlePro button
« on: March 11, 2016, 01:40:54 PM »
tom|tom,

I am having problem with the } at the end of the code. I am getting "Unexpected character by }"

Here is the code I was using:

-- Turn on Laser at low power map to shuttle pro button 7
---------------------------------------------------------------
-- Signal Library
---------------------------------------------------------------
SigLib = {
[mc.OSIG_MACHINE_ENABLED] = function (state)
    machEnabled = state;
    scr.SetProperty('btnRefAll', 'Enabled', tostring(state));
    scr.SetProperty('btnRefAll2', 'Enabled', tostring(state));
    scr.SetProperty('btnGotoZero', 'Enabled', tostring(state));
    scr.SetProperty('tabJogging', 'Enabled', tostring(state));
    if (state == 1) then
        AxisEnable();
    end
end,
[mc.ISIG_INPUT7] = function (state)
local inst = mc.mcGetInstance();
local rpm = 1;    -- Set this to the actual RPM you want as your starting point
mc.mcSpindleSetCommandRPM( inst, rpm );
mc.mcSpindleSetDirection( inst, 1 );    -- 1 == forward, 0 == off, -1 == reverse
}

-- End Turn on Laser at low power

75
Mach4 General Discussion / Re: Map Lua Code to ShuttlePro button
« on: March 10, 2016, 03:08:06 PM »
I will be at the CNC next week and will give it a try. Will let you know what happens.

76
Mach4 General Discussion / Weird ShuttlePro Question
« on: March 09, 2016, 04:47:11 PM »
I have two screens on my CNC. One is over by the desk and the other is a touch screen by the machine. I use a program called "Actual Multiple Monitors" to allow me to use a keyboard command to move the active window from one screen to the other.

Previously I had a keyboard sequence assigned to a key on the ShuttlePro to move the screen over to the display by the CNC. It seems this does not work any longer. The keyboard sequence still works from the keyboard (ctrl+/) but not from the ShuttlePro. Anyone have any thoughts?

Note - I am running the ShuttlePro in administrator mode.

Peter

77
Mach4 General Discussion / Map Lua Code to ShuttlePro button
« on: March 09, 2016, 04:42:00 PM »
Anyone know a way to map Lua code to a ShuttlePro button?

Thanks,
Peter

78
I have Mach 4 with a PMDX motion controller. PWM works with my laser. I use input 16 (they have this preconfigured for spindle control). The first laser I received did not work well. It appears that M4 and PMDX were changing the signal too fast (turning on and off the laser too fast). The laser manufacturer said this was a problem with their board and replaced the unit. The new one works well.

79
Send us a picture of what you are doing with your machine once you get it running. It sounds COOL! Essentially you are making a welding 3D printer???

80
Mach4 General Discussion / Re: Add a laser to my CNC
« on: February 16, 2016, 05:02:53 PM »
I looked at the ShuttlePro set up and the command is CycleStop. There are no other eStop type commands for the ShuttlePro.

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