Seperate X,Y,Z,A operation accelerations? - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
12Next
Return to List Add thread
View: 12060|Reply: 10
Print Previous Topic Next Topic

Seperate X,Y,Z,A operation accelerations?

[Copy Link]

10

Threads

24

Posts

116

Credits

Registered member

Rank: 2

Credits
116
Jump to the specified floor
Landlord
Posted at 2018-10-3 05:14:13 | Only Author Replies reward |Descending browser |Read mode

I am automating a surface grinder which has vastly different control ratios on its three axes and therefore needs significantly different (mm/s^2) accelerations for each axis.

I got my DDCSV2.1 working well in CONT and MPG modes by tuning M_Ctrl accelerataion and deceleration parameters #45,#46,#47,#263,#264,#265.

Now that I try to run G-Code driven automatic operation I noticed that X,Y,and Z axis all seem to accelerate under the single mm/s^2 acceleration value in parameter #99 (operation acceleration).

Is there any way that I can seperate "operation acceleration" for X,Y, and Z axis while running from G-Code?

For example, I use these axis-specific accelerations which work great in M_Ctrl mode but, for automatic operation, I am forced to set parameter #99 to the least of these (2.0 mm/s^2) which results in a VERY slowly accelerating X-axis:

X: 150 mm/s^2
Y: 7.5 mm/s^2
Z: 2.0 mm/s^2

TOM


Reply

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
recommend
Posted at 2018-10-6 06:29:37 | Only Author
math_indy Posted at 2018-10-5 22:59
OH WOW--MUCH BETTER!

I installed custom version 2018-10-04-XXX and now I have the accelerations tha ...

Don't worry, if there is no problem with this change, I will add it to the subsequent official version.
Reply Support 1 Opposition 0

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
Sofa
Posted at 2018-10-3 07:58:07 | Only Author
I understand your request, I will try to change the software, but I am not very sure to solve your problem.

Can you upload your settings and gcode files to the forum?This will make it easier for me to test。
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
Bench
Posted at 2018-10-3 07:58:21 | Only Author
I understand your request, I will try to change the software, but I am not very sure to solve your problem.

Can you upload your settings and gcode files to the forum?This will make it easier for me to test。
Reply Support Opposition

Use props Report

10

Threads

24

Posts

116

Credits

Registered member

Rank: 2

Credits
116
Floor
 Author| Posted at 2018-10-3 22:33:09 | Only Author
On this surface grinder installation the DDCSV2.1 works great in CONT and MPG but inability to have axis-specific accelerations in automatic processing mode (GCODE) may be a serious problem for my project.

(work around idea): If there were a way to change parameter #99 from within the G-Code program then I could command parameter #99 to an axis specific value before every new axis G1 movement?

MY SETUP:
All other parameters are default.  Changed parameters are:
#34=435.031
#35=394.242
#36=7875.575
#392=0
#41=6350
#42=1000
#43=250
#45=150
#46=7.5
#47=2.0
#100=6350
#101=1000
#102=250
#263=150
#264=7.5
#265=2.0
#15=0
#76=6350
#77=6350
#78=250
#79=250
#80=6350  (because each axis speed capability is unique I don't use G0)
#99=2.0  (works perfect for Z-Axis but acceleration too slow for X and Y)
#98=3797
#221=3625
#433=0
#448=1
#1=0
#115=1

(TEST CODE, SPEEDS IN mm/min, Locations in INCH)
G20
G90
G54
G01 F250. Z0.1
G01 F250. Z0.0
G01 F6350. X5.0
G01 F6350. X0.0
G01 F1000. Y0.5
G01 F1000. Y0.0
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
5#
Posted at 2018-10-4 16:39:53 | Only Author
math_indy Posted at 2018-10-3 22:33
On this surface grinder installation the DDCSV2.1 works great in CONT and MPG but inability to have  ...

I optimized the program according to the parameters you provided.
Note: Set parameter #99 with the minimum acceleration in the XYZ axis.

install(2018-10-04-XXX).zip

591.21 KB, Down times: 1999

Reply Support Opposition

Use props Report

10

Threads

24

Posts

116

Credits

Registered member

Rank: 2

Credits
116
6#
 Author| Posted at 2018-10-5 22:59:51 | Only Author
OH WOW--MUCH BETTER!

I installed custom version 2018-10-04-XXX and now I have the accelerations that I need on X,Y, and Z axis--VERY HAPPY NOW.  

DDCSV2.1 is a fabulous controller!

Is it possible to tell me which file you changed and where?  I am happy with this solution but I worry that, in the future, I won't be able to install new software revisions as they may not have the customized X,Y,and Z operation accelerations that this special version 2018-10-04-XXX has.
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
8#
Posted at 2018-10-6 10:44:43 | Only Author
Great video, thank you for sharing.

I upgraded the software because of a problem with the previous version of G2/G3 acceleration processing.

In the new version, #99 represents the combined linear acceleration. During the machining process, the actual acceleration value will be constrained by the manual start acceleration of each axis.
In addition, parameter #498 "J-parameter gradient" is added, which is used to describe the rate of change of acceleration. Since the rate of change of acceleration (J) must be less than 1/2 of the minimum acceleration value among the three axes,  so 498>#99/(min(#45,#46,#47)/2).

For your application (#45=150 #46=7.5 #47=2), you can set it as follows:
#99=300;
#498=500;

Also, I noticed that your X-axis and Y-axis pulse equivalents are not the same, so set #113 to 1 (Soft algorithm).

install(2018-10-06-XXX).zip

591.49 KB, Down times: 1980

Reply Support Opposition

Use props Report

10

Threads

24

Posts

116

Credits

Registered member

Rank: 2

Credits
116
9#
 Author| Posted at 2018-10-9 02:53:03 | Only Author
I installed 2018-10-06-XXX and changed parameters #99 and #498 as suggested (to 300&500).  All axes work well under manual control but in automatic operation the Z-Axis acceleration appears to be messed up.  X and Y accelerations seed to work as before and Z-Axis accelerates nicely from 0.000 to G01 F250.0 Z1.0" but upon reversal with subsequent G01 F250.0 Z0.0 the stepper wines and looses count.   This Z-Axis malfunction did not happen with earlier install(2018-10-04-XXX).zip version which seemed to work nicely.
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
10#
Posted at 2018-10-9 17:55:57 | Only Author
math_indy Posted at 2018-10-9 02:53
I installed 2018-10-06-XXX and changed parameters #99 and #498 as suggested (to 300&500).  All axes  ...

Please download the latest firmware and configure the following parameters:
#99=300
#2031=1

Parameter #498 has been removed from the parameter list
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