CNC Programming Safely Using Decimal Point

CNC Programming Safely Using Decimal Point

Category : Beginners

CNC Programming Safely (Decimal Points)


CNC Programming Safely is very important so this post explains about the decimal point. Decimal points who needs em eh.

On Fanuc controls and Haas controls depending on how you set a parameter number input can be taken in two ways.

X20 is taken as a movement in X of 20mm this is like a calculator and some controls will convert this to 20.000 for you.

Or X20 is taken as 20 microns which would be .020.

Massive would you agree?

CNC Programming Safely

This also works on feed rates so you could be waiting a long time. The most dangerous one is with offsets this will definitely cause a collision.

Now you could go diving for your manuals and check your parameters. I don’t actually recommend that right now.

Think of people like me and all those applications engineers who work here there and everywhere.

It maybe that in your company you have machines set in different ways and that’s gonna be real confusing.

It is obviously a good idea to have all your machines working in a similar manner if possible.

CNC Programming Safely

So in order to do your CNC Programming Safely I recommend that you make a rule when you are inputting code.

Always include a decimal point even when it’s not needed. That way whatever your machine setup you will still get the right movements and offset adjustments.

Never Use a Decimal Point (CNC Programming Safely)

M codes
S Codes
G codes although there are exceptions such as G54.1
H numbers
T codes
N numbers
O (Programme numbers)
P  address

And if you do you will get an alarm. There are exceptions to these rules but you would need to check your programming manual.

Use a Decimal Point (CNC Programming Safely)

B   address
C   address
D  address
E   address
F   code
I   address
J   address
K  address
Q  address
R  address
U  address
V  address
W address
X  address
Y  address
Z  address

I have trained people who insist on programming X0.0 and that is ok if it helps you to remember the decimal point. Even though on X0 it would make no difference but rules are rules.
Just remember that if you change companies it will be very hard to break the habit if you are not inputting decimal points.

Those using CAD/CAM systems it is quite easy to change your post processor to always output decimal points too.

Services offered at CNC Training Centre

Workholding devices (design and manufacture of jigs and fixture). Pneumatic or hydraulic clamping systems.

Edgecam programming and training.

Turnkey full solutions (Programming, fixture design, tooling, fully working solution, including training)

Classroom programmer training.

Onsite CNC Machine Training.

CNC Programming and Training on all controls and machines.

Mazak Training Fanuc Training

Don’t forget we offer training on all types of Mazak Machines and all Fanuc Controls 6m to 31i Oi old to young.

[contact-form-7 id=”2706″ title=”Contact Form”]

Log out of this account

Leave a Reply

CNC Training Centre
WP to LinkedIn Auto Publish Powered By :