Hello Guest it is April 25, 2024, 03:02:01 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 - smurph

261
Mach4 General Discussion / Re: Files containing an M0 or M1 will not load.
« on: September 04, 2020, 11:48:26 PM »
Err...  That was a bug that was fixed in a newer build.

Steve

262
Mach4 General Discussion / Re: z inhibit / max z depth
« on: September 01, 2020, 01:36:57 AM »
Set parameter 1801 to the minimum Z depth.  The default is NIL, or no minimum Z depth. 

You can do this with G10 L50 or just modify the parmaeters.ini file when Mach is not running. 

[1801]
Desc=Mnimum Z level
Type=2
Value=-2.00

Steve

263
Mach4 General Discussion / Re: POST PROCESSOR
« on: August 09, 2020, 01:09:07 AM »
Just use a Fanuc post.  Mach 4 is Fanuc compatible and both G76 formats will work.  Do not use a Mach 3 post with Mach 4, especially on lathe. 

Steve

264
Mach4 Videos / Re: Mach4 and luasql integration (mySql and ODBC)
« on: August 08, 2020, 06:45:53 PM »
Hello and thanks for your reply. I am running Mach 4 at build level 4.2.0.4517
Just curious, where did you download luasql. I cannot find a version for 5.3.
Thanks!

I got the luasql source and compiled the modules.  As with all of the modules in the modules directory.  They are custom made for the Mach LUA version and Mach 4 environment (module directory). 

Steve

265
Mach4 Videos / Re: Mach4 and luasql integration (mySql and ODBC)
« on: August 08, 2020, 12:49:49 PM »
??  What build are you running?  The current modules are for LUA 5.3

  lua53.dll
    Import Address Table:               0x00014154
    Import Name Table:                  0x0001A648
    Time Date Stamp:                    0x00000000
    Index of first forwarder reference: 0x00000000

Steve

266
Mach4 General Discussion / Re: Mach 4 Feature Request
« on: August 08, 2020, 12:46:33 PM »
Look in the modules directory.  It is already there.  mySql and ODBC.

Steve

267
Mach4 General Discussion / Re: LUA call functions in dynamic libraries
« on: August 05, 2020, 07:47:59 PM »
Yes, it will work with either 5.1 or 5.3, but the binaries better match the version of LUA that you are using.  Right now, it looks like your alien was compiled for LUA 5.1.  So you need to get alien that is compiled to use LUA 5.3.  I think that is all you need.

Once you upgrade your alien from 5.1 to 5.3, Zerobrane won't have an issue with it.

Steve

268
Mach4 General Discussion / Re: LUA call functions in dynamic libraries
« on: August 03, 2020, 09:41:41 PM »
We are running LUA 5.3.  I don't know much about alien, but you might have to up the version to 5.3 as well.

Steve

269
Mach4 General Discussion / Re: Mach4 is already Running message
« on: July 31, 2020, 02:47:05 PM »
A lot of times, when Mach is shut down, it is waiting on a plugin to clean up and the plugin just never finishes (for whatever reason).  The GUI may be gone but the core is still waiting on the plugin.  Try a stock profile with the Simulator and you will see it will always shutdown properly. 

Steve

270
Mach4 General Discussion / Re: loop help
« on: July 31, 2020, 02:39:52 PM »
I see capital lettering on the M code.  Change M10 to m10 on the function name, the file name, and in the mcInEditor()  Test stub that calls M10.

M codes are ALWAYS lower case.  This is because the interpreter converts everything to lower case when it processes the G code line.

Steve