MTB Technical Services - CNC Engineering, CAD/CAM, Software Development
MTB Tech Blog

Using USB on a Fanuc 0i-D/30i Series Control

The FANUC 0i-D and 30i Series Controls are now supporting USB.
This allows users to use USB Flash drives for program storage as opposed to PCMCIA Adapters with Compact Flash Memory Cards.
There are several advantage to using USB for NC Program storage.

USB now provides users with the ability to create and use Folders to separate and classify their program data.
Additionally, users are no longer limited to an 8 character file name prefix or a 3 character filename suffix. In order to use the USB connection on your FANUC, first verify that a connector has actually been installed by your Machine Tool Builder.

I/O Functionality is controlled by FANUC but it is the Machine Tool Builder who ultimately decides if the hardware to support it is actually installed. Once you have verified that the USB Port actually exists, simply pres MDI and then press the OFFSET/SETTING button. Change the I/O Channel to 17 and you'll be off and running!

17 Comments to Using USB on a Fanuc 0i-D/30i Series Control:

Comments RSS
Shelly Cook on Thursday, January 31, 2013 7:02 AM
About Using USB on a Fanuc 0i-D/30i Series Control which you have come to post here is really enlightening to all of us. I must bookmark your site in my PC for it's significance. Thanks.
Reply to comment

Santiago Dorantes on Wednesday, December 04, 2013 1:07 PM
Hi, I´d like to know if is it posible to run dns with the usb memory
Reply to comment
Tim Markoski on Monday, December 16, 2013 7:39 AM
Santiago, Yes, you can run DNC (Drip Feed) from a USB drive.

Tom Whent on Wednesday, January 01, 2014 7:47 PM
There seems to be very little information available on how to run DNC off of the USB flash drive. Can you give me a point in the right direction please? I have been playing with this trying to run some larger CAM profiling programs on our new 0i equipped VMC. It seems completely foreign to me how Fanuc could be so antiquated right out of the box. 500kB memory in 2013? I am used to working with Heidenhain, so this "new" 0i is quite a shock. The words asinine and needlessly complicated come to mind frequently....VIC20 anyone?
Reply to comment
Tim Markoski on Tuesday, January 07, 2014 7:30 AM
Tom, Here's a graphic that will show you how. It describes the procedure for a Memory Card Make sure your I/O channel is set to 17 and simply pick the USB instead of the Memory Card.

Tony on Thursday, May 15, 2014 2:15 PM
hi, I was wondering if there is a parameter that I would need to change to cut off the chip conveyor, we are not using it but alarm keeps coming up.
Reply to comment
Tim Markoski on Friday, May 16, 2014 3:03 PM
Tony, You'll need to consult with the machine tool builder. Typically, that type of thing is handled via a Keep Relay setting.

Rob on Friday, August 15, 2014 7:28 AM
QUOTE "Tim Markoski on Monday, December 16, 2013 7:39 AM Santiago, Yes, you can run DNC (Drip Feed) from a USB drive." /QUOTE Hi, can you please confirm this and explain how to set up the DNC from a USB on either the 0i-MD or 3xi series that DO have a USB port. On my controls I can set 0020=17 but DNC does not appear as a softkey in the menu compared to MEM CARD or ETHERNET where it does already work.
Reply to comment
Tim Markoski on Friday, August 15, 2014 4:33 PM
The DNC Set and DNC Clear Softkey options for DNC are controlled by the Machine Tool Builder and not FANUC. The Machine Tool Builder controls the PMC. If DNC Set and DNC Clear Softkeys don't show then you won't be able to do it. The only other option is to use a small program in main memory that is simply an M198Pxxxx call to the file on the USB once the I/O channel is set to 17. With this method the file name itself must be Oxxxx with the program ID numbers matching. No file extension is permitted. I will behave just like DNC but without any restart options.

Nick on Saturday, September 19, 2015 11:57 AM
Hello Tim, Have you tried this ? Running programs from USB directly ? It is working with M98 or M198 ? The program must be in the root directory of USB ? Any other things to know about ? Thanks
Reply to comment

Tim Markoski on Monday, October 19, 2015 5:20 AM
The ability to DNC from a USB drive appears to be deliberately obfuscated by FANUC. Allow me to clarify. As a standard feature in a standard FANUC Control, it can not be done. However, in a FANUC Open control that uses Embedded Windows, it can be done. On the Windows controls, you can still set you I/O channel like a regular FANUC control. On a standard FANUC control Channel 4 would be the Memory Card and Channel 17 would be the USB drive. However, on an FANUC Open control using Embedded Windows, there is an additional function available. Users can assign the hardware to channel 4 via right-click. By doing this, you can access the DNC functionality that is available to the Memory Card even though you are actually using the USB drive.
Reply to comment

Ray Navarro on Tuesday, January 05, 2016 4:56 PM
Tim, i have a Doosan/Puma lathe with 32i control. Im getting alarms PS0061 P or Q command not in multiple repetative cycles block. My GM suspects previous owner altered parameter setting. I used this atandard g code double syntax method mant times on other machines. Any ideas?
Reply to comment
Tim Markoski on Tuesday, January 05, 2016 7:39 PM
Ray, This is a programming error. It is either a problem in your program itself or the parameter has been changed to support the single line syntax. It is probably a programming error. Please send the program file to so I can review it.

Farhad on Wednesday, March 09, 2016 4:53 AM
Hi Tom, I verfied that there are two USB port install on the control and when I stick the USB on one the light on USB turn on. I check on the control, but I can not see any USB softkey that I can actually get into it to see the program to transfer or input to the machine. Do you know what to do?
Reply to comment
Tim Markoski on Wednesday, March 09, 2016 5:16 AM
Farhad, You must set the I/O channel to 17. There will not be a USB softkey visible until you you access the 'DEVICE CHANGE' softkey. You will then see the USB softkey option. This will allow you to perform a directory query of the USB and select the file you wish to load to the main NC memory. While the machine is in EDIT mode, press the PROGRAM key and then the OPRT softkey.

jon lilley on Tuesday, April 26, 2016 4:55 PM
Hi Tim, Just came across this site, we have a Doosan Puma 3100m with a Oi model D controller, we are trying to use compact flash adapter cards CF type 1 with SD cards in them (2GB)I can get the machine to output but not read back you visibly can not see the program. Any ideas please? regards Jon
Reply to comment
Tim Markoski on Wednesday, April 27, 2016 8:32 AM
You're making a few mistakes in how you see what on the card. I sent you a PDF that will help You need to perform a DEVICE CHANGE. While the machine is in EDIT mode, press the PROGRAM key and then the OPRT softkey. Press DEVICE CHANGE and MEMORY CARD

Add a Comment

Your Name:
Email Address: (Required)
Make your text bigger, bold, italic and more with HTML tags. We'll show you how.
Post Comment
RSS Follow

Recent Posts

ObjectDialogue™ - A File Open/Save Dialogue Replacement for Developers
SIEMENS 840D - Creating Custom Cycles
SIEMENS 840D - Creating Custom M-Codes
FANUC G43.5 RTCP Type II - Vector Programming for 5-Axis
CAM Software Vendors and Post-Processors


CNC Techniques
CNC Technology
FANUC Settings
SIEMENS Settings
Utility Software
powered by