Radius correction for arcs stops the execution of the programm - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
View: 35010|Reply: 11
Print Previous Topic Next Topic

Radius correction for arcs stops the execution of the programm

[Copy Link]

2

Threads

25

Posts

408

Credits

Intermediate Member

Rank: 3Rank: 3

Credits
408
Jump to the specified floor
Landlord
Posted at 2018-6-18 11:09:23 | All floors |Only larger image Replies reward |Descending browser |Read mode
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
Reply

Use props Report

2

Threads

25

Posts

408

Credits

Intermediate Member

Rank: 3Rank: 3

Credits
408
Sofa
 Author| Posted at 2018-7-5 12:28:06 | All floors
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.
Reply Support Opposition

Use props Report

2

Threads

25

Posts

408

Credits

Intermediate Member

Rank: 3Rank: 3

Credits
408
Bench
 Author| Posted at 2018-7-6 11:32:00 | All floors
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?
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