MPG driving the .nc file. - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
12Next
Return to List Add thread
View: 18659|Reply: 14
Print Previous Topic Next Topic

MPG driving the .nc file.

[Copy Link]

12

Threads

50

Posts

324

Credits

Intermediate Member

Rank: 3Rank: 3

Credits
324
Jump to the specified floor
Landlord
Posted at 2019-4-27 13:52:55 | Only Author Replies reward |Descending browser |Read mode
Hello Ytliu.

I watched your facebook video of the MPG running the .nc file.
really fantastic, this feature would be useful when setting up new parts to me machined.
So how do you do this is the question.
Well done my friend.

John
Spain
Reply

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
recommend
Posted at 2019-5-15 12:49:51 | Only Author
Ver:2019-05-15-109 Description:
1. Increase the coordinate record macro function;(Pending verification)
http://bbs.ddcnc.com/forum.php?m ... tra=page%3D1&page=2
2. Add the macro function GetCenterPos[]: Find the center of the circle through the 3 points on the circle.
GetCenterPos[x1,y1,x2,y2,x3,y3,n1,n2]
x1, y1 is the x-y coordinate of the first point;
x2, y2 are the x-y coordinates of the second point;
x3, y3 are the x-y coordinates of the third point;
n1 is a variable index storing the X coordinate of the center, for example, n1=4, then #4=x coordinate of the center;
n2 is a variable index storing the Y coordinate of the center, for example, n2=5, then #5=y coordinate of the center;
https://www.facebook.com/groups/ ... k/2823155341034952/
3. Increase the all-axis return zero function in the machine coordinate system.
https://www.facebook.com/groups/ ... k/2826643040686182/
4. In the file page, sort by file name
https://www.facebook.com/groups/ ... k/2832029936814159/
5. Change the file editing font and correct the error that the file cannot be edited;

install(2019-05-15-109).zip

604.91 KB, Down times: 1352

Reply Support 1 Opposition 0

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
Sofa
Posted at 2019-4-28 07:49:41 | Only Author
you need to set the #3 parameter ("Function of tool path key") to 1, and the "TOOL PATH" key will be used to enter or exit the MPG guidance function.
Reply Support Opposition

Use props Report

12

Threads

50

Posts

324

Credits

Intermediate Member

Rank: 3Rank: 3

Credits
324
Bench
 Author| Posted at 2019-4-28 13:19:30 | Only Author
Brilliant

Thanks

John
Reply Support Opposition

Use props Report

12

Threads

50

Posts

324

Credits

Intermediate Member

Rank: 3Rank: 3

Credits
324
Floor
 Author| Posted at 2019-5-14 02:59:14 | Only Author
ytliu

If I wanted to verify a particular nc type code (programme) looking at each line for line by using the MPG.
What settings on the MPG do I need.
I understand the control will not view the code(programme) IE in reverse but only forwards.
The setting MPG #3 "jog" ? to next line of a code would be very useful when setting up and verifying new programs prior to running using the "RUN" key. less accidents.
I could then alter the through my remote keyboard  EDIT the file through the remote keyboard and save back to the USB stick ?
Thanks
John (BARCA) forever
Spain

Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
5#
Posted at 2019-5-14 06:19:05 | Only Author
If you want to check the nc code line by line, you can use the single step mode (SBK): in the READY state, press the F4 key, the system enters the single step mode, after which the start key is pressed each time. The code executes one line. Press the F4 key after pressing the Pause key and the system will exit the single step mode.

In order to use the above features, you need to connect the usb keyboard.

With the usb keyboard, you can edit the nc code online.
Reply Support Opposition

Use props Report

12

Threads

50

Posts

324

Credits

Intermediate Member

Rank: 3Rank: 3

Credits
324
6#
 Author| Posted at 2019-5-14 13:16:37 | Only Author
Ytliu

Many thanks, I will try this morning.

Best regards

John
Spain
Reply Support Opposition

Use props Report

12

Threads

50

Posts

324

Credits

Intermediate Member

Rank: 3Rank: 3

Credits
324
7#
 Author| Posted at 2019-5-15 01:47:59 | Only Author
Hello Ytliu.

Using version 2019-03-20-107 NOR

Connected a USB hub to the control USB input, 1 port is a wireless keyboard plug but
at first the control display would not see my USB stick with the NC file.
Just the main files and parameter files.
All scroll and entr functions were OK.
Then changed parameter #120 to 1, then the control was able to see the nc file.
So far no problems.
Now entered the program and it ran it OK under the normal mode cont mode.
Paused the program and I sent the mill back to start all over from the beginning.
Again not a problem.
Pressed reset, entered in the file again, and pressed F4 on the keyboard, this did not work.
I pressed the start button and SBK appeared on the top LH of the screen, by pressing this
it did jump from line to line but stalled after 10 lines, and the control "locked" up. Froze.
I had to power down and power up, not a major issue.

So I tried the F3 to edit, the program lines appeared, but no visible cursor on the screen so
it would not let me edit or scroll.
Running a black background with white numbers letters.

I think I am doing something wrong.
Please help
Thanks
John
Spain

Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
9#
Posted at 2019-5-15 12:53:04 | Only Author
In addition, in the single-step mode, sometimes there is no response by pressing the start button, I am looking for the cause of the problem.

If this happens, you don't need to turn off the power, you can press the reset button to exit.
Reply Support Opposition

Use props Report

12

Threads

50

Posts

324

Credits

Intermediate Member

Rank: 3Rank: 3

Credits
324
10#
 Author| Posted at 2019-5-15 22:36:14 | Only Author
Ytliu
New version loaded OK.
F3 cursor and edit functions now OK.

F4 and enter works for about 7 lines and locks up.
SBK visible in the LH top of the screen.

Thanks

John
Spain
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