Hello Guest it is April 19, 2024, 01:18:22 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 - dude1

751
Mach4 Videos / Re: Mach4 - Arduino and Touchscreen
« on: May 30, 2015, 04:45:41 AM »
the amount of faster boards that are coming out almost make what don't you use, some of them are still a arm and leg to buy some are at a good prices a few of them will work with arduino code it would be good to try one of the faster boards using modbus

752
yer I only post on what I have learnt from lots of people to many to name just trying to give back still in the weeds most of the time, what I post is in here some wear most of the time from Craig or Scott and the others, its hard to rember where some answers are to to link back to for credit

753
if (mc.mcInEditor() == 1) then
    DebugVarValueTest();--- name of file you are running.      as in I got this of a file named, function DebugVarValueTest() so you put in DebugVarValueTest()
end

also if you are ruining a script test and have the screen out of editor use the logging as you will see what can happen when you push a screen button compered to your switch you have added it may help pin down any problems.

you can go in to the built in register diagnostics window to see if your reg are and if they have a var to see if they change,  if unsure if you can call them use what I added that just to test calling regs when you get to it

754
Mach4 General Discussion / Re: G31.1, G31.2, G31.3 working?
« on: May 29, 2015, 06:29:11 PM »
do a search for m400 and m401

I am not sure whats coming Brian said on yahoo group probing going to be added after hes finished lathe stuff

755
Mach4 General Discussion / Re: Mach4 Executing Gcode from LUA
« on: May 29, 2015, 07:36:32 AM »
by smurph don't for get to give credit

756
when you are testing in the screen have the log running it shows what happening to what ever it is you are doing its one way to debug you can have something run fine in editor but not do anything on screen if nothing shows up on the log nothing is getting through or if something is coming up on the history and its a bad thing the problem can show up in the logging.

also if you have values set in the regfile and you don't think they are working get popabears, DebugVarValueTest or use this in the screen load script

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

and have a button on screen with this in it you just change "Test1" to your reg name it works fine to test any reg you have added to the regfile

regval = GetRegister("Test1")
wx.wxMessageBox(regval)

757
Mach4 General Discussion / Re: G31.1, G31.2, G31.3 working?
« on: May 29, 2015, 04:45:29 AM »
its coming soon

758
one thing you can do is delete the mcLua.MCC from your macro folder it rebuilds on next start up from whats there not what was

759
your one hard out person in a good way

760
all post are time limited I think its 30 mins after you post you have said its not finished so that's enough have you seen the M4 scripting manual its in here  http://www.machsupport.com/help-learning/product-manuals/

there is a tool height probe thing in it, I have not tested it my self, what hard wear are you using