Hello Guest it is April 18, 2024, 07:51:42 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 - DazTheGas

251
Mach4 General Discussion / Re: Mach4/Lua script do's and Dont's
« on: March 13, 2017, 04:51:53 PM »
Did you add the load_modules.lua into the macros directory that brett posted?? to me it looks like your not loading the module. once loaded into the load_module.lua file all the macros only need call a function from the file.

DazTheGas

252
Mach4 General Discussion / Re: Hobby/Industrial and Profiles
« on: March 09, 2017, 12:25:35 PM »
Go into your ESS config and make sure that the settings are still there, when I first installed industrial I had to re-enter the settings and all has been fine since.

DazTheGas

253
Mach4 General Discussion / Re: Lua Macro Parameters
« on: March 09, 2017, 02:03:41 AM »
The package.path needs to match the location and extension of your module, so if its working with a button check that line is the same as the one in the screen load script

screen load script normally points to mach4 dir/modules
the one in the file is pointing to mach4 dir/profiles/your profile/modules

If the package.path is incorrect then it will not find and load the module.

DazTheGas

254
Mach4 General Discussion / Re: Lua Macro Parameters
« on: March 07, 2017, 05:16:35 PM »
Mach4 Lua/wxLua has 2 instances of it, one is for the gui and one is for gcode engine. you will need to load the modules into the gcode instance of lua.
When Mach4 starts up it compiles everything in the macro`s folder into 1 file, you could place a functions.lua within the macro directory that loads the modules and this will get compiled along with the mcodes.

DazTheGas

255
Mach4 General Discussion / Re: Optional Stop Output
« on: March 07, 2017, 11:17:57 AM »
M1 runs ok for me?? are you trying to run it from the mdi?? as whilst in the mdi its not doing a cycle start after the m1 just running the mdi again.

load gcode
press optional stop in the Run Ops tab
cycle start
m1 comes alone and program stops
cycle start  and program continues

DazTheGas

257
Mach4 General Discussion / Re: problem with my tool lenght sensor
« on: March 05, 2017, 02:14:10 PM »
What version of the ESS plugin are you using?? If its v194 then go back to v193 as probing is not functional in v194.

DazTheGas

258
Mach4 General Discussion / Re: Single block mode
« on: March 03, 2017, 10:19:34 AM »
40 years of running CNC machines, single block has been "industry standard." Turn it on, hit cycle start, get one block, hit cycle start again, get the next block.

Try reading the post above yours, that`s exactly how it does work in mach4. The wx4 screen was originally created from forum requests by users of what they would like to see in the controller as opposed to the default wxMach screenset, the screenset is open to anyone to change and modify to their requirements, but from time to time some small things can be overlooked but quickly added for next release as I am sure this will be ;-) or just a 30 second user fix like this one.

DazTheGas

259
No Anti Virus etc should be run on a production machine. Imagine being half way through a job and it decides to do a scan stripping you of all your system resources??????

DazTheGas

260
Mach4 General Discussion / Re: Single block mode
« on: March 03, 2017, 03:17:43 AM »
Single block mode works fine in mach4 however the state of the cycle start button is not correct and is disabled in single block mode. open up the screen editor and select the cycle start button, in the properties for the button you will find enabled states and in there you need to put a check in the File Single Block and save and exit the editor. You should now find the button enabled during a single block mode state allowing the function to work correctly.

DazTheGas