Hello Guest it is September 27, 2023, 08:30:20 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 - Mauri

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 »
I am trying to run Mach3 on a new HP SFF PC with Windows 10.
It has no additional Virus programs just the standard Win10 Defender and firewall.
When I launch Mach3 the initial Mach Logo comes up, then that’s it, nothing else.
I can run Mach3 on other Win10 PC’s, but not this one.
Anyone have any idea what is stopping it from fully launching.
I have tried Admin still the same issue.

Mach4 runs on the same PC.


Mach4 General Discussion / Re: Question on 4 Axis Toolpath?
« on: April 17, 2018, 03:57:07 PM »
Finally 4 Axis Toolpath Display has been added to Mach4.
Great news for all.

Hi all,
For those that want to perform other 4/5 Axis movements here are some notes from Steve.

RotationAbout: It is designed so that A can rotate around Y or Z too.  it would normally be B and C that does this.  However, the tool path only has a notion an A axis rotary at the moment.  But if the RotationAbout is set to 1 (Y axis), you would still use A (instead of B) in the G code.  This is so people with CAM programs that can only output rotary on the A axis can actually rotate around the Y or Z axes if they need to do that.  The default is -1 which means no 4th axis.  It is turned off by default because running the U axis (linear A) would distort. 

XAxis, YAxis, ZAxis: The offset of the rotation.  They are normally 0 and default to 0.  But they can be changed to add the offset of a when the center of rotation is not part 0.

So we can finally put this one to bed.


Hi all,
Mach4 the way it is downloaded from the website is Set for 3 Axis Toolpath display.
To make Mach4 a 4 Axis Toolpath display there are two ways:
1) Via Lua code added to the PLC Script.
local inst = mc.mcGetInstance()
mc.mcToolPathSetARotationAxis(inst, 0)
mc.mcToolPathSetAAxisPosition(inst, 0.000, 0.000, 0.000);

2) By modifying the machine.ini file.
RotationAbout = 0   <-- In the 3 Axis Toolpath display it is setup as = -1
XAxis = 0.0
YAxis = 0.0
ZAxis = 0.0

This will then display all your 4 axis correctly.
So it has been there for the last 3 years but no one was aware about it.

Mach4 General Discussion / Re: Question on 4 Axis Toolpath?
« on: April 12, 2018, 04:50:17 PM »
The only thing is that if you have a G-Code that cuts a long the X Axis instead of around it, then it will not display correctly with a Zero Setting.
So this type of 4 Axis G Code would require a radius compensation.

Mach4 General Discussion / Re: Question on 4 Axis Toolpath?
« on: April 12, 2018, 08:04:19 AM »
Attachments for previous reply.
All three example with entering "0" to above display all On Center.

Mach4 General Discussion / Re: Question on 4 Axis Toolpath?
« on: April 12, 2018, 07:57:15 AM »
I have been conducting a number of experiments with various statues to she how to accurately show them in the Toolpath.
I have found in many instances that the following works.
I have put to sleep two line in the Lua code that you provide see below.
I then entered with "A Rot On" the value "0" on all G-code statues and cylinder.
One statue-1 and cylinder  had a normal 4 Axis rotary spiral cut and the other Statue-2 a 4 Axis simultaneous rotary spiral cut.
With this setting they all displayed proportionally correctly although it difficult to say with 100% confidence as I can not take any measurements for confirm this.
Both Statues have a stock diameter of 100mm so the value entered has nothing to do with this value.
Pictures of the Mach4 Toolpath below.
Although on the Large 1521472 G-Code lines Statue-2 on redisplay of the Toolpath the following Mach4 error came up and crashed the program.
On redoing the same action many times and it did not fail the second or more times?
Having trouble sending attachments to I will send an other reply.

local inst = mc.mcGetInstance();
local getVal = scr.GetProperty('droRadius', 'Value');
local getValAsNumber = tonumber(getVal);
--getValAsNumber = getValAsNumber / 2;    --convert to radius (dro is entered as diameter)
--getValAsNumber = 0 - getValAsNumber;    --make negative for Z offset
mc.mcToolPathSetAAxisPosition(inst, 0.000, 0.000, getValAsNumber);

Mach4 General Discussion / Re: Question on 4 Axis Toolpath?
« on: April 11, 2018, 08:05:04 AM »
I have found the issue of Toolpath display much more complex when performing the cut along the X Axis with a continual spiral cut around around the Cylinder.
In config "A Rollover" must Not be ticked.
I have found that when "A Rot On" is clicked, then you enter "0" to show the correct display.
However the cut does not cut going across and along the X Axis it continues to rotate in the same spot but the cut display then move over after each revolution.
Below is a G-Code Continuos Rotary cut of a Cylinder on Center.
So I do not know how the "A Rot On" works when you enter "0" but it does and entering "0" keeps the Circle Cylinder in the Center.

On more complex displays performing the same cut, for example Venus 100mm Dia stock, If enter on "A Rot On" "0" then it is truncated in the X Axis, but it is On Center.
However making "A Rot On" "-50" Display correctly but it is Off Center.
So I do not know what is going on.
Also I have not tried 4 Axis Simultaneous Spiral cut yet, I will do the tomorrow as it is getting late here.

I wish some would fix the Mach4 Toolpath display program so we do not need to come up the complex solutions to fix this.


Mach4 General Discussion / Re: Question on 4 Axis Toolpath?
« on: April 10, 2018, 05:01:25 PM »
Thank you for your reply.
All looks good with your demonstration and pictures.
On the Video you show A Rot On as 100, which is your Stock dimension just what I wanted to know.
I use mm on our Machines.
You example works also with my Mach4 using your code so that is OK.
I also use Rhino with madCAM 5Extra so I can also make any type of cut on the Model.
So I would like to duplicate your example as a test with Mach4 with 4 Axis and 4 Axis Simulateneous, to do this I need to know the dimesions of your Venus Model.
In the meantime I will try some mre tests using my models.
I have produced this Model many years ago in brass and wood with Mach3 so I do not have any issues with my CAD/CAM software.
It is good to hear that the G-Code is not affected.

Mach4 General Discussion / Re: Question on 4 Axis Toolpath?
« on: April 09, 2018, 04:24:28 PM »
I am still having issues although the shape is getting closer to what it should be on Finishing Cuts on the Venus Statue, I still have not got it right.
On Roughing where multiple cuts are made, it appear to have a lot more issues.
I was just testing a simple cylinder with a roughing cut, the last cut was OK the cut circles joined, but the outer cut they did not, they left a gap.
If you can get it working can you send me a working example G-Code with the Dia you have set so I can see where I am going wrong?

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 »