Postprocessor for SheetCam - On 2 Page - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
Author: Nikolay81
Print Previous Topic Next Topic

Postprocessor for SheetCam

[Copy Link]

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
11#
Posted at 2018-7-26 07:37:06 | Only Author
Last edited by ytliu In 2018-7-26 08:35 Editor
Nikolay81 Posted at 2018-7-25 18:45
Many thanks to Ytliu!
The M110 command is working. Now, almost everything is perfect.
There are 3  ...

Hi,Nikolay81!
1. When the DDCSV system starts machining or resumes machining, it will first execute safez.nc to move the Z axis to the safe height (#82 definition). If you do not need this action, you can clear the contents of safez.nc;
2. In the new installation package, when the code line containing () is executed, the contents of the parentheses are extracted for display without displaying the entire line;
3. The buzzer control command must have a corresponding output port, and the current DDCSV has no redundant output for buzzer control;

install(2018-07-25-96).zip

576.01 KB, Down times: 458

Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
12#
 Author| Posted at 2018-7-28 06:02:02 | Only Author
ytliu Posted at 2018-7-26 07:37
Hi,Nikolay81!
1. When the DDCSV system starts machining or resumes machining, it will first execute ...

Ytliu, many thanks! This is what you need. Now the name of the instrument is displayed really comfortably. Very good solution.
Two problems remain:-If the command M110 is executed from the G-code - everything is fine. The z axis does not move. If the M110 is inserted into the T.nc - everything is bad. The z axis moves and can rest against the limit.
-Commands like G90G92X0Y0 should set new axes coordinates. The axes must not move. Otherwise it does not make sense. But with G92, the z-axis still rises, and then
new coordinates are set. If you delete the contents of SafeZ.nc - all is well. But the pause stops working correctly when you click on the "PAUSE" button.
If you defeat these 2 problems, everything will be perfect. What do you think, can this be solved?

Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
13#
Posted at 2018-7-28 06:39:59 | Only Author
Nikolay81 Posted at 2018-7-28 06:02
Ytliu, many thanks! This is what you need. Now the name of the instrument is displayed really comf ...

Please upload the /mnt/nand1-1/setting file and processing files (including T.nc) in your controller.This will help me analyze the problem.
Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
14#
 Author| Posted at 2018-7-28 20:47:01 | Only Author
Last edited by Nikolay81 In 2018-7-28 20:49 Editor
ytliu Posted at 2018-7-28 06:39
Please upload the /mnt/nand1-1/setting file and processing files (including T.nc) in your controll ...

To reproduce the problem, you need:
-plit the z-axis to the machine coordinates 0mm
-run the program test1.tap

After the controller writes the name of the tool, move the z-axis down, closer to the table and zero all axes.
Then press start.
Sometimes, the problem does not manifest itself for the first time.
The program has 2 tool changers.
On the second tool change, the problem will definitely appear.

When the controller writes a second time about changing the tool, again move the z-axis closer to the table (as if pointing the workpiece zero) and zero all axes.

Sometimes, instead of the name of the tool, he writes "syntax checking".
But I still can not find the conditions under which this problem always appears.

The problem with the command G90G92X0Y0 disappeared. He no longer raises the z-axis.
I do not know why it happened. Yesterday he raised, today does not raise.
Maybe because I once again to flash it. But the firmware was the same as yesterday.

test.rar

486.1 KB, Down times: 555

Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
15#
Posted at 2018-7-29 07:07:52 | Only Author
Nikolay81 Posted at 2018-7-28 20:47
To reproduce the problem, you need:
-plit the z-axis to the machine coordinates 0mm
-run the progra ...

It is not the Z-axis motion caused by G92. After starting the machining, the safez.nc will be executed first. If the current Z axis is below the safe altitude, safez.nc will raise Z to a safe altitude. Otherwise, the Z axis does not move. This should be the reason for "Yesterday he raised, today does not raise." In the attachment, I have emptied the contents of safez.nc.

install.zip

569.55 KB, Down times: 545

Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
16#
 Author| Posted at 2018-7-29 20:51:20 | Only Author
ytliu Posted at 2018-7-29 07:07
It is not the Z-axis motion caused by G92. After starting the machining, the safez.nc will be exec ...

Thank you, Ytliu. Now, at last the tool change and pause work correctly.
G92 and M110 do not lift the z-axis. Pause by pressing the "pause" button, raises the z-axis.
When you make new firmware, please check the correctness of the test1.tap program with the module T.nc.
And it happens that one bug is removed, and 2 new bugs are added :-)

About the sound signal. Perhaps we do not understand each other because of a bad translation.
I'm talking about that buzzer, which is soldered to the board, inside DDCSV2.2. See the photo.
I can connect the speaker to the M8 / M9 or M10 / M11 outputs. And play the audio signal this way.
But I would like to leave these outputs free.
You could add an audio signal to the M110 command.
Can I make a separate command that will make the internal speaker DDCSV2.2 sound?
Like the M300 on a 3d printer.
Or such a command is not possible, because of the features of the DDCSV2.2 software?

11.jpg (285.18 KB, Down times: 516)

11.jpg

Test.rar

355 Bytes, Down times: 537

Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
17#
Posted at 2018-7-29 22:34:44 | Only Author
Nikolay81 Posted at 2018-7-29 20:51
Thank you, Ytliu. Now, at last the tool change and pause work correctly.
G92 and M110 do not lift  ...

Hi,Nikolay,
Can you provide detailed operation videos? And indicate when the problem occurred.
I understand the operation of the sound signal.
Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
18#
 Author| Posted at 2018-7-30 00:59:30 | Only Author
Probably, again the difficulties of translation.
No problem. You have solved them.
Now everything works as it should. Thanks to your work.

There is another task. In different places of the control program, it is convenient to insert the sound signal command. Which informs the operator about the achievement of certain points of the program. For example, that soon it is necessary to change the instrument. To the operator found out about this in a minute and had time to prepare. And situations in which you need a separate command sound signal can be a lot. In many CNC machines this is realized.

You in fact now carry out my wishes, first of all in order that DDCSV became more convenient for people. And this means that people will buy more of it.
A separate sound signal command will be convenient for many people.

I ask whether it is easy to make such a command on  DDCSV . Which will play the sound, built-in buzzer, a certain duration.
If it is impossible - the question is closed.What you have done is already enough to comfortably use this controller.
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
19#
Posted at 2018-7-31 06:15:21 | Only Author
Nikolay81 Posted at 2018-7-30 00:59
Probably, again the difficulties of translation.
No problem. You have solved them.
Now everything wo ...

ok,I will implement this function.
Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
20#
 Author| Posted at 2018-7-31 15:15:55 | Only Author
ytliu Posted at 2018-7-31 06:15
ok,I will implement this function.

In the process of work, there was a problem with the command M6(toolname).
This command should execute the contents of T.nc and write the name of the tool on the screen.
In small simple programs - everything is fine.
And in large programs, instead of the name of the instrument, the controller often writes "SYNTAX CHECK 5".
The problem is not permanent. In the same program, it can appear once, but the second time it does not manifest itself.
But I found a program in which the problem is always present. It is in the archive attached to the message. File Test2.tap
If in this program the line M6 (toolname) is replaced with the contents of the T.nc file - everything will be fine. That is, the problem is related to the M6 ​​command.
I increased the values ​​of parameters # 2 "Display response during working", and # 396 "Number of line". I wrote M5 before and after M6.
Unfortunately, this did not help.
I ask you to test the Test2.tap program with the T.nc module and solve the problem. If possible.

IMG_20180730_173501[1].jpg (152.59 KB, Down times: 512)

IMG_20180730_173501[1].jpg

1.rar

489.94 KB, Down times: 539

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