Digital Dream Technology support

Title: Radius correction for arcs stops the execution of the programm [Print This Page]

Author: 71taa    Time: 2018-6-18 11:09
Title: Radius correction for arcs stops the execution of the programm
Last edited by 71taa In 2018-6-18 11:11 Editor

Hi,
Got a problem with tool radius compensation for arcs.
The situation is the following:
1. The file in attachement (tried other samples with arcs, changed arc definition from XYIJ to XYR - nothing changes)
2. Define any non-null radius correction for the tool 1 in the settings of the DDSCV (when the correction is 0 all works ok). Both positive/negative - it doesn't matter.
3. Start the programm.
As soon as the controller reaches the first arc it stops. The execution could be stopped with stop button, so it's not a complete hang up. Controller simply stays on this command does nothing (waited at least 5 minutes - no continuation).

Tried with both 91 and 92 builds for the DDSCV2.1. Tried both hardware and software arc alghorithms. All steps per mm for all axes are equal. Re-flashed with default settings and changed only steps per mm and entered radius correction - nothing works.

The height correction works, btw.
  1. (TOOL 1 - DIA 4.)


  2. G00 G90 G94 G17 G40 G80
  3. M06 T1 ()
  4. (F-contour1)
  5. S8000 M03
  6. G00 G54 G90 X-15.702 Y-12.5919
  7. G43 H1 D1 Z25.
  8. Z10.
  9. Z6.9
  10. G01 Z-1.1 F50.
  11. G41 X-15.7 F300.
  12. Y5.5919
  13. G02 X-15.0556 Y7.1475 I2.2 J0.
  14. G01 X-7.1475 Y15.0556
  15. G02 X-5.5919 Y15.7 I1.5556 J-1.5556
  16. G01 X5.5919
  17. G02 X7.1475 Y15.0556 I0. J-2.2
  18. G01 X15.0556 Y7.1475
  19. G02 X15.7 Y5.5919 I-1.5556 J-1.5556
  20. G01 Y-5.5919
  21. G02 X15.0556 Y-7.1475 I-2.2 J0.
  22. G01 X7.1475 Y-15.0556
  23. G02 X5.5919 Y-15.7 I-1.5556 J1.5556
  24. G01 X-5.5919
  25. G02 X-7.1475 Y-15.0556 I0. J2.2
  26. G01 X-21.4126 Y-0.7906
  27. G40 X-21.414 Y-0.792
  28. G00 Z10.
  29. X-15.702 Y-12.5919
  30. Z5.9
  31. G01 Z-2.1 F50.
  32. G41 X-15.7 F300.
  33. Y5.5919
  34. G02 X-15.0556 Y7.1475 I2.2 J0.
  35. G01 X-7.1475 Y15.0556
  36. G02 X-5.5919 Y15.7 I1.5556 J-1.5556
  37. G01 X5.5919
  38. G02 X7.1475 Y15.0556 I0. J-2.2
  39. G01 X15.0556 Y7.1475
  40. G02 X15.7 Y5.5919 I-1.5556 J-1.5556
  41. G01 Y-5.5919
  42. G02 X15.0556 Y-7.1475 I-2.2 J0.
  43. G01 X7.1475 Y-15.0556
  44. G02 X5.5919 Y-15.7 I-1.5556 J1.5556
  45. G01 X-5.5919
  46. G02 X-7.1475 Y-15.0556 I0. J2.2
  47. G01 X-21.4126 Y-0.7906
  48. G40 X-21.414 Y-0.792
  49. G00 Z10.
  50. X-15.702 Y-12.5919
  51. Z4.9
  52. G01 Z-3.1 F50.
  53. G41 X-15.7 F300.
  54. Y5.5919
  55. G02 X-15.0556 Y7.1475 I2.2 J0.
  56. G01 X-7.1475 Y15.0556
  57. G02 X-5.5919 Y15.7 I1.5556 J-1.5556
  58. G01 X5.5919
  59. G02 X7.1475 Y15.0556 I0. J-2.2
  60. G01 X15.0556 Y7.1475
  61. G02 X15.7 Y5.5919 I-1.5556 J-1.5556
  62. G01 Y-5.5919
  63. G02 X15.0556 Y-7.1475 I-2.2 J0.
  64. G01 X7.1475 Y-15.0556
  65. G02 X5.5919 Y-15.7 I-1.5556 J1.5556
  66. G01 X-5.5919
  67. G02 X-7.1475 Y-15.0556 I0. J2.2
  68. G01 X-21.4126 Y-0.7906
  69. G40 X-21.414 Y-0.792
  70. G00 Z10.
  71. X-15.702 Y-12.5919
  72. Z3.9
  73. G01 Z-4.1 F50.
  74. G41 X-15.7 F300.
  75. Y5.5919
  76. G02 X-15.0556 Y7.1475 I2.2 J0.
  77. G01 X-7.1475 Y15.0556
  78. G02 X-5.5919 Y15.7 I1.5556 J-1.5556
  79. G01 X5.5919
  80. G02 X7.1475 Y15.0556 I0. J-2.2
  81. G01 X15.0556 Y7.1475
  82. G02 X15.7 Y5.5919 I-1.5556 J-1.5556
  83. G01 Y-5.5919
  84. G02 X15.0556 Y-7.1475 I-2.2 J0.
  85. G01 X7.1475 Y-15.0556
  86. G02 X5.5919 Y-15.7 I-1.5556 J1.5556
  87. G01 X-5.5919
  88. G02 X-7.1475 Y-15.0556 I0. J2.2
  89. G01 X-21.4126 Y-0.7906
  90. G40 X-21.414 Y-0.792
  91. G00 Z10.
  92. X-15.702 Y-12.5919
  93. Z2.9
  94. G01 Z-5.1 F50.
  95. G41 X-15.7 F300.
  96. Y5.5919
  97. G02 X-15.0556 Y7.1475 I2.2 J0.
  98. G01 X-7.1475 Y15.0556
  99. G02 X-5.5919 Y15.7 I1.5556 J-1.5556
  100. G01 X5.5919
  101. G02 X7.1475 Y15.0556 I0. J-2.2
  102. G01 X15.0556 Y7.1475
  103. G02 X15.7 Y5.5919 I-1.5556 J-1.5556
  104. G01 Y-5.5919
  105. G02 X15.0556 Y-7.1475 I-2.2 J0.
  106. G01 X7.1475 Y-15.0556
  107. G02 X5.5919 Y-15.7 I-1.5556 J1.5556
  108. G01 X-5.5919
  109. G02 X-7.1475 Y-15.0556 I0. J2.2
  110. G01 X-21.4126 Y-0.7906
  111. G40 X-21.414 Y-0.792
  112. G00 Z10.
  113. X-15.702 Y-12.5919
  114. Z1.9
  115. G01 Z-6.1 F50.
  116. G41 X-15.7 F300.
  117. Y5.5919
  118. G02 X-15.0556 Y7.1475 I2.2 J0.
  119. G01 X-7.1475 Y15.0556
  120. G02 X-5.5919 Y15.7 I1.5556 J-1.5556
  121. G01 X5.5919
  122. G02 X7.1475 Y15.0556 I0. J-2.2
  123. G01 X15.0556 Y7.1475
  124. G02 X15.7 Y5.5919 I-1.5556 J-1.5556
  125. G01 Y-5.5919
  126. G02 X15.0556 Y-7.1475 I-2.2 J0.
  127. G01 X7.1475 Y-15.0556
  128. G02 X5.5919 Y-15.7 I-1.5556 J1.5556
  129. G01 X-5.5919
  130. G02 X-7.1475 Y-15.0556 I0. J2.2
  131. G01 X-21.4126 Y-0.7906
  132. G40 X-21.414 Y-0.792
  133. G00 Z10.
  134. X-15.502 Y-12.5919
  135. Z6.9
  136. G01 Z-6.1 F50.
  137. G41 X-15.5 F200.
  138. Y5.5919
  139. G02 X-14.9142 Y7.0061 I2. J0.
  140. G01 X-7.0061 Y14.9142
  141. G02 X-5.5919 Y15.5 I1.4142 J-1.4142
  142. G01 X5.5919
  143. G02 X7.0061 Y14.9142 I0. J-2.
  144. G01 X14.9142 Y7.0061
  145. G02 X15.5 Y5.5919 I-1.4142 J-1.4142
  146. G01 Y-5.5919
  147. G02 X14.9142 Y-7.0061 I-2. J0.
  148. G01 X7.0061 Y-14.9142
  149. G02 X5.5919 Y-15.5 I-1.4142 J1.4142
  150. G01 X-5.5919
  151. G02 X-7.0061 Y-14.9142 I0. J2.
  152. G01 X-21.2712 Y-0.6491
  153. G40 X-21.2726 Y-0.6506
  154. G00 Z10.
  155. X-15.502 Y-12.5919
  156. Z0.9
  157. G01 Z-6.1 F50.
  158. G41 X-15.5 F200.
  159. Y5.5919
  160. G02 X-14.9142 Y7.0061 I2. J0.
  161. G01 X-7.0061 Y14.9142
  162. G02 X-5.5919 Y15.5 I1.4142 J-1.4142
  163. G01 X5.5919
  164. G02 X7.0061 Y14.9142 I0. J-2.
  165. G01 X14.9142 Y7.0061
  166. G02 X15.5 Y5.5919 I-1.4142 J-1.4142
  167. G01 Y-5.5919
  168. G02 X14.9142 Y-7.0061 I-2. J0.
  169. G01 X7.0061 Y-14.9142
  170. G02 X5.5919 Y-15.5 I-1.4142 J1.4142
  171. G01 X-5.5919
  172. G02 X-7.0061 Y-14.9142 I0. J2.
  173. G01 X-21.2712 Y-0.6491
  174. G40 X-21.2726 Y-0.6506
  175. G00 Z10.
  176. X-15.502 Y-12.5919
  177. Z0.9
  178. G01 Z-6.1 F50.
  179. G41 X-15.5 F200.
  180. Y5.5919
  181. G02 X-14.9142 Y7.0061 I2. J0.
  182. G01 X-7.0061 Y14.9142
  183. G02 X-5.5919 Y15.5 I1.4142 J-1.4142
  184. G01 X5.5919
  185. G02 X7.0061 Y14.9142 I0. J-2.
  186. G01 X14.9142 Y7.0061
  187. G02 X15.5 Y5.5919 I-1.4142 J-1.4142
  188. G01 Y-5.5919
  189. G02 X14.9142 Y-7.0061 I-2. J0.
  190. G01 X7.0061 Y-14.9142
  191. G02 X5.5919 Y-15.5 I-1.4142 J1.4142
  192. G01 X-5.5919
  193. G02 X-7.0061 Y-14.9142 I0. J2.
  194. G01 X-21.2712 Y-0.6491
  195. G40 X-21.2726 Y-0.6506
  196. G00 Z10.
  197. M05
  198. G00 G28 G91 Z0
  199. G00 G28 G91 X-15.0 Y0.
  200. G90
  201. M30
Copy the code

Author: PPRINT    Time: 2018-7-4 07:22
How large of an offset are you trying to use?

I asked because the program above shows the G41 being turn on with a move of only .002.  Most controllers need a move longer than the comp being applied.

Not saying this is the problem, just trying to help you troubleshoot.

Rob
Author: 71taa    Time: 2018-7-5 12:28
PPRINT Posted at 2018-7-4 07:22
How large of an offset are you trying to use?

I asked because the program above shows the G41 being ...

Hi, Rob

Thanks for the suggestion, I'll try to re-test it in the nearest future with larger moves and smaller comps.

For this one I've tried +0.001mm compensation earlier with same result.
Author: alexwalex    Time: 2018-7-5 14:23
I replace in line number 8,31,52.....etc the value of "X-15.702" to "X-20" and controller starts working correctly!
Author: 71taa    Time: 2018-7-6 11:32
alexwalex Posted at 2018-7-5 14:23
I replace in line number 8,31,52.....etc the value of "X-15.702" to "X-20" and controller starts wor ...

Still hangs in my case. What correction have you entered for the tool in controller settings?
Author: alexwalex    Time: 2018-7-6 16:39
71taa Posted at 2018-7-6 11:32
Still hangs in my case. What correction have you entered for the tool in controller settings?

I run your programm with parameter (284) D1=0 - it works.
Then i set D1=3 (for endmill diameter 6mm) - controller hangs.
Then i replaced in strings 8,31,52,73,94,115,136,157,178 value X to X-20 and controller works correctly with parameter D1=3.
Author: alexwalex    Time: 2018-7-21 03:36
Last edited by alexwalex In 2018-7-21 03:44 Editor

Hi, ytliu !
Got a problem with tool radius compensation:
If i define any nonzero value for the tool 1 radius in the settings of the DDSCV (parameter 284) - this and similar programm not work.

wheel.zip

1.7 KB, Down times: 1328


Author: ytliu    Time: 2018-7-21 16:31
alexwalex Posted at 2018-7-21 03:36
Hi, ytliu !
Got a problem with tool radius compensation:
If i define any nonzero value for the tool  ...

Hi, alexwalex!
I am very sorry, due to the loss of precision caused by the internal data conversion of the DDCVS system, the system has serious problems with the radius compensation support. It is recommended that you directly generate the compensated program through post-processing.
Author: alexwalex    Time: 2018-7-22 01:51
OK, understood. Thanks for the answer. I can hope to fix this problem in the future?
Author: ytliu    Time: 2018-7-22 07:21
Last edited by ytliu In 2018-7-22 07:30 Editor
alexwalex Posted at 2018-7-22 01:51
OK, understood. Thanks for the answer. I can hope to fix this problem in the future?

Hi,alexwalex!
We already know the reason why the tool path with arc command under the DDCSV system has a radius compensation problem. In our new controller, we solved this problem by redesigning the tool path parse engine. However, due to the heavy workload of porting the new engine to the DDCSV system, I am very sorry that this may take a long time.

BMP1.png (12.77 KB, Down times: 835)

BMP1.png

Author: PPRINT    Time: 2019-4-21 02:29
ytliu,
Has this issue been resolved in a current release of software?  If yes....will it work in the DDCSV1.1?

Thank you,
RobT
Author: ytliu    Time: 2019-4-21 06:31
Sorry, due to the underlying mechanism, this problem cannot be solved on ddcsv. But on the DDHM controller we have redesigned the path generation mechanism and it looks good at the moment. The DDHM controller is currently undergoing translation work, and I think the English version should be available soon.




Welcome Digital Dream Technology support (http://bbs.ddcnc.com/) Powered by Discuz! X3