Run G code from internal memory - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
12Next
Return to List Add thread
View: 12319|Reply: 10
Print Previous Topic Next Topic

Run G code from internal memory

[Copy Link]

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
Jump to the specified floor
Landlord
Posted at 2019-3-17 22:03:01 | Only Author Replies reward |Descending browser |Read mode
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.
Reply

Use props Report

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
Bench
 Author| Posted at 2019-3-17 23:59:57 | Only Author
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
Reply Support Opposition

Use props Report

7

Threads

43

Posts

195

Credits

Registered member

Rank: 2

Credits
195
Floor
Posted at 2019-3-18 03:38:05 | Only Author
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
Reply Support Opposition

Use props Report

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
5#
 Author| Posted at 2019-3-18 05:26:22 | Only Author
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.
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
6#
Posted at 2019-3-18 07:51:51 | Only Author
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.
Reply Support Opposition

Use props Report

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
7#
 Author| Posted at 2019-3-18 08:59:38 | Only Author
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
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
8#
Posted at 2019-3-18 09:54:49 | Only Author
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/ .
Reply Support Opposition

Use props Report

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
9#
 Author| Posted at 2019-3-18 14:44:42 | Only Author
Thanks for support. That would be nice.
Will i still be able to update to future versions and still keep this functionality?
Thanks
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
10#
Posted at 2019-3-18 15:37:26 | Only Author
Yes, don't worry.
This program will automatically create the /mnt/nand1-1/gcode directory.

install.zip

582.46 KB, Down times: 1620

Reply Support Opposition

Use props Report

You need to log in before you can reply Login | Register now

This forum Credits Rules

Shenzhen Digital Dream Numerical Technology Co., Ltd. support
Adress:507,A Building,Leibo Industry Zone,No. 22 Jinxiu East Road,Kengzi Street,Pingshan district,Shenzhen City,P.R. of China
Phone:13244704799
E-mail:info@ddcnc.com

TEL

0755-87654321

Wchat

Website designed by DigitalDream Technology Support
Quick Reply Back to top Back to list