Unable to open nc files (Resolved)

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

cncsnw
Posts: 3853
Joined: Wed Mar 24, 2010 5:48 pm

Re: Unable to open nc files

Post by cncsnw »

martyscncgarage wrote: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.
CNC12 only does that if you have bit 0 of Parameter 4 set (e.g. P4 = 1, 5, or 9).

Having that bit set is the standard configuration, but it can be turned off if you prefer to just use the file where it sits.

There is also an option (via bit 1, value +2) to "cache" CNC files. With this option a temporary copy of the current job is made on the c: drive, and the control runs that temporary copy, but it is deleted and replaced when you load a different job.
martyscncgarage
Posts: 9914
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 »

cncsnw wrote: Wed Feb 03, 2021 11:52 pm
martyscncgarage wrote: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.
CNC12 only does that if you have bit 0 of Parameter 4 set (e.g. P4 = 1, 5, or 9).

Having that bit set is the standard configuration, but it can be turned off if you prefer to just use the file where it sits.

There is also an option (via bit 1, value +2) to "cache" CNC files. With this option a temporary copy of the current job is made on the c: drive, and the control runs that temporary copy, but it is deleted and replaced when you load a different job.
Interesting, what is the purpose or thought he nd those options? Practicality?
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
cncsnw
Posts: 3853
Joined: Wed Mar 24, 2010 5:48 pm

Re: Unable to open nc files

Post by cncsnw »

The caching option (P4 += 2) is mostly used with large jobs on network connections.

Having a local copy while the job runs means that the job will not be interrupted if the network connection is lost while the job is running.

Having the local copy be temporary ensures that the control's hard drive space does not eventually fill up with very large one-off job files; and ensures that there is only one "master" copy of the file.

If the caching software feature is working correctly, then edits (F6/Edit) will open the original file over the network, and not the cached copy; and any time the original file has changed when you try to run it, then a fresh copy will be downloaded.
martyscncgarage
Posts: 9914
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 »

cncsnw wrote: Thu Feb 04, 2021 2:43 pm The caching option (P4 += 2) is mostly used with large jobs on network connections.

Having a local copy while the job runs means that the job will not be interrupted if the network connection is lost while the job is running.

Having the local copy be temporary ensures that the control's hard drive space does not eventually fill up with very large one-off job files; and ensures that there is only one "master" copy of the file.

If the caching software feature is working correctly, then edits (F6/Edit) will open the original file over the network, and not the cached copy; and any time the original file has changed when you try to run it, then a fresh copy will be downloaded.
Thanks for pointing out those file features to us Marc!
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
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 »

Sorry for the delayed response guys!

Turns out it was an issue with the USB stick, I switched to another one and the issue went away.

Thanks for the help and sorry for the fire drill! :roll:
Post Reply