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 > G-Code Programing > Parametric Programing


Parametric Programing (custom macro b, fadal macro, okuma user task)


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-08-2009, 12:59 PM
Tuz Tuz is offline
 
Join Date: Jan 2009
Location: USA
Posts: 11
Tuz is on a distinguished road
Radius??

I have a Heian Router 180im-b Fanuc Controller

I am trying to take a standard downshear bit and do an x,y,z, movement while also following a specified radius. Then follow it back up the same way it came down.
I have been told by a few different people it can't be done. But it seems so simple??
I have come up with nothing but error messages though when trying myself.
Help anyone??
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 07-08-2009, 02:10 PM
 
Join Date: Feb 2008
Location: The Edge of Obscurity
Posts: 210
ProProcess is on a distinguished road

Not really sure about the control or machine put it sounds like you are trying something more complicated than you think. Especially if your control is erroring out.
Sounds like you want to move from XYZ point A to XYZ point B, all the while generating a radius. If that is the case you either need to generate the path using CAD/CAM or author your own macro to calc the XYZ per any given step along the radius and interpolate to that point then calculate again.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 07-08-2009, 02:41 PM
Tuz Tuz is offline
 
Join Date: Jan 2009
Location: USA
Posts: 11
Tuz is on a distinguished road

I want to go from X2.25 Y2.25 Z .3865 to X 2.444 Y 2.444 Z-.2615 while following a .219 radius then back again.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 07-08-2009, 03:17 PM
 
Join Date: Feb 2008
Location: The Edge of Obscurity
Posts: 210
ProProcess is on a distinguished road

What (G17-G19) plane are you in?
Does your machine have Helical interpolation?
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-08-2009, 03:19 PM
Tuz Tuz is offline
 
Join Date: Jan 2009
Location: USA
Posts: 11
Tuz is on a distinguished road

g17.

How can I tell if I have that option or not. I have some experience but not a whole lot.

Thanks!
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-08-2009, 03:19 PM
beege's Avatar  
Join Date: Feb 2008
Location: USA
Posts: 510
beege is on a distinguished road

If you want the radius to be in the XY plane and ramping up and down (straight line from the side) you need to have helical interpolation turned on. You just might. If you want your radius to be in a plane other than XY, XZ or YZ, then helical will still work, but you need to change panes (G17, G18 and G19) Any other planes, you need coordinate rotation (maybe it would work, never tried it) AND helical interpolation. Other than that, have someone write some code from their CAM system in pure linear that you could cut/paste in your program.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 07-08-2009, 03:31 PM
Tuz Tuz is offline
 
Join Date: Jan 2009
Location: USA
Posts: 11
Tuz is on a distinguished road

tHE BOLDED PART IS WHAT I AM WORKING ON...

N10G0G17G20G40G49G80G90Z0
M211
M400
M401
T3M6
G08P1
N20G54M91S20000X[#500-3.0]Y3.155
N30G43H3Z.25
G42D19
G90G1Y2.155F150.
N40G1G90Z-.3865X[#500/2]F243.75
X2.155F325.
N50Y[#501-2.155]
N60X[#500-2.155]
N70Y2.155
N80X2.9175
N90G40G49G0G64Z0M95
M400
M402
T3M6
N100G55M91S20000X[#500-3.0]Y3.155
N110G43H35Z.25
G42D51
G90G1Y2.155F150.
N120G1G90Z-.3865X[#500/2]F243.75
X2.155F325.
N130Y[#501-2.155]
N140X[#500-2.155]
N150Y2.155
N160X2.5575
N170G40G49G0G64Z0M95
M400
M401
T4M6
G54M91S20000X[#500-3.0]Y3.155
N190G43H4Z.25
G42D20
G90G1Y2.155F150.
N200G1G90Z-.125X[#500/2]F187.50
X2.155F250.G61
N210Y[#501-2.155]
N220X[#500-2.155]
N230Y2.155
[B]G91G2X.194Y.194R.219Z-.2615
G3X-.194Y-.194R.219Z.2615

N240G1X2.2331
Z1.0
G0G40X6.Y6.
N250G0G49G64Z0M95
M12
M22
/G53Y0
N260G08P0
/M212
M99
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 07-08-2009, 04:54 PM
 
Join Date: Feb 2008
Location: The Edge of Obscurity
Posts: 210
ProProcess is on a distinguished road

Originally Posted by Tuz View Post
g17.

How can I tell if I have that option or not. I have some experience but not a whole lot.

Thanks!
Run this code or something like it.

G17
G0X0Y0Z3.
G1G91X1.F50.
G2I-1.(THIS.SHOULD.RUN.FINE)
G2Z-.1I-1.(THIS.WILL.ONLY.RUN.WITH.HELICAL)
G1G90X0
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 07-09-2009, 10:14 AM
Tuz Tuz is offline
 
Join Date: Jan 2009
Location: USA
Posts: 11
Tuz is on a distinguished road

Thanks for your reply,what will this tell me when I run that code? What am I expecting it to do?
I run can run a program like this: (Is this Helical?)

N20G55M3S18000X3.75Y2.75
N30G43H24Z0.25
N40G1Z-0.4F100.
N40G62G91G2J1.F200.
G2J1.F400.
G2J1.Z0.5F400.G61
G90X3.75Y3.125
G1Z-0.4F100.
G91G62G2J0.625F200.
G2J0.625F400.
G2J0.625Z0.5
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 07-09-2009, 11:00 AM
 
Join Date: Feb 2008
Location: The Edge of Obscurity
Posts: 210
ProProcess is on a distinguished road

Originally Posted by Tuz View Post
Thanks for your reply,what will this tell me when I run that code? What am I expecting it to do?
I run can run a program like this: (Is this Helical?)

N20G55M3S18000X3.75Y2.75
N30G43H24Z0.25
N40G1Z-0.4F100.
N40G62G91G2J1.F200.
G2J1.F400.
G2J1.Z0.5F400.G61
G90X3.75Y3.125
G1Z-0.4F100.
G91G62G2J0.625F200.
G2J0.625F400.
G2J0.625Z0.5


I'm not a mill guy so I'm not sure what the G61 and G62 are doing but...

if these lines...

G2J0.625F400.(cut a circle using XY)
G2J0.625Z0.5(cuts the same XY circle while moving in Z)

then you have Helical and you "should" be able to do what you want.

Provided that the Sarting point A and Ending point B are valid starting and ending points along the selected plane at the given radius.

Good Luck!
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-09-2009, 11:30 AM
Tuz Tuz is offline
 
Join Date: Jan 2009
Location: USA
Posts: 11
Tuz is on a distinguished road

If I start at X 2.155 Y 2.155 Z-.125 and I want to go to X 2.349 Y 2.349 Z -.3865 while following the .219 radius will this work??

G91G2X.194Y.194J.194Z-.2615
G3X-.194Y-.194J-.194Z.2615

Where does the radius call out go?

Sorry I am failry new to all this, and I have no cad software to work from. I learn as much as I can by writing them by hand. But I am running out of time to complete this project.
Thanks for your help!!
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 07-09-2009, 12:35 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,189
dcoupar is on a distinguished road

If you use I and J to specify the distance from start to center, you don't need a radius call out. I'm pretty sure your above example will not work (it will create a 3/4 moon shape). J.194 in the G02 block puts the center +.194 in Y from the start point. J-.194 in the G03 block puts the center -.194 in Y from the start point.

I would replace the J.194's with R.219's. I back plotted it and it worked fine with R's.

What alarm are you getting?
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Radius to end of arc differs from radius to start on Line #" labuda G-Code Programing 8 11-15-2009 07:35 AM
Need Help!- Outside radius Shibumi G-Code Programing 1 10-30-2008 11:27 AM
Problem- radius help Scott Halstead GibbsCAM 0 06-12-2008 08:27 AM
big radius Dembo Mechanical Calculations/Engineering Design 10 02-01-2008 12:01 PM
Zero Radius Arc Xular Mach Mill 4 12-13-2006 10:10 PM




All times are GMT -5. The time now is 09:21 AM.





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