91ÊÓƵÍøÕ¾ÎÛ

Updated Published

7 CNC Parameters You Should Know

Parameters tell the CNC every little detail about the specific machine tool being used, and how all CNC features and functions are to be utilized.

Share

Leaders-In background
CNC machining

Nearly every CNC-related issue involves a parameter setting.

Parameters specify settings for every CNC feature and function, and there are hundreds, even thousands, for any CNC. When discussing parameters, I always reiterate the importance of backing them up. As the person using the CNC, you are responsible for doing so. Today’s CNCs make it easy to back up to a flash drive, so there is no excuse not to do so. Plus, having your parameter backup can save hours, if not days, in the case of a CNC failure.

Nearly every CNC-related issue involves a parameter setting. Indeed, if the machine is misbehaving in any way, it is likely that an erroneous parameter setting is to blame. There are certain parameters that every CNC user should know related to safety, efficiency and simplifying machine usage. My examples are for FANUC CNCs, but all CNCs have similar parameter settings.

1. Initialized states

Certain G-code modes are automatically instated when you power-on a machine tool. Absolute or incremental (G90/G91); inch or metric (G20/G21); rapid or linear motion (G00/G01); plane selection XY, XZ or YZ (G17/G18/G19); and feed per minute or feed per revolution (G94/G95), among others, are G-code modes that can can be specified through parameters.

2. Canned cycles

Most of these parameters control efficiency. For example, the machining center chip-breaking peck drilling cycle (G73) has a parameter that controls retract amount between pecks. The larger this value, the more time it will take to machine a hole. In similar fashion, the deep-hole pecking cycle has a parameter that controls the clearance amount between pecks. Also, the turning center multiple repetitive cycle for rough turning and boring (G71) has a parameter that controls how far the tool will retract (still feeding) between roughing passes.

3. Data entry

A parameter controls whether a value without a decimal point will be taken as a whole number or with fixed format. If set to a whole number, a coordinate value of 10 in the inch mode will be taken as 10 inches. In fixed-format mode, it will be taken as 0.0010 inch. This can affect program compatibility among machines and operator entries when making sizing adjustments. Another parameter sets the maximum size of a wear offset adjustment. Having this parameter set to 0.02 inch, for example, can help minimize operator entry mistakes.

4. Communications and file loading

Parameters control the methods by which programs can be transferred to and from the CNC as well as the device/media being used. Common choices include a flash drive, memory card, ethernet or serial port. Another parameter determines when the CNC will stop loading programs: at an end of program word (like M30) or the end-of-file delimiter (%).

5. Program protection

Parameters are available to keep specified programs from being modified, deleted and/or displayed. This lets you protect important programs, such as probing programs, sub-programs and custom macros.

6. User-defined G and M codes

Parameters let you specify that a chosen G or M code (like G101 or M87) will execute pre-determined CNC programs. This is important when developing custom macros for canned-cycle applications. Another custom-macro-related parameter lets you control the behavior of single block when executing logic and arithmetic commands: skipping them or executing them one by one.

7. Inch-Metric conversion

A parameter controls what happens when you switch measurement system modes. With one choice, the CNC simply moves the decimal point to the right or left (no true conversion). A value of 10.0000 inches becomes 100.000 millimeters. With the other, all values, including axis positions and offset settings, are converted. A value of 10.0000 inches becomes 254.000 millimeters.

Finding a parameter in question

Knowing (or suspecting) that a parameter affects a given issue is just the beginning of correcting the issue. You must be able to find the parameter in question. Most CNC manufacturers document related parameters in a group, but since there are so many of them, it still can be difficult to find the one that is related to your particular issue.

While you can get a parameter list and start foraging through them, a better way is to consult the documentation (programming manual, operation manual, etc.) that describes the feature that is troubling you. For the peck-drilling cycle parameters, for instance, reference the G73 and G83 descriptions. You will find descriptions of all related parameters.

Programming parameter changes

The most common way to change parameter settings is to do so manually, using the display screen and MDI panel keyboard. But you can program changes for program-related parameters. With the G73 peck drilling retract amount for example, it may be necessary to use a setting of 0.005 inch for one cutting tool in a program and 0.010 inch for another. FANUC CNCs utilize the data setting command (G10) for this purpose.

Related Content

Basics

2 Secondary Coordinate Systems You Should Know

Coordinate systems tell a CNC machine where to position the cutting tool during the program’s execution for any purpose that requires the cutting tool to move.

Read More
CNC Tech Talks

The Best Point of Reference for Program Zero Assignment Entries

Correctly specified program zero assignment and coordinate position values enable the CNC to determine how far to move the cutting tool during each positioning motion.

Read More
CNC Tech Talks

4 Reasons to Use Safety Commands

Safety commands help safeguard CNC applications from common programming or operation errors.

Read More
CNC Tech Talks

Troubleshooting Differences in Programming Methods, Machine Usage

Regardless of the level of consistency among machines owned by your company, you probably have experienced consistency-related issues. Here are some tips to help solve them.

Read More

Read Next

View From My Shop

Shop Tour Video: You've Never Seen a Manufacturing Facility Like This

In the latest installment of our “View From My Shop” series, explore Marathon Precision’s multi-process approach to manufacturing, where blacksmiths and hand-forged dies meet state-of-the-art CNC machining. Discover how restoring classic muscle cars and building custom art projects creates a dynamic shop culture — and draws top talent to this unique and innovative metalworking facility. 

Read More
Automation

Why We Ask Machine Shop Leaders to Speak at TASC – The Automated Shop Conference

TASC is our industry’s premier peer-to-peer automation stage where America’s shop leaders refine the art of metalworking and CNC machining. For conference speakers, it's also an opportunity to showcase your skills and gain exposure for your business. Here are five why stepping into the spotlight at TASC could be your smartest move toward elevating your shop.

Read More