Hello Guest it is April 26, 2024, 06:51:42 AM

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 - Graham Waterworth

471
There is nothing wrong with the code, maybe it should have a G90 in it but it will still work without.

My guess is something is loose or slipping on a shaft if your steps are set to the correct values.

472
Post Processors / Re: 4th axe on Fusion 360
« on: November 07, 2020, 06:34:06 PM »
Its working on my Mach3, no idea if its what it should look like but that's all I can do.


473
Post Processors / Re: 4th axe on Fusion 360
« on: November 07, 2020, 09:21:58 AM »
Not a single 4th axis move in the program so check your CAM settings.

474
The Mach3 parser is a bit limited and soon gets confused.

It is not keen on any real numbers in a calculation.

#100=-1 is also a problem.  #100 = [1 * -1] works.

The safest way is to keep the lines simple and always put values into #vars with lots of enclosing square brackets.

 

475
Mach4 General Discussion / Re: scr.GetProperty
« on: November 04, 2020, 07:35:48 PM »
I am not sure you can do that if the property is on a panel.

476
General Mach Discussion / Re: homing a bridgeport cnc converted machine
« on: November 04, 2020, 07:12:03 PM »
Which way is the table moving if you enter this into MDI and press enter

Standing in front of the machine long axis running left/right

Assuming you are using metric, if not replace X5. and F50. with X.200 F2.

G01 G91 X5. F50.

X axis should move to your left.

G01 G91 Y5. F50.

Y axis should come toward you.

G01 G91 Z5. F50.

Z axis should move up.


477
Replace the 1 with a # var

g00 g90 x0 y0
#106 =1
#104 = 30
#107 =  [#106 - [Cos[#104]]]
g00 x#107
m30

478
I am confused now, are you wanting to do this in VB or in Gcode you have given examples of both.

479
You need to put every variable into a #number and then use them for the maths.

e.g.
G21 G40 G00 G90
G00 X0 Y0
#100 = 45 (Angle)
#101 = 2.5 (length)
#102 = [SIN[[#100 / 2]]]
#103 = [#102 * #101]
#104 = [COS[[#100 / 2]]]
#105 = [#104 * #101]
G00 X#103 Y#105
M30


Etc.

480
Mach4 General Discussion / Re: Need Help - Mach4 errors w/ PMDX-424
« on: November 01, 2020, 07:28:35 PM »
Could be noise or W10 taking too long to allow a smooth flow of data, up the buffer size on the PMDX if that fails reduce it so it needs data more often.