#113 - Hard / Soft - DDCSV3.1 Standalone CNC Motion Controller - Digital Dream Technology support
View: 7086|Reply: 6
Print Previous Topic Next Topic

#113 - Hard / Soft

[Copy Link]

4

Threads

13

Posts

130

Credits

Registered member

Rank: 2

Credits
130
Jump to the specified floor
Landlord
Posted at 2020-10-21 01:24:39 | Only Author Replies reward |Descending browser |Read mode
Problem:
# 113 - Arc Interpolation algorithm selection:
0: Hard algorithm
1: Soft algorithm

Because using the "0-Hard algorithm" the Z axis does not move as programmed in the G-Code, the Z axis loses precision, 0.250mm?
Reply

Use props Report

1

Threads

4

Posts

27

Credits

Newbie Member

Rank: 1

Credits
27
recommend
Posted at 2020-10-24 05:56:48 | Only Author

  1. between each hole Z axis goes up minus 0.25mm, it is the Z axis losing step.
Copy the code
Ricardo saids "it is possible to see the difference in the controller display...."

@Ricardo, send me the file and I will take a look if you like
Reply Support 0 Opposition 1

Use props Report

1

Threads

3

Posts

9

Credits

Newbie Member

Rank: 1

Credits
9
recommend
Posted at 2020-10-25 12:07:19 | Only Author
Hey Ricardo,

Jessy is correct but may be difficult to understand her explanation. When you use the hard algorithm your axes must have the same steps per mm. The way the FPGA calculates the arc it can not have different axis resolutions or you will end up with oblong holes or axis that seem to lose steps etc. You can set your controller up 2 ways just use the soft algorithm or if it's just your z-axis that has a different resolution change your post-processor to only allow XY interpolation. I can only assume your mill must have different steps per/mm for Axes. If your axis do not loose steps when moved in a straight line then this is your problem, easy fix in your controller or post
Reply Support 1 Opposition 0

Use props Report

0

Threads

23

Posts

80

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
80
Sofa
Posted at 2020-10-21 15:15:59 | Only Author
Last edited by JessyChen In 2020-10-21 15:23 Editor

In DDCS System, there is soft algorithm and hard algorithm; hard algorithm is processed by FPGA logic, the movement is very smoothy, and high precise; Soft algorithm is to cut the arc line to a lot of little small pieces. But only when the pulse equivalents of each axis which join into doing the circular interpolation are the same, the hard algorithm can work well; The soft algorithm has no request for pulse equivalents. So when the controller work for helix interpolation, it is better to use soft algorithm.No matter you choose the Soft algorithm or Hard algorithm, it cannot cause the losing step. Losing step must be some other reason. Soft or Hard algorithm only affect the good or bad status of the machinning.
Reply Support Opposition

Use props Report

4

Threads

13

Posts

130

Credits

Registered member

Rank: 2

Credits
130
Bench
 Author| Posted at 2020-10-21 21:43:20 | Only Author
you did not understand the problem, using calculation by Hardeware, the Z axis does not go up as programmed is not a loss of pulse, between each hole made the Z axis goes up minus 0.250mm, it is possible to see this difference in the controller display. In Software calculation mode, the Z axis is over correctly.

Thanks for your attention
Reply Support Opposition

Use props Report

0

Threads

23

Posts

80

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
80
Floor
Posted at 2020-10-23 10:03:20 | Only Author
between each hole Z axis goes up minus 0.25mm, it is the Z axis losing step.
Reply Support Opposition

Use props Report

4

Threads

13

Posts

130

Credits

Registered member

Rank: 2

Credits
130
7#
 Author| Posted at 2020-11-1 06:22:29 | Only Author
Sorry I have photos to show here but I do not know additional.

The Z Axis receives the command to decrease to -12mm, controller sends to -16mm, and to rise to 3mm the controller sends to -1.5mm.
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