banner



Mach3 Feed Rate Setting Fixed Probe

#21

lostit is offline


Re: new to cnc, need help with meshcam

Quote Originally Posted by stevensturgis View Post

It sounds like your g code and mach3 set ups are not both in mm or in inches.The cnc must be set up to one or the other at the start of loading mach3 for the motor travel set up. you cant change g code by using select native units. under configuration tab. That is for setting motor controls for the cnc only.
In mesh cam set zero to top of stock. use the real thickness of the stock you will use. set the mm or inches in the mesh cam tab marked define stock this should be set to what you what to work in mm or inches. mesh cam will set the g code to mm or inches by g code commands for mach3.automatically

The tool zero must also match the units your working in i think this is the problem. you can edit the tool zero text in windows note pad the thickness of your plate is set in this code change it to the thickness of your zero plate.

also. g70 is inches and g71 is mm. g 20 or g21 will set mach3 to the working units.look at the g code and see what mesh cam is using

. if you zero the tool and then hit go to zero in mach3 the tool should go to the top of your stock. if it dosent the tool zero code is wrong. or there is a tool offset being used tool offsets are set in the native units you picked when loading mach3. to view hit config tab then tool table.

In mach3 hit the tab operator than edit text bottom the screen will blink then hit tool zero button this will bring up the code its using so you can compare them. there is also a tool retract height in this code.

sample code only for reference or comparing to yours.

CurrentFeed = GetOemDRO(818) 'Get the current feedrate to return to later
CurrentAbsInc = GetOemLED(48) 'Get the current G90/G91 state
CurrentGmode = GetOemDRO(819) 'Get the current G0/G1 state

If GetOemLed (825)=0 Then 'Check to see if the probe is already grounded or faulty
DoOEMButton (1010) 'zero the Z axis so the probe move will start from here
Code "G4 P3" ' this delay gives me time to get from computer to hold probe in place
Code "G90 G31Z-4. F4" 'probing move, can set the feed rate here as well as how far to move
While IsMoving() 'wait while it happens
Wend
ZProbePos = GetVar(2002) 'get the exact point the probe was hit
Code "G0 Z" &ZProbePos 'go back to that point, always a very small amount of overrun
While IsMoving ()
Wend
Call SetDro (2, .246) ' change .060 to your plate thickness and then adjust for final accuracy
Sleep 200 'Pause for Dro to update.
Code "G1 Z1. F50" 'put the Z retract height you want here, must be greater than the touch plate thickness
While IsMoving ()
Wend
Code "(Z axis is now zeroed)" 'puts this message in the status bar
Code "F" &CurrentFeed 'Returns to prior feed rate
Else
Code "(Z-Plate is grounded, check connection and try again)" 'this goes in the status bar if applicable
End If
If CurrentAbsInc = 0 Then 'if G91 was in effect before then return to it
Code "G91"
End If
If CurrentGMode = 0 Then 'if G0 was in effect before then return to it
Code "G0"
End If

this is a problem, im trying to cut it out of mdf as a practice but if i set the mdf thickness in 'define stock' which is 36mm, then i go to 'program zero' and hit 'top of stock' it says z 18.813 mm

so it wants to start half way through my material?


#22

lostit is offline


Re: new to cnc, need help with meshcam

the machine / mach 3 runs in mm. im using meshcam in mm...still i need to work out how it can start at the top of the stock

#23

lostit is offline


Re: new to cnc, need help with meshcam

so i remade the toolpath in meshcam using MM only. yet the output file still says G20? inches?

the stl file was made in inches, does that matter? how can i fix this?

(STOCK/BLOCK, 11.875, 6.301, 0.079, -0.000, -0.000, 0.079)
G20G64G17
G90
(TOOL/MILL,0.1969,0,0.5906,0.0)
M6 T1
M3 S5000
G0X0.0000Y0.0000Z0.1000
(Parallel Rough)
(Roughing Level Depth: -0.998)
G0X10.5253Y4.7933
G1A0.0000Z-0.0068F0.0
G1F0.2
X10.4877Y4.7853
X10.4539Y4.7788
X10.4237Y4.7737
X10.4467Y4.7581
X10.4821Y4.7325
X10.5253Y4.6992
Y4.7933
X10.5208Y4.8325
X10.4803Y4.8240
X10.4465Y4.8175
X10.4132Y4.8119
X10.3776Y4.8067
X10.3301Y4.8007
X10.3108Y4.7987
X10.3577Y4.7698
X10.3910Y4.7484
X10.4236Y4.7262
X10.4591Y4.7006
X10.4947Y4.6733
X10.5295Y4.6452
X10.5646Y4.6153
Y4.8419
X10.5410Y4.8366
X10.5208Y4.8325
X10.5130Y4.8711
X10.4722Y4.8625
X10.4399Y4.8563
X10.4075Y4.8509
X10.3719Y4.8457
X10.3252Y4.8398
X10.2783Y4.8351
X10.2604Y4.8337
X10.1791Y4.8291
X10.2042Y4.8158
X10.2268Y4.8032
X10.2575Y4.7853
X10.3371Y4.7363
X10.3697Y4.7153
X10.4006Y4.6942
X10.4360Y4.6687
X10.4699Y4.6427
X10.5041Y4.6151
X10.5334Y4.5904
X10.5949Y4.5361
X10.6040Y4.5276
Y4.8921
X10.5632Y4.8819
X10.5332Y4.8752
X10.5130Y4.8711
X10.5051Y4.9097
X10.4648Y4.9012
X10.4334Y4.8952
X10.4018Y4.8898
X10.3670Y4.8847
X10.3203Y4.8789
X10.2753Y4.8743
X10.2582Y4.8730
X10.1814Y4.8686
X10.1430Y4.8673
X10.1030Y4.8668
X10.0593Y4.8674
X9.9925Y4.8691
X10.0454Y4.8477
X10.0821Y4.8320
X10.1182Y4.8154
X10.1436Y4.8031
X10.1651Y4.7920
X10.1856Y4.7811
X10.2077Y4.7688
X10.2369Y4.7518
X10.3158Y4.7032
X10.3475Y4.6827
X10.3776Y4.6623
X10.4121Y4.6374
X10.4452Y4.6121
X10.4794Y4.5845
X10.5073Y4.5609
X10.5688Y4.5066
X10.6045Y4.4734
X10.6290Y4.4492
X10.6434Y4.4342
Y4.9442
X10.6164Y4.9362
X10.5852Y4.9278
X10.5539Y4.9202
X10.5253Y4.9138
X10.5051Y4.9097
X10.4972Y4.9483
X10.4884Y4.9466
X10.4566Y4.9397
X10.4260Y4.9338
X10.3961Y4.9288
X10.3621Y4.9238
X10.3161Y4.9180
X10.2722Y4.9136
X10.2559Y4.9123
X10.1791Y4.9079
X10.1417Y4.9067
X10.1035Y4.9062
X10.0598Y4.9068
X9.7099Y4.9150
X9.7323Y4.9101
X9.7907Y4.8959
X9.8232Y4.8870
X9.8480Y4.8797
X9.8722Y4.8720
X9.8979Y4.8633
X9.9229Y4.8543
X9.9468Y4.8451
X10.0307Y4.8112
X10.0657Y4.7962
X10.1010Y4.7800
X10.1263Y4.7677
X10.1665Y4.7467
X10.1885Y4.7344
X10.2170Y4.7178
X10.2951Y4.6697
X10.3254Y4.6501
X10.3546Y4.6303
X10.3882Y4.6061
X10.4204Y4.5815
X10.4540Y4.5544
X10.4813Y4.5314
X10.5420Y4.4778
X10.5770Y4.4452
X10.6012Y4.4213
X10.6187Y4.4031
X10.6493Y4.3700
X10.6827Y4.3317
Y4.9983
X10.6402Y4.9843
X10.6062Y4.9742
X10.5750Y4.9659
X10.5445Y4.9584
X10.5174Y4.9524
X10.4972Y4.9483
X10.4894Y4.9868
X10.4804Y4.9852
X10.4485Y4.9782
X10.4186Y4.9725
X10.3896Y4.9676
X10.3564Y4.9627
X10.3120Y4.9572
X10.2827Y4.9541
X10.2536Y4.9516
X10.1778Y4.9472
X10.1412Y4.9460
X10.1040Y4.9456
X10.0611Y4.9461
X9.5009Y4.9593
X8.5953Y4.9808
X7.8010Y4.9993
X6.2662Y5.0358
X5.6149
X4.8547Y5.0177
X4.0612Y4.9993
X2.5366Y4.9630
X2.1212Y4.9536
X1.8364Y4.9467
X1.7786Y4.9459
X1.7501Y4.9459
X1.7348Y4.9460
X1.6792Y4.9480
X1.6265Y4.9513
X1.5695Y4.9564
X1.5473Y4.9587
X1.5206Y4.9621
X1.4854Y4.9674
X1.4481Y4.9740
X1.4071Y4.9825
X1.3371Y4.9987


#24

stevensturgis is offline

Registered


Re: new to cnc, need help with meshcam

The z dro needs to read 0 when you hit go to zero. make sure that you are not in machine coords the lite should be off. Go to config homing limits and make sure z is set to auto zero {checked}.
in mesh cam when in define stock do the numbers change when you hit inches and change when you hit mm ?

send the auto tool zero to me it may not be setting zero when it runs or has a built in tool offset.

what do you wish to work in mm or inches


#25

ger21 is offline

Community Moderator


Re: new to cnc, need help with meshcam

You need to scale the stl by 25.4x when you bring it into MeshCAM, and make sure the units are all in mm's when working in MeshCAM.
You may need to reset the default settings in MeshCAM to mm's.

But you really shouldn't need to do this. If Mach3 is set up in mm's, loading G -code with a G20 should run correctly, as Mach3 will scale the code.

I still think it's a Mach3 setup issue, and nothing is wrong with the g-code.


#26

stevensturgis is offline

Registered


Re: new to cnc, need help with meshcam

this code is in inches mesh cam is writing code in inches in this chase. not mm
use inch measurements when you define stock in mesh cam not 36mm but 1.41732283 inches 1 inch =25.4 mm The stock is probably not 1.41732283 inches thick your probably entering the wrong size thickness.
the code says the stock is .079 thick that's just over 1/16 of an inch. .0625 ?

in mesh cam the program will make the change to mm or inches by selecting the dot in define stock you don't enter new numbers.

before the job starts all the dro should read 0 {X Y Z} and the tool should be where you want to start cutting.
after you have the tool where you want to start cutting hit regen tool path and it will reset to start there


#27

lostit is offline


Re: new to cnc, need help with meshcam

is there an easy way to change mach3 to just work in inches? i think thats the only solution, this will break the machine. i think meshcam has problems translating it. the stl file is in inches, the machine/mach3 is in mm's, and meshcan support is a joke they don't even reply yet want to sell software...alternatively can anyone suggest a better software for a novice?

#30

ger21 is offline

Community Moderator


Re: new to cnc, need help with meshcam

i think meshcam has problems translating it.

No, you just aren't doing something right.

is there an easy way to change mach3 to just work in inches?

Config > Select Native Units. Select Inches, close and restart Mach3.

Config > Motor Tuning
Foe each axis:
Multiply Steps per by 25.4
Divide velocity by 25.4
Divide Acceleration by 25.4
Save Axis Settings.

Close and restart Mach3.

I'd recommend creating a new profile, and modifying that one.

- - - Updated - - -

alternatively can anyone suggest a better software for a novice?

Try Deskproto maybe?

#31

lostit is offline


Re: new to cnc, need help with meshcam

i was choosing mm in meshcam but the gcode looks like it has mm and inches. apparently others have had the same issue. i switched to vectric aspire and now i have no problems. thanks for the input though

#34

Fletch_CNC is offline

Registered


Re: new to cnc, need help with meshcam

I am not that familiar with Mach3, but it looks to me like the problem program was not calling a tool height (G43 H...) or a work offset (G54 - the offset may have a default, so that might not be an issue). The program you showed that you said did work had both callouts, so maybe that is the problem?

____________________________
My blog: http://www.fletch1.com


pidgeongoiderink.blogspot.com

Source: https://en.industryarena.com/forum/new-cnc-need-help-meshcam--365574-2.html

0 Response to "Mach3 Feed Rate Setting Fixed Probe"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel