One dangerous bug and a G53 out of sync bug - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
View: 5699|Reply: 5
Print Previous Topic Next Topic

One dangerous bug and a G53 out of sync bug

[Copy Link]

9

Threads

44

Posts

343

Credits

Intermediate Member

Rank: 3Rank: 3

Credits
343
Jump to the specified floor
Landlord
Posted at 2018-12-31 22:18:43 | Only Author Replies reward |Descending browser |Read mode
Hi All!

Yesterday I detected a dangerous bug in the DDCSV software:
If a comments in the G-Code following a ";" is too long (dont know exactly, how long, about 80 characters) , the behaviour of the controler is undefined or it hangs completely!
I don't know if the same is true with the "()" comments - may be.

Another "bug" which appears yesterday: My world- and G53 coordinates are out of sync! E.G. G53 G00 G90 Z10 results in a world Z-coordinate of -187,5! Homing, resetting... does not help.
This 177,5 difference appeared after a controller crash (caused by the "too long comment bug" described above) and since then it is burned into the controller. Has anybody an idea how to get rid of it? May be setting some #xxx values?

When switching between the different corrdinate G54..G59+"Mach" by the controller buttons, G53 is never displayed. But: Using a program, which useses G53 at it's end, you may see the "G53" (colored in green as "Mach") in the display even after the end o the program. This is a bit dangerous, if your next program dose not switch to G54 in the first statements...

Ytliu, the G53 out of sync bug is urgent for me, do you have any quick idea?

Thanx in advance

Josef



Reply

Use props Report

7

Threads

43

Posts

195

Credits

Registered member

Rank: 2

Credits
195
Sofa
Posted at 2019-1-1 23:09:58 | Only Author
Hopefully you have a backup of your Settings file. I would overwrite the current with your backup.
Reply Support Opposition

Use props Report

7

Threads

43

Posts

195

Credits

Registered member

Rank: 2

Credits
195
Bench
Posted at 2019-1-1 23:19:36 | Only Author
Maybe check #82 for -197.5 first.
Reply Support Opposition

Use props Report

9

Threads

44

Posts

343

Credits

Intermediate Member

Rank: 3Rank: 3

Credits
343
Floor
 Author| Posted at 2019-1-2 20:12:09 | Only Author
Hi edelec,

checking #82 for a wrong value was too easy. Sadly ist value is 2.5mm, as expected…
I have an (somewhat outdatet, of course) backup of my settings, but before overwriting them, I'll wait a day or so for an answer from ytliu, may be he reads this…

Happy new year from Germany

Josef
Reply Support Opposition

Use props Report

9

Threads

44

Posts

343

Credits

Intermediate Member

Rank: 3Rank: 3

Credits
343
5#
 Author| Posted at 2019-1-4 19:10:52 | Only Author
Hi all!

I got rid of this unusual G53 behvour by using the G153 instruction instead. The only difference is, that G153 seems to need paramters to work which was not a big deal in my case.
It was mentioned here in another post that G53 "does not work". I think, this is not completely correct. There seems to be a difference beteween the 0,0,0 cordinates after homing (I think, this are the "MACH"-coordinates) and the G53 coordinates - the only Problem is, that the G53-to-Mach-Offsets can not set by hand in normal cases, since G53 is not selectable by keyborad. Sometimes, this green "G53"-cordinate system appears in the display after a program end (currently I don't have a clou, when exactly) and changin it by zero-ing e.g. the Z coordinate results in the problems. But this only an educated guess...
Perhaps ytilu can clearify this a bit.
This embarrassing bug concerning the too Long comments still remains and I hope, this will be fixed soon!

Josef

Josef
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
6#
Posted at 2019-1-8 06:45:27 | Only Author
Sorry, I didn't answer your question in time.

In the DDCSV system, G53 is a separate coordinate system, which is built on the MACH coordinate system, and G54-G59 is built on the G53 coordinate system. G53 is not a MACH coordinate system motion command.

The G53 is used in the same way as the G54-G59. It can be used to switch the coordinate system. You can modify the configuration file (eng) to manually set the G53.

#395=1 -t2 -s1"support of G53 coordinate sys" -s3"0:support,1:not support" -m0 -min=0.000 -max=1.000 -i0"Yes" -i1"No"
Change to
#395=0 -t2 -s1"support of G53 coordinate sys" -s3"0:support,1:not support" -m0 -min=0.000 -max=1.000 -i0"Yes" -i1"No"

As for the comment, as you said, the current comment buffer length is 80. If the length is exceeded, it will cause the system to freeze.
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