Hello Guest it is August 10, 2022, 12:47:26 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.


Messages - Pedio

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 »
171
Mach4 General Discussion / Re: Mach 4 Axis Calibration solution
« on: July 17, 2015, 02:11:52 PM »
Could you also put in a variable slider that easily allowed the user to change the acceleration to see how their motors respond? I know nothing about this area so it may be a silly suggestion.

BTW - I have stepper motors and have the acceleration set at 25. It seems to work pretty well and the motors don't make funny noises.

172
Mach4 General Discussion / Re: external cycle start
« on: July 15, 2015, 06:31:29 PM »
Works - yeaaaaaa. I had to map my Input B on smartBob to input 1 on Mach4.

Dose this script also allow me to program a feed hold on Input 6?

Thanks,
Peter

173
Mach4 General Discussion / Re: 2nd window
« on: July 15, 2015, 04:33:52 PM »
Josh - Works great! I can even change back and forth from the main screen and the wizard without any apparent problems. Could I ask you to do a little formatting and add a few buttons? Attached is how my Jog screen already works. I have made the jog buttons very big and oriented them the way the machine is actually set up. Also, I have some Jog speed change buttons on this screen. I would like to add a BIG start and stop buttons on opposite sides of the screen. I guess what I am really saying is that this should really be a touch screen pendant! Damn creeping requirements...

I owe you a bottle of Woodford Reserve for the Woodford pendant. How do I get it to you?


On another note - I still can not get the display in the Jog box to change when I use a button to select another jog speed. It works fine if I use the cycle button - hmmmmm.

Peter

174
Mach4 General Discussion / Re: 2nd window
« on: July 14, 2015, 05:35:56 PM »
Done!

175
Mach4 General Discussion / Re: external cycle start
« on: July 13, 2015, 06:08:51 PM »
This may sound funny, but can you put the code on this thread? When I copy and paste from the .pdf my application puts in lots of line breaks and funny stuff. I don't know if everyone has this problem.

Thanks,
Peter

176
Mach4 General Discussion / Re: 2nd window
« on: July 13, 2015, 06:02:14 PM »
I actually have a second touch screen attached to the control computer. It uses Actual Multiple Monitors to move the screen between the control computer and the touch screen by the CNC via hot keys. Until recently I used a dedicated key on my shuttle pro to move the screen and to do the delicate jog motions (keyboard jog does not work on my machine so I disabled the shuttle pro until it works). I wanted to have a screen up on the main computer and a second Jog / pendant screen on the touch screen. I have reconfigured the Mach4 screen set I have to be much more touch screen centric (bigger buttons etc...).

I am aware of VNC and a lot of the other screen sharing apps across platforms. I just wanted to have a more static way of having a "jog" or "Pendant" oriented screen on the second monitor that is located by the CNC. I have played with duplicating the screen across monitors and streaching the Mach 4 screen across the two monitors. Both work to varying degrees.

177
Mach4 General Discussion / Re: Order of tabs in a window
« on: July 07, 2015, 05:43:24 PM »
BTW - will I need to redo this the next time Mach4 is upgraded? I am starting to keep a list.

P

178
Mach4 General Discussion / Re: Order of tabs in a window
« on: July 07, 2015, 05:42:08 PM »
Daz - Works! Thanks

 ;D

179
Mach4 General Discussion / Re: tool height probing
« on: July 06, 2015, 06:23:54 PM »
I quoted the wrong thread - I used the Papa Bear script in the zip file.

180
Mach4 General Discussion / Re: tool height probing
« on: July 06, 2015, 06:21:38 PM »
Look over, and try this one, and see if it works......

Scott
well it`s still not quite right it comes up with this now

mcLua ERROR: Lua: Error while running chunk
[string "C:\Mach4Hobby\LuaExamples\m1005.mcs"]:27: bad argument #2 to 'tonumber' (base out of range)
stack traceback:
   [C]: in function 'tonumber'
   [string "C:\Mach4Hobby\LuaExamples\m1005.mcs"]:27: in function 'GetRegister'
   [string "C:\Mach4Hobby\LuaExamples\m1005.mcs"]:45: in function 'm1005'
   [string "C:\Mach4Hobby\LuaExamples\m1005.mcs"]:112: in main chunk


mcLua ERROR: Lua: Error while running chunk

I changed this

function GetRegister(regname, num)--Added the return type def param
      local rc;
      local inst = mc.mcGetInstance();
      local hreg = mc.mcRegGetHandle(inst, string.format("iRegs0/%s", regname));
      local ReturnValue = 0;
      if num == 1 then
         ReturnValue = tonumber(mc.mcRegGetValueString(hreg));
      else
         ReturnValue = mc.mcRegGetValueString(hreg);
      end
        return ReturnValue;
      end

back to this
function GetRegister(regname)
local inst = mc.mcGetInstance()
local hreg = mc.mcRegGetHandle(inst, string.format("iRegs0/%s", regname))
return mc.mcRegGetValueString(hreg)
end

and ran through fine but still with the no probe contact error

Papa Bear - I tried putting the script into the "left up script" on the auto tool zero button on the Mach4 main screen. Nothing happens

I have the latest PMDX SmartBOB plugin that supports probing. I have assigned the digitizer to pin 15 and attached the touch plate. When I touch the magnet to the plate the probe LED lights.

Not sure if I need to do anything else. I am a newbie so please forgive me of my ignorance.

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