FANUC controllers are the heart of CNC machines, and correct parameter settings are what let them reach maximum performance. In this guide we cover the most critical parameters, functions, and setup procedures across different FANUC control series in detail.
๐ REFERENCE POINT (HOME) SETTINGS
1815 โ APC and APZ (Reference Point Establishment)
Applies to: All CNC lathes and machining centers
This parameter is used to establish the reference point (home position) on machines equipped with an absolute encoder (Absolute Pulse Coder).
How to do it:
1. Power off the machine
2. Using the handwheel, move the X and Z axes to the reference point
3. In parameter 1815, set the APC and APZ bits (bits 4 and 5) to “1”
4. Power the machine off and back on
โ ๏ธ Warning: After a battery replacement the APC and APZ bits can reset. If the reference point is lost, this procedure must be repeated.
1850 โ Grid Shift
Applies to: All FANUC controls
Used to fine-tune the reference point. It adds an extra shift to the reference point equal to the value entered. For Grid Shift to be active, parameter 1002#2 must be “1”.
๐ฏ DECIMAL POINT SETTINGS
3401#0 (DPI) โ Decimal Point Suppression
Applies to: 0i-MB controls
Removes the requirement to use a decimal point (.) in FANUC programming.
- DPI = 1: Values entered without a decimal point are read as mm/1000 (microns)
- DPI = 0: The standard decimal-point requirement remains in effect
P.15#7 โ Cancel Decimal Point in Program
Used to cancel decimal points written during the program.
๐ 4TH AXIS (ROTARY AXIS) SETTINGS
4th Axis Addition Parameters
Applies to: 0i-MB / 0i-MC controls
| Parameter | Value | Description |
|---|---|---|
| 9900 | 4 | Number of CNC-controlled axes |
| 8130 | 4 | Total number of controlled axes |
| 1010 | 4 | Number of CNC-controlled axes |
Note: The correct Motor ID (2020) must be entered and the machine must be restarted.
4th Axis Cancellation
Applies to: 0i-MC control
- Bit 7 of 1005 and 1012 = “1” โ 4th axis disabled
- Bit 7 of 1005 and 1012 = “0” โ 4th axis enabled
4th Axis 360ยฐ Rollover
1006#0 = 1 โ After a 360ยฐ revolution the 4th axis resets the machine position value.
18i-MB 4th Axis Commissioning
Bits #0 and #3 of 3115 must be “0” (3115=00000000).
๐๏ธ HIGH-SPEED MACHINING (AICC)
G5.1 Q1 / G5.1 Q0
Applies to: 0i-MC control
A high-precision machining mode that automatically reduces feedrate at corners.
M03 S... (after the spindle reaches speed)
G5.1 Q1 (high-speed mode active)
... machining code ...
G5.1 Q0 (mode off - before M30)๐๏ธ SPINDLE SETTINGS
M19 Spindle Orientation Setting
M19 setting parameters across different control series:
| Control | Parameter | Description |
|---|---|---|
| 0-MD | 6577 | Spindle positioning setting |
| 0i-MB | 4077 | M19 position setting |
| Mitsubishi M70 | 3108 or 3107 | Orientation setting |
| Mitsubishi M65S | 3207 (Setup โ Spindle) | M19 setting |
When adjusting with 4077: it works over 4096 pulses. For a 90ยฐ change, add or subtract 1024 from the current value.
4030 โ Spindle Soft Start/Stop
Applies to: Twinhorn machines
If the spindle knocks during start-up or stopping, set 4030 = 12000.
3735 โ Spindle Minimum Speed Setting
Applies to: 0i-MD Twinhorn VP 1500
Minimum clamping speed of the spindle motor.
- Usually takes a value between 0 and 5
- Example: 20 is entered and checked as a percentage
๐ ๏ธ TOOL CHANGE SETTINGS
Tool Numbering (0-MD Control)
| Parameter | Description |
|---|---|
| D483 | Tool number in the spindle |
| D484 | Tool number in the magazine |
| D485 – D504 | From tool 1 to tool 20 |
Turret Reference Establishment (Lathe)
- PMM parameter 11#0 = 1 โ Establishes the turret reference (first set to “0” and rotate the turret, then set to “1”)
D 401#0 โ Turret Position Loss (Goodway TB 150)
This bit becomes “1” when the turret loses position. Setting it to “0” allows the turret to rotate again.
๐ฅ๏ธ DISPLAY AND LANGUAGE SETTINGS
Changing the Language
| Control | Parameter | Description |
|---|---|---|
| 18-M | 3102 (all bits 0) | Switches to English |
| 0i-MC (Rifa) | 3102-3119-3190, all bits 0 | English menu |
| Mitsubishi M70 | 1043 = 1 | English |
Turning the Graphic Screen On/Off
3112#0 (SGD)
- = 0: The graphic screen is shown
- = 1: The Servo Waveform Diagnosis screen is shown instead (the graphic screen does not appear)
3123 โ Screen Saver
Parameter 3123 sets the screen-saver timeout in minutes.
8940 โ Custom Name on the Startup Screen
To change the name shown on startup, enter a 10-character text string in parameter 8940.
๐ง BALLSCREW BACKLASH SETTINGS
535 โ X-Axis Ballscrew Backlash
536 โ Z-Axis Ballscrew Backlash
Applies to: 0-T control
Enter the value in microns (ยตm). It compensates for the play that occurs when the axis reverses direction.
๐ DATA SERVER CONNECTION SETTINGS
Accuway Data Server (M198 Command)
| Parameter | Value |
|---|---|
| 3030 | 3 |
| 20 | 5 |
Twinhorn 0i-MB Data Server
| Parameter | Value |
|---|---|
| 9990#3 | 1 |
| 9988#4 | 1 |
โ๏ธ OTHER IMPORTANT PARAMETERS
5015 โ Inner Diameter Adjustment Parameter (0i-TB Lathe)
- Subtracted if smaller, added if larger
5016 โ Outer Diameter Adjustment Parameter (0i-TB Lathe)
- Subtracted if smaller, added if larger
1466 โ Remove Pass Dwell (0i-TC Lathe)
Setting 1466 = 0 removes the dwell while taking a pass.
2496 โ Chuck Open/Close Time (0i-TB Lathe)
Changing the timer value shortens the chuck open/close time. Example: 2496 = 496
6710 โ Part Counting with M90 (0i-TC Lathe)
Set 6710 = 90. Writing the M90 command above the M99 line enables part counting on Focus machines.
3402#7 โ Automatic Mode After M30 (0i-TC Lathe)
When = 1, seeing M30 or pressing Reset makes the machine automatically accept the G96 and G00 codes.
1401#6 โ Dry Run Rapid Speed (0i-MC)
When set to = 1, the rapid speed can be controlled in Dry Run mode.
6200#7 โ Dry Run
Settings related to the Dry Run function.
518 and 519 โ Idle (Rapid) Axis Speeds
Define the rapid axis movement speeds.
60#5 โ Motor Load Page
When set to = 1, the motor load page opens.
907#3 โ Enable 3rd Axis (Machining Centers)
= 1 enables the 3rd axis.
22#0 and 22#1 โ Absolute Encoder References (TA 32)
After the references are set:
- 22#0 = 1 โ X axis accepts the reference
- 22#1 = 1 โ Z axis accepts the reference.
569#0 โ System Reset to Start
On vertical machines, if the movement is interrupted mid-way at the tool-change position, set = 1 to return the system to the start.
2113 โ Axis Motor Setting
Used for axis motor settings.
5231, 5232, 5233 โ Rigid Tapping (M29) Parameters
Gear-ratio settings for rigid tapping:
- 5231: Position coder tooth count (1st gear)
- 5232: Position coder tooth count (2nd gear)
5114 and 5115 โ G73 / G83 Peck Return Value and Clearance
5114 sets the return (retract) amount after each peck in the high-speed peck drilling cycle (G73 on milling controls). 5115 sets the clearance in the peck drilling cycle (G83 on milling controls): after retracting to the R point, the tool rapids back down and switches to cutting feed this distance above the bottom of the previous peck. Both values are in mm (or inch) according to the input unit. Neither parameter has anything to do with the G84 tapping cycle. On lathes (T series), bit 2 (RTR) of parameter 5101 selects which of the two G83 uses.
Shop note (0i-MD, Twinhorn VP 1500): on this machine 5115 is set to a maximum of 2.00 mm. This is a workshop practice, not a manufacturer limit. The descriptions follow the FANUC 0i-F Parameter Manual (B-64610EN) and are identical in the 0i-D User’s Manual (B-64304EN-2).
3104#6 โ Tool Length Display (18i-MB)
= 1 โ Subtracts the tool length and shows the remaining distance.
3706#6 โ Tool Length Display (0i-MC)
Shows the tool length without adding it.
K1.2 โ Disable Way Lubrication Pressure Switch (Twinhorn)
= 1 โ Disables the way lubrication unit’s pressure switch.
๐ญ RIFA MACHINE-SPECIFIC SETTINGS
Dual Pallet Position Settings
Pallet position setting (in programs O9001 and O9002):
| Parameter | Description |
|---|---|
| 6954 | Y -0.1 (98700 is written as 98600 instead) |
| 6932 | Y +0.1 |
| 6931 | X +0.2 |
| 6951 | X -0.2 |
Tool Change Position:
| Parameter | Description |
|---|---|
| 6950 | X-axis position value written 100 lower |
| 6931 | Y-axis position value written 100 lower |
| 6930 | X-axis position value written 100 higher |
| 6933 | Z-axis position value written 100 higher |
M19 Position Setting (inside the macro):
#1132 = 1430(changed inside O9001)
Sensor Checks:
- X4.4 = 1 (the window switch separating the two pallets)
- X5.2 = 0 (sensor indicating the pallet is not clamped)
- K10.4 = 1 (pallet down)
- K10.2 = 0 (pallet clamped)
Rifa Horizontal Machining Center
3104#6 and #7 = 1 โ The program’s “Z” axis values become the same as the absolute values.
Rifa Tool Change Z-Axis Value (O9001)
- 6930 = 30100 + 0.1
- 6950 = 29900 – 0.1
๐พ PROGRAM COPYING AND TRANSFER
903#7 โ Program Copying (0-MD Control)
Enables the copy function.
0i-MD Running and Transferring from a Card
TAPE โ PROGRAM โ Right arrow โ DIR โ OPRT โ Right arrow โ REFRESHThe card’s contents are displayed.
PLC Loading for Accuway Program Restart
SYSTEM + PMC + I/O + MCARD + READ + EXEC + YES + COMPLETE + โ
22108758 โ DISPLAY
G22108758 โ EDIT
MCARD + FREAD + EXEC + COMPLETE + RUN + YES9930#0 = 1 โ Program Restart
Enables the program restart function.
๐ FOCUS AND SERVO MOTOR PARAMETERS
Focus Motor Adaptation Parameters
| Parameter | Description |
|---|---|
| 2067 | Motor filter |
| 2012 | – |
| 2021 | Inertia load |
Focus Servo Turret Reset
1. Power off the machine
2. When powering the machine back on, the turret must be in the reference position at tool 1
3. Hold one hand on the hydraulics and one hand on the turret rotation control
4. The counter must read 0
Focus FCL-140
K1#0 = 1 โ The part counter stops the machine once the target count is reached.
Which parameters and behaviours changed from 0i-C to 0i-D? (machining center)
FANUC collected the points that trip up anyone moving programs or parameter lists from a 0i-C to a 0i-D machine in the appendix “Differences from Series 0i-C” of the 0i-D machining center user’s manual (B-64304EN-2). The table below summarises the ten items from that appendix that affect operators and programmers directly. The source is the milling (M series) manual; items on G43/G44, drilling cycles and G60 are milling-specific, the rest belong to the control core and apply to lathes as well. Parameter numbers and bits are given exactly as printed; compare them with your machine builder’s parameter list and take a backup before changing anything.
| Topic | 0i-C | 0i-D | What to do |
|---|---|---|---|
| Parameter input from the program | G10 L50 | G10 L52 | Correct L50 lines in old programs. |
| Custom Macro B rules | G65 may share a block with other commands; “GOTO 0” jumps; #500โ#999 default to null; nesting 8 levels in total | G65 and macro-calling M codes must be at the start of the block (PS0127); “GOTO 0” gives PS1128; a sequence number not at block start gives PS0128; #500โ#999 default to 0; #5021โ#5025 are read in the input unit; local variables are always null after reset; nesting 15 levels | Test old macro libraries one by one. |
| Modal data on reset | T/F/S/M and modal G codes of the interrupted block are kept | Not kept; the control returns to the modal data of the previous blocks | Confirm the active tool and offset on screen after a reset. |
| Return to main program with M99 Pxxxx | Searches from the start of the program | Searches forward from the calling block, then from the start | Never use the same N number twice. |
| Drilling canned cycles (milling) | M5T bit 5101#6; G76/G87 retract direction 5101#4 (RD1) and 5101#5 (RD2); missing Q in G73/G83 handled by 5103#1 (QZA) | M5T bit 5105#3; retract direction No. 5148; missing Q always PS0045; K0 behaviour 5105#4 (K0D); small-hole G83 speed equals F when 5172/5173 are zero | Always write Q in peck cycles. |
| Cutter compensation G41/G42 | On an overcut alarm the tool stops at the end of the block; G39 via 5008#2; no compensation in MDI; 3 blocks read ahead | Stops at the start of the block; G39 always available; compensation works in MDI; 3โ8 blocks via No. 19625; 19607#5 (CAV) replaces 5008#0 (CNI); G28 always behaves as CCN=1 | Redo interference-check settings with the new bits. |
| Tool length compensation G43/G44/H (milling) | Effect of H depends on 5001#2 (OFH) and cutter compensation mode; G49 with G40 in one block via 5008#6 (GCS) | H only selects the offset number, G43/G44/G49 switch compensation; G49 always cancels in its own block; vector update via 5001#6 (EVO) | Keep writing G49 in its own block. |
| Offset unit and inch/metric | Unit follows the setting unit; conversion via 5006#0 (OIM) | Unit and range via 5042#0 (OFA) and 5042#1 (OFC); conversion always automatic | Check OFA/OFC before transferring an offset table. |
| Diameter programming per axis | 1006#3 (DIAx)=1 plus CMR halved or DMR doubled | 1006#3 (DIAx)=1 alone is enough | Do not change CMR/DMR with 0i-C logic. |
| Reference return and coordinate behaviour | Manual reference return during feed hold could be allowed by 1800#2 (OZR); reference lost on inch/metric switch; display update on offset change via 1201#5 (AWK) | OZR gone, always PS0091; reference is not lost; display updates immediately; preset on high-speed reference return via 1206#1 (HZP); after a soft OT1 an absolute-command program cannot be resumed | Restart the program from the beginning after a stroke-limit alarm. |
| AI contour / high-speed machining parameters | 1770/1771, 1730/1731, 1785, 1768/1762, 1780, 1431; RBL/BEL bits; 7054#1 (AIR) | Per-axis 1660, 1735, 1737, 1769, 1783, 1432; 1621/1672/1772; 19501#5 (FRP) | Do not copy 0i-C AICC values one to one; move them to the new numbers. |
The appendix also lists smaller differences: the G31 skip bits (6200#4 HSS instead of 6200#5 SLS; PS0035 on torque-limit skip), P in an M198 external call always being a program number and MDI use via 11630#1 (MDE), parts-count and run-hour ranges growing to 9 digits (No. 6710โ6713, 6750โ6758), the handwheel multiplier range widening to 1โ2000 with No. 7110 removed, and a negative value in the ,C/,R chamfer and corner-R command giving PS0006. The 5114/5115 peck-drilling parameters on this page have the same meaning in both series.
Frequently asked questions: how do I change a parameter on a FANUC?
What are the exact steps to change a parameter on a FANUC 0i?
- Put the machine in MDI mode (or press emergency stop).
- Press OFFSET/SETTING and select the [SETTING] soft key.
- Move the cursor to PARAMETER WRITE, type 1 and press INPUT (on some series [(OPRT)] โ [1: ON]). Alarm 100 appears; that is normal.
- Press SYSTEM and select the [PARAM] soft key.
- Type the parameter number and press [NO.SRH] to jump to it.
- Type the new value and press [INPUT]. For bit-type parameters, enter all eight digits from bit 7 to bit 0 together (for example 00000001).
- Return to the SETTING screen and set PARAMETER WRITE back to 0.
- Press RESET to clear alarm 100.
Back up the parameters before the change and consult the builder’s parameter list; a wrong axis, servo or stroke-limit parameter can crash the machine.
Why does alarm 100 (PARAMETER WRITE ENABLE) appear?
Because parameter write permission has been left on. It is not a fault: set PARAMETER WRITE to 0 and press RESET. Do not make a habit of running the machine with write enabled; the next operator can change a parameter by mistake.
What does alarm 000 (PLEASE TURN OFF POWER) mean?
The parameter you changed only takes effect after the power is switched off and on (axis, servo and system configuration parameters, for example). The alarm cannot be cleared with RESET; power the machine off and on. The parameter manual marks these parameters with a “power must be turned off” note.
How do I find the parameter number I am looking for?
On the SYSTEM โ [PARAM] screen, type the number and press the [NO.SRH] soft key; there is no need to page through. Axis-type parameters (such as 1320 stroke limit) show one line per axis.
How do I back up before changing a parameter?
The safest way is to enter the BOOT screen at power-on and take an SRAM backup to a memory card; it contains parameters, offsets and programs together. For a parameter-only backup, SYSTEM โ [PARAM] โ [(OPRT)] โ [PUNCH] writes the parameters to a memory card or to a PC over RS-232. The method is described in our FANUC SRAM backup guide.
I entered a wrong parameter and the machine behaves strangely. What now?
Restore that parameter to its old value immediately; the old value is in your backup list or in the builder’s parameter list. If it affects axis motion, power the machine off and on and make the first move by hand at low override. If you do not know which parameter you changed, restoring the SRAM backup is the quickest way, which is why the backup must be taken before the change.
Why does my 0i-C program raise alarms on a 0i-D?
The three most common reasons: lines that write parameters from the program need G10 L52 on a 0i-D instead of G10 L50; a macro call (G65 or a macro-calling M code) that is not at the start of its block gives PS0127; “GOTO 0” and sequence numbers that are not at the start of a block give PS1128/PS0128. In drilling cycles a missing Q value always gives PS0045 on a 0i-D. Look the alarm number up in the table above.
Can I copy a 0i-C parameter list to a 0i-D machine as it is?
No. Many bits were removed and many parameters moved to new per-axis numbers (for example 1660 instead of 1770/1771, 1735 instead of 1730/1731, 5105#3 instead of 5101#6). Load only the parameter list the machine builder supplies for the 0i-D; enter the individual values you want to carry over from the 0i-C (backlash, pitch error, spindle settings) by hand after checking their new numbers, and take an SRAM backup first.
โ ๏ธ DISCLAIMER
โ ๏ธ MENTOR CNC DISCLAIMER
All technical information, parameter numbers, and procedural steps in this blog post were obtained from machine manuals and technical documentation. However, these details may vary depending on your machine’s brand, model, manufacturer configuration, PLC software, and parameter structure.
For this reason, always record the original values of any parameter before changing it during testing. This lets you revert the change if something goes wrong.
If you have not previously made a Leader PLC, software, or parameter change, be sure to get help from an authorized service provider. Full responsibility for any actions taken rests with the user. Mentor CNC and its content authors cannot be held liable for any malfunction, data loss, or damage that may result.
This guide was prepared for CNC operators and technicians working with FANUC controllers. Always remember to reference your machine’s original documentation as well.
Related Pages
The notes on this page include field observations specific to different FANUC series and certain machine manufacturers. For a more comprehensive, general reference based on your control unit, see: