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

No.  The 1423 is a two axis controller.  If you want to us step/dir, there are a lot of cheaper and less complicated controllers to use.  Or did you mean 4123?  Even so, that is a two axis controller that can be expanded to 4 axes.  The fact that it has 4 D sub connectors is not going to give to 4 axes.

41x3.  The x is the number of axes available on the controller.  However, it can be upgraded to 4 axes.  Just send it to Galil.  They will charge $200 for the mod plus $100 per axis added.  So The bill would be $400.00 plus shipping to get that controller in the provided link to be 4 axes.

It pays to know what you are buying on eBay.  Because unscrupulous or ignorant sellers can misrepresent the controller.  The fact that the TOP stickers says 4123 MEANS is is a 2 axis controller.  Also, the controller that is linked has amps in it.  There are two square Molex connectors that are present and there are two that are not present.  Another clue that this is indeed a 2 axis controller.  For external drives/amps, that ICM style in not preferred.  The I200 ICM is the one for external amps.  So from Galil, the part number for a 4 axis controller would be DMC-4143-I200.  That is what you want. 


Mach4 General Discussion / Re: Mach4 - COM Object
« on: June 14, 2014, 01:24:36 AM »
COM is not supported.  However, there is an IPC interface that works the same across all targeted platforms (Windows, Linux and Mac).


Mach4 General Discussion / Re: Mach 4 Bug Reports
« on: June 05, 2014, 02:41:40 AM »

Normally, the macros will not have the issues you are seeing.  The reason why you are seeing them now is that we changed LUA versions between build 1767 and 1817 and there are incompatibilities with the compiled scripts between the versions.  Normally, the installer will install the macros with mcc files that work and there will be no issues.

For the macros, Mach uses the mcc files.  The mcs files are just a way of getting to the mcc files that us humans can read and modify.  Mach can run without ANY mcs files if the mcc files are compiled and correct. 

Changing LUA versions is not something we will do once we release.  We just made a push to get to the latest code base for everything we use so that we don't feel the need to do it at a later date after release.  In the future, a normal user should never see this.

Build 1817 has a whole host of changes including a move to wxWidgets 3.0, LUA 5.2, and we went from using the static CRT to the dynamic CRT.  Hence the massive difference in build numbers.  I also did a wholesale change on the API (I'm so glad I haven't re-written the API docs again!).

We have one more big change to do before release which is the installation location (feature request and docs not withstanding).  We are planning to conform to MS program installation locations so that Mach will be installed in the "Program Files" for system wide operation (requiring Admin privs) or it can also be installed in a user folder without admin privs.


Mach4 General Discussion / Re: Mach 4 Bug Reports
« on: June 05, 2014, 02:20:35 AM »
Choose no.  For some reason, I linked with the debug code in that last build. 


Mach4 General Discussion / Re: Mach 4 Bug Reports
« on: June 04, 2014, 08:32:37 PM »
It is because some mcc file is still in there somewhere when it tried to roll all of them up into the one big mcLua.mcc file.  Incompatible mcc files prevent this from happening. 

The rule of thumb is if there is no mcLua.mcc file, then there is an error in at least one script or the mcc files are incompatible.  Those are the only two instances we have found that prevent the mcLua.mcc file from being built.   

Be sure that if your scripts reference any scripts external to the profile (like in Mach4/Modules dir), that those scripts also have their mcc files deleted.  You may have to compile external scripts in the mcLuaEditor as the auto compile will not work for scrips outside of the macros dir.


Mach4 General Discussion / Re: Mach 4 Bug Reports
« on: June 04, 2014, 07:57:37 PM »
1817 used LUA 5.2  So we shipped it without the *.mcc files to ensure that they get rebuilt.  Once you press Start Cycle, they will build and the mcLua.mcc will be created.

The mcc files are not compat between LUA 5.1 and 5.2.  So if you have any scripts that you wrote, delete all of the mcc files and let them rebuild.


Galil / Re: Galil And Lathe
« on: June 03, 2014, 06:15:52 PM »

Mach4 General Discussion / Re: Read write to a DRO ??
« on: June 02, 2014, 12:22:34 AM »
Damn!!!!  Now that was using your head!  Hmm...  Me thinks you are getting good at this Terry.

You can use the OnUpdate and OnModifiy scripts to display and edit scaled values too.  Used if a DRO doesn't show you something the way you want it too. 


Mach4 General Discussion / Re: Mach 4 Feature Request
« on: May 29, 2014, 11:52:14 PM »
Err...  not correct.  Mach4 is Mach4.  There is no difference between Hobby and Industrial, code wise.  The only difference is the license.  The Industrial license "turns on" Industrial features.  But the code base is the same.  That demo version has the capability of running 6 planners.  But since there is no license, it only runs in demo mode with only 1 planner.

The API documentation will come.  I write good API docs.  I just can't write them at the same time I'm developing.  It turns out that I need two hands on one keyboard at a time.  :)

We don't have the resources to not wear many hats.  I guess we could go out and hire 5 to 10 more people.  But the price of the software would go up.

And what's with the ATC?  My machine has an ATC and it works fine.  The m6 macro handles it.  The m6 that is in the demo is just that, a demo.  Or am I missing something?


Mach4 General Discussion / Re: Mach 4 Feature Request
« on: May 28, 2014, 05:18:25 PM »
We picked LUA because it was the fastest script language available.  And it was written in C which means it is portable and can run on any platform that has a C compiler.  We looked at Python because it seems so popular.  But it was rather slow when compared to LUA.  I don't like the "looks" of LUA very much.  It is true that it does have some C constructs.  But it also has some BASIC like elements to it as well.  And then it has some stuff that really can't be labeled as being like anything else on the planet!  It is bizarre in a lot of ways.  But it is fast and powerful.  The next best thing to true compiled code. 

I wanted to use AngelScript, which is more C like in syntax.  It was pretty fast too.  Not as fast as LUA, but it was faster than Python.  But with AngelScript, we would have had to write all of the wxWidgets bindings and that would have been a real pain.  Plus LUA is so versatile as far as embedding it was concerned.  So LUA won the script battles.