CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > General CNC (Mill and Lathe) Control Software (NC)


General CNC (Mill and Lathe) Control Software (NC) General Discussion of CNC (Mill and Lathe) control software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-28-2006, 02:35 AM
 
Join Date: Apr 2006
Location: Italy
Age: 39
Posts: 4
bg_izio is on a distinguished road
Tool compensation

Hello!
I can't find the best thread for my topic, so I open a new one.
I program a motion controller, it can interpolate 2 axis (X,Y). I can insert an edges sequence. Every edges can be a segment or an arc (clockwise or not). The program is not a g-code, but the mean is the same: a sequence of moving instructions. So far is all ok. Now I want move the tool on the XY plane to cut some materials. But I want take care of the tool dimension (diameter).
I want insert in my program the management of G41 and G42 instructions because the motion controller has not those instructions.
Where can I find some documentation to solve this problem.

Thank you

bg_izio
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 04-28-2006, 09:19 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Sounds like a difficult task to start from scratch, when the problem has been addressed with g-code controllers already.

For a dedicated machine making simple movements, you are probably just as far ahead to create tool radius compensation offsets in cadcam and make use of the coordinates derived from the offset path.

What kind of controller software are you using? Do you intend to run a coordinate transformation equation on each motion command as it moves along? Such an equation would have to include tool diameter, direction of offset (left or right of command position), and then include a series of IF statements to process the coordinates, depending on whether an arc or a line is encountered. Some profiles simply cannot be offset correctly within certain ranges of profile radii and tool diameters. How will you catch this problem?

Perhaps it is possible to write a coordinate transformation subroutine that is held within your controller memory, to process every motion command via a jump to the subroutine. Is this what you intend to do? Is your controller software running fast enough to do this?
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 05-03-2006, 08:07 AM
 
Join Date: Apr 2006
Location: Italy
Age: 39
Posts: 4
bg_izio is on a distinguished road

Hi HuFlungDung,
I can program the motion controller with a structured language. Further, this controller has a firmware function to interpolate two axis XY. I can insert in this function the list of XY coordinates and the speed and then I can start the movement. The XY axis bring the tool toward the first XY point and then change the direction toward the next and so on.
So if the path is an arc, I have to simulate the arc with a lot of segments (polyline).
I have to calculate the path before to start, the path with tool compensation too.
I'd like to know if there is a special technic to do that in the world of CNC (or in CAM world).

thank you, in any case.

izio
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 05-03-2006, 09:40 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Izio,

Many CAM systems will create the final path for you, this is common. This will permit you to simply enter the coordinates and let your machine execute the movements. Your controller may not understand gcode. There may be a special command language used.

One would have to compare the syntax of your controller language with the syntax of gcode instructions, to see if a post processor could be made to give direct output ready to download to your controller.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 02:35 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353