Unable to open nc files < run files from USB, copy files from USB automatically>

Moderator: cnckeith

FKreider
Posts: 30
Joined: Wed Mar 27, 2019 10:53 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Unable to open nc files < run files from USB, copy files from USB automatically>

Post by FKreider »

Hello everyone,

Please forgive me if this has been discussed in the past- I used the search function but did not see any relevant results.

I am programming in Fusion 360 and used the standard CENTROID fusion post processor.

When I try to open the file from my flash drive through CNC12 I get the following error:
errorpic.jpg
(This is happening on a machine running an Acorn board that is not connected to the internet and I followed every step in the acron PC setup guide.)
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Unable to open nc files

Post by martyscncgarage »

FKreider wrote: Sun Jan 31, 2021 11:55 pm Hello everyone,

Please forgive me if this has been discussed in the past- I used the search function but did not see any relevant results.

I am programming in Fusion 360 and used the standard CENTROID fusion post processor.

When I try to open the file from my flash drive through CNC12 I get the following error:

errorpic.jpg

(This is happening on a machine running an Acorn board that is not connected to the internet and I followed every step in the acron PC setup guide.)
Post the G code file in its exact format here.
It must be a text file.
It should be a .nc or .cnc file
Can you open it with a text editor like Notepad++?


Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
swissi
Posts: 573
Joined: Wed Aug 29, 2018 11:15 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 985DADEB24D5-0309180716
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Unable to open nc files

Post by swissi »

FKreider wrote: Sun Jan 31, 2021 11:55 pm Hello everyone,

Please forgive me if this has been discussed in the past- I used the search function but did not see any relevant results.

I am programming in Fusion 360 and used the standard CENTROID fusion post processor.

When I try to open the file from my flash drive through CNC12 I get the following error:

errorpic.jpg

(This is happening on a machine running an Acorn board that is not connected to the internet and I followed every step in the acron PC setup guide.)
Looks like your flash drive is formatted with NTFS and has permissions set that don't allow your CNC-PC to access them.

Just open a regular Windows File-Explorer on your CNC12 PC and try to copy the file from the flash drive to the c:\cncm\ncfiles folder on your CNC12 PC.
If this is giving you also a permission error, this has nothing to do with CNC12. You have a permission problem on your Flash drive that you need to solve.

-swissi
If you are using Fusion 360, check out my CNC12 specific Post Processor
If you are using a Touch Probe, Tool Touch Off Device or a Triple Corner Finder Plate, check out my ProbeApp

Contact me at swissi2000@gmail.com
FKreider
Posts: 30
Joined: Wed Mar 27, 2019 10:53 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Unable to open nc files

Post by FKreider »

I just attempted to open the file on a 3rd computer as a sanity check and that computer wouldn't even recognize the USB drive. I will try a different flash drive and report back.
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Unable to open nc files

Post by martyscncgarage »

Reformat the flash drive on the Win10 PC
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Nigelo
Posts: 366
Joined: Tue Dec 11, 2018 4:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: F045DA80C8B8-0905181172
E415F6F70BC3-0318203049
98F07B91FC6B-0123236802
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Unable to open nc files

Post by Nigelo »

Generally, it's not good practice to routinely open any file direct from a flash drive. Open the flash drive with Windows explorer and copy the file to your CNC-PC (e.g. Desktop) and then open it from there.

Just my 2 cents
"You can lead a horse to water but you cannot force it to drink"
Hope this helps
Nigel
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Unable to open nc files

Post by martyscncgarage »

FKreider wrote: Mon Feb 01, 2021 10:28 am I just attempted to open the file on a 3rd computer as a sanity check and that computer wouldn't even recognize the USB drive. I will try a different flash drive and report back.
Please let us know if you resolved your issue and if so, what you did.
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
tblough
Posts: 3072
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Unable to open nc files

Post by tblough »

Nigelo wrote: Mon Feb 01, 2021 1:39 pm Generally, it's not good practice to routinely open any file direct from a flash drive. Open the flash drive with Windows explorer and copy the file to your CNC-PC (e.g. Desktop) and then open it from there.

Just my 2 cents
Parameter 4 controls whether the files are automatically copied to the hard drive, and you can adjust this to fit your preference so you don't have to manually copy files. This was originally implemented to copy files from floppies to the faster SSD. Now, flash drives are sufficiently fast and since you are only reading from the flash, there is no downside to running files directly from thumb drives and automatic copy can be left off to prevent clutter of your cnc directory.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Nigelo
Posts: 366
Joined: Tue Dec 11, 2018 4:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: F045DA80C8B8-0905181172
E415F6F70BC3-0318203049
98F07B91FC6B-0123236802
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Unable to open nc files

Post by Nigelo »

Good point about para 4, Tom, I hadn't considered that.

I should have expanded my point to say that opening a file direct from a thumb drive is just one step away from a User editing and saving back to thumb drive but forgetting to "eject" the thumb drive where cached write is still enabled = File corruption waiting to happen. Of course, the latter could still happen when a modified file is copied back to the thumb drive in its entirety but risks are reduced.
"You can lead a horse to water but you cannot force it to drink"
Hope this helps
Nigel
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Unable to open nc files

Post by martyscncgarage »

Nigelo wrote: Wed Feb 03, 2021 8:01 am Good point about para 4, Tom, I hadn't considered that.

I should have expanded my point to say that opening a file direct from a thumb drive is just one step away from a User editing and saving back to thumb drive but forgetting to "eject" the thumb drive where cached write is still enabled = File corruption waiting to happen. Of course, the latter could still happen when a modified file is copied back to the thumb drive in its entirety but risks are reduced.
I never have had an issue. When you point CNC12 to the file on a USB drive, it immediately copies the file the C:\CNCM(T)|NCFILES directory.
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Post Reply