Hello Guest it is March 29, 2024, 12:02:18 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 - B2

Pages: 1
1
General Mach Discussion / Re: nMotion Moving to Mach4
« on: December 22, 2019, 11:25:46 AM »
Hi,
 I too have the PM940CNC VS running Mach3.  Let us know what you did or if anyone else finds a solution to an improved Software (over Mach3) for the nMotion controller hardware.  Some folks rebuild their CNC system for the PM940 to a new controller, but if you are going to this much trouble there is no particular reason to stay with ArtSoft's Mach4. 

Thanks, Dave.

2
I have never tried this on my machine and I do not use Fuson 360, but rotations are usually the result of two axes being reversed not just one. Mathmatically to do a rotation of a coordinate frame you must transform two axes.   Also when one tries more than two at a time it is always confusing.    Looking at your figures I would suggest that these two are z and x.  Clearly the Mach map shows the z lift position to be inside the cue body and the withdraw lines head toward the center point of the arc!  Likewise, the letters are coming in reverse order and are flipped along the y-a plane, so that implies the x axis is reverse as well.  In the image, it appears that "a" and "y" are correct.

Good luck. 
- Dave

3
Thought I should share my first Gcode.   It was written to drill a lot of holes at locations of my choice.  I needed to do a lot of these so I wrote an Excel spread sheet to generate the Gcode (lots of comments).    I was building a dolly for my mill from 4 steel plates and wanted to drill caster mounting holes plus some others at each end of each plate.  So I needed a new program for each end of each plate (8 programs) each with > 16 holes that need to precisely match the hole locations in one of the other plates!  I ran these programs while the mill was still on the pallet!  Assembled the 4 steel plates to the dolly casters to make a "picture frame," mounted the mill to this and wheeled it into a tight area in my basement, then unmounted the dolly and put the mill base on the dolly before mounting the mill to the base.

Attached is my a spread sheet to generate an arbitrary number of drill holes at your defined locations plus a few notes and examples. The depth of each hole can even vary, but I did not do this.   The locations are pasted or typed into the colored box cells area (T139 to V162)  at the lower right side of the spread sheet and then these locations first appear above the colored cells in a column and also appear in the lines of Gcode at the left of the spread sheet.  The code is located at the left side of the spread sheet between cell locations A1 to P172 .  Just copy these cells and paste them into notepad to strip out the Excel control codes.  (Don't copy the column containing the  /*/) (There should be no tabs generated, but there is white space that Gcode execution ignores.)

The concept is that a subroutine (cell: A51, code line O9052) is called to supply the hole data  and then a subroutine is called (spread sheet cell:A31, code line O9051) to do the drilling, this is then repeated.  The program loops until done with all "n" holes.  You have to specify n and supply n(x,y) location values.  The spread sheet assembles the code commands with the specific data to be used into the individual lines of code.   So the main program is really very short. 

Modify as you like:  I was moving a large piece of steel and so the clamps were high.  So the z-height retract position is high before going on  to the next hole location.

Have fun,
Dave

PS.  I have attached the spread sheet and a number of Gcode txt files I used to drill the 4  steel plates used to make my dolly. (~ 80 holes).

Have fun,

Dave

Pages: 1