Digital Dream Technology support

Title: Run G code from internal memory [Print This Page]

Author: neel8440924    Time: 2019-3-17 22:03
Title: Run G code from internal memory
Ddcsv2.1 have 256Mb internal memory, is it possible to copy program file from pen drive to internal memory, then disconnect pen drive, and run program (g code) from internal memory instead of pen drive.
Author: edelec    Time: 2019-3-17 23:05
Yes you can

Author: neel8440924    Time: 2019-3-17 23:59
Hi edelec,
I connect pen drive then copy test.nc file from directory "udisk-sda1" and paste to "udisk-sda", then i disconnect pen drive and restart controller, but when i go to "udisk-sda", test.nc file disappears.
I am using ver 106, and #120 "U disk partition type" is set to "with partition"
I dont know what i am doing wrong, can you please help.
Thanks
Author: edelec    Time: 2019-3-18 03:38
Udisk-sda1 is the USB stick as you realise. The Memory area of the controller is a Nand1-1.
Highlight you memory stick file, "Copy" then highlight mnt "Enter" on mnt, then down to nand1-1 then "Enter". You can now paste and your file is now in the memory. You can also copy some of the .nc files from here back to your memory stick and look at them with a text editor
Hope this makes sense
Author: neel8440924    Time: 2019-3-18 05:26
Yes, it works now, thank you so much.
One minor issue though, "mnt/nand1-1" also contain system files, so it is easy to accidentally delete system file during loading and deleting program, is there a way to create seperate folder in internal memory to avoid this.
Author: ytliu    Time: 2019-3-18 07:51
Sorry, there is no way for users to create directories in /nand1-1/.

If you copy G code to /nand1-1/ for execution, please pay attention to regular cleaning.
Author: neel8440924    Time: 2019-3-18 08:59
Hi ytliu,
Is it possible to make "mnt/nand1-2" directory user writable,  to copy g code and run from there?
Currently file disappear from nand1-2 after restart and unable to run file from there.

Also how much free space is available for loading program out of 256mb?
Thanks
Author: ytliu    Time: 2019-3-18 09:54
DDCSV2.1 uses 32M bytes of SPI FLASH, which is mounted to /mnt/nand1-1/. If you want to use it to store programs, I can provide you with a custom program that will be Create a subdirectory under /mnt/nand1-1/ .
Author: neel8440924    Time: 2019-3-18 14:44
Thanks for support. That would be nice.
Will i still be able to update to future versions and still keep this functionality?
Thanks

Author: ytliu    Time: 2019-3-18 15:37
Yes, don't worry.
This program will automatically create the /mnt/nand1-1/gcode directory.

install.zip

582.46 KB, Down times: 1609


Author: neel8440924    Time: 2019-3-18 21:47
It worked perfectly, now it is easy to run g code for frequent jobs directly from controller and improve reliability for important jobs. Max 24 Megabyte can be used for storing program.
Thank you so much.




Welcome Digital Dream Technology support (http://bbs.ddcnc.com/) Powered by Discuz! X3