Threaded View
-
02-05-2021 #3
Mach 3 uses generic Fanuc code that's why it works.
The fact it only uses one X coordinate on line #4 makes no difference to mach3. Without seeing the rest of the code and knowing what it's cutting then difficult to say if good or bad code.
Just changing G20 to G21 isn't enough for it to work correctly. G21 will make it the correct size but it won't change the feed rates so all the F codes will be wrong. For instance, F20 on line #8 will mean you'll travel at 20 mm/min instead of 20 inches a minute which was originally coded. So you'll need to multiply all the F numbers by 25.4 to get the correct mm/min feed rate.
When using imperial G-code it's easier to set up an imperial profile in mach3 as this will avoid the feed rate issue.
It's simple to do, just copy the profile you are using now, change the units to imperial, and change all the Steps per settings by multiplying them by 25.4 because now mach3 is working in STEPS PER INCH rather than STEPS PER MM
So let's say you have the STEPS PER at 160, which is a common metric setting if using 10mm pitch screws with 1600 micro steps set on the drives with no ratios applied. This now needs to be 160 x 25.4 = 4064 STEPS PER INCH.
The Velocity and acceleration are the opposite, now you divide by 25.4 because let's say you are set for 10,000 mmm/min this will become 10,000 Inch/Min.!!!
Then restart Mach3 for the units to reset.Last edited by JAZZCNC; 02-05-2021 at 09:12 PM.
-use common sense, if you lack it, there is no software to help that.
Email: [email protected]
Web site: www.jazzcnc.co.uk
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
NEW MEMBER: Hello from Lincoln UK (Converting Warco WM14, need to learn G-Code or CAD CAM)
By Jools in forum New Member IntroductionsReplies: 12Last Post: 29-11-2020, 03:09 PM -
FOR SALE: Oxford 0-25mn Metric/Imperial Digital Micrometer with SPC
By Caster1 in forum Items For SaleReplies: 0Last Post: 03-01-2016, 08:52 AM -
Converting Imperial fractions to metric. Solution?
By ChrisG in forum Machine DiscussionReplies: 5Last Post: 03-02-2011, 07:11 PM -
Conversion Tables TO - FROM Imperial/Metric
By Lee Roberts in forum Machine DiscussionReplies: 0Last Post: 27-02-2008, 02:08 PM
Bookmarks