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


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-09-2008, 11:02 PM
 
Join Date: Sep 2007
Location: USA
Posts: 24
Vortex_bits is on a distinguished road
rotating 0,0 point to opposite corner.

Ok, here is another thing I need to figure out.

We have moved our fanuc controller from one side of the machine to the other. On this machine, the bed is the X axis, the Gantry is the Y. So now I want to put 0,0 on the lower left corner of the OTHER side, however, when I did this in tests this weekend, I had to enter all negative axis movements, instead of positive. Because I don't want to re-do all of our single parts, but I DO want to move the 0,0 point, how do I rotate the 0,0 180 degrees, and still keep all the movements positive?

I have heard there is a way to adjust the G53 in the controller to a different spot, but does this affect the movements? And does this mean that I will need to essentially make the machine run OPPOSITE of how it's movements are currently. I.e. make the machine inverse it's Positive and negative moves opposite of what the stickers say?

Never tried this before, so any help is appreciated. thanks.

-Zak
Reply With Quote

  #2   Ban this user!
Old 03-10-2008, 08:26 AM
 
Join Date: Mar 2005
Location: Silicon Valley, CA
Posts: 982
psychomill is on a distinguished road

So, you moved the control to the opposite corner of where it used to be and turned it around? Couldn't just turn the machine around? Just picturing what you're doing here.

If my first guess is right, then yes, your machine will travel in all negative moves now since the coordinate system is still based upon the original corner (or original machine zero) and the signed directions. You could shift this and change the axis direction by parameters but you may have to change a lot of things if you've got tool changers, pallet changers, etc. Sounds like it would be simpler for you to use a G68 (coordinate rotate) command and the control will flip the code around 180°. So, based on your "new" part origin, you could type in the program a "G68X0Y0R180." A G69 at the end will cancel this.

Oh, and this is provided you have the G68 control option....
__________________
It's just a part..... cutter still goes round and round....
Reply With Quote

  #3   Ban this user!
Old 03-11-2008, 12:45 PM
 
Join Date: Sep 2007
Location: USA
Posts: 24
Vortex_bits is on a distinguished road
G68 flipping code

Originally Posted by psychomill View Post
So, you moved the control to the opposite corner of where it used to be and turned it around? Couldn't just turn the machine around? Just picturing what you're doing here.

If my first guess is right, then yes, your machine will travel in all negative moves now since the coordinate system is still based upon the original corner (or original machine zero) and the signed directions. You could shift this and change the axis direction by parameters but you may have to change a lot of things if you've got tool changers, pallet changers, etc. Sounds like it would be simpler for you to use a G68 (coordinate rotate) command and the control will flip the code around 180°. So, based on your "new" part origin, you could type in the program a "G68X0Y0R180." A G69 at the end will cancel this.

Oh, and this is provided you have the G68 control option....
Well, the machine is pretty big.. a 5x12 bed, and probably over 12,000 pounds.. plus, then it would be facing the wrong way.

is G68 a modal or non-modal? Sounds like non-modal, and the point of me doing this is so that all over our hundreds of programs that are already in CNC code will work with the new co-ordinate setting. It does have a tool changer, but I can't see why that would change anything, as it's an on-board carosel, not the type with the tools on the sides of the machine.

Anywho, thank you for the idea, I'll have to dig further in and see if there is a semi-easy permanent solution.

-Zak
Reply With Quote

  #4   Ban this user!
Old 03-12-2008, 08:55 AM
 
Join Date: Mar 2005
Location: Silicon Valley, CA
Posts: 982
psychomill is on a distinguished road

You have to add it during the operation and cancel before certain things like tool changes, pallet changes, tool length probes, etc, etc. But it will fix the hundred programs. You're looking to change the grid and axis signed directions so you don't have to edit the programs whic might be a bit complicated.

It does have a tool changer, but I can't see why that would change anything,
You never mentioned the machine you have so I have no idea what yours looks like or is built. But, many machines have mounted tool changers. But the problem is not how the tool changer mounts, is where the machine goes in order to do a tool change. Your wanting to turn around your directions, your tool change motion and position (by parameter and/or M code sub command) may try and send the machine to some strange spot (or worse) when commanded.

Your machine grid should be easy enough to shift. It's the signed direction that will likely cause grief. A G68 would be a simple fix without having to alter the machine settings. As far as the "100s of programs" are concerned, just edit them as they come up or one at a time and not try and attack all of them at once.

a 5x12 bed, and probably over 12,000 pounds
A big XY but doesn't weigh much... is this a router? Changing the grid and axis direction is the "easy fix" coming from the programs standpoint... But my bet, it's going to take more than just a couple parameters...
__________________
It's just a part..... cutter still goes round and round....
Reply With Quote

  #5   Ban this user!
Old 03-12-2008, 05:13 PM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

Why would the existing programs need to be changed?
The work offset that you define when doing the setup takes care of that.

Unless you are converting your machine from a right handed coordinate system to a left handed one, which (to be blunt) would be a dumb thing to do.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-12-2008, 10:50 PM
Mitsui Seiki's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 464
Mitsui Seiki is on a distinguished road

If you want the machine "home" in the lower left corner you have to move your limit switches.
__________________
Stefan Vendin
Reply With Quote

  #7   Ban this user!
Old 03-13-2008, 08:38 AM
 
Join Date: Mar 2005
Location: Silicon Valley, CA
Posts: 982
psychomill is on a distinguished road

Why would the existing programs need to be changed?
If you read what's happening (as I understand it), the signed direction of the machine axes are back wards now relative to the program and from where you now stand to operate the machine. It will take more than just move limit switches but that is one of the several things that will need to happen..... "Home" itself can be moved simple enough I think... a couple switches and some parameters. But moving the machine grid 0,0 (which is easy), changing the axis signed directions and home axis directions and any peripherals affected by the grid can get tricky and involved. Unless, there's a simple parameter to change the signed directions.

Curious though... why did you need to flip the control around? And what machine/control model is it?
__________________
It's just a part..... cutter still goes round and round....
Reply With Quote

  #8   Ban this user!
Old 03-13-2008, 12:09 PM
Mitsui Seiki's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 464
Mitsui Seiki is on a distinguished road

I know it takes more. I just pointed out that they need to be moved.
With all that has to be done, it's a lot of work.
__________________
Stefan Vendin
Reply With Quote

  #9   Ban this user!
Old 03-13-2008, 12:44 PM
Mitsui Seiki's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 464
Mitsui Seiki is on a distinguished road

Is this what you are doing?
In the old position all movement are - from home and the new one all movements are + from home.

__________________
Stefan Vendin
Reply With Quote

  #10   Ban this user!
Old 03-13-2008, 02:14 PM
 
Join Date: Mar 2005
Location: Silicon Valley, CA
Posts: 982
psychomill is on a distinguished road

That's the way I see it Stefan....... but he wants to run the same old programs that are already in his system without re-programming which is why I suggested G68 as an option short of changing a bunch of stuff in the machine/control.....

Vortex... are you there????
__________________
It's just a part..... cutter still goes round and round....
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-13-2008, 02:57 PM
Mitsui Seiki's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 464
Mitsui Seiki is on a distinguished road

Once he has made the necessary changes (limit switches and parameters),isn't all he need new work zeros?
__________________
Stefan Vendin
Reply With Quote

  #12   Ban this user!
Old 03-13-2008, 04:53 PM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

Originally Posted by Mitsui Seiki View Post
Once he has made the necessary changes (limit switches and parameters),isn't all he need new work zeros?
That is what I am seeing.

Could be he does not know about using work offsets and really did make the programs with the machine zero as the program zero.
If that is the case all that is needed is to add a line at the start of the program with a G54 in it and set the G54 work offsets to the full travel of the machine. Or Fanuc controls have a set of offsets called (EXT) stands for external, on older controls it may be called (COM) for common. This set of offsets gets added to any of the standard G54,G55,...G59..G54.1Px offsets.

Or a quick little program in what ever language he likes to use, could do the translation or even rotation if wanted, off line.
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
Busellato Point to Point Malacara Spanish CNCzone 1 01-27-2008 06:57 AM
Make 2 parts symmetrically opposite kprice1658 Mastercam 3 12-17-2007 10:21 PM
Busellato Optima Point To point Malacara General CNC (Mill and Lathe) Control Software (NC) 0 12-11-2007 06:22 PM
converting point to point programs kevinwd1 General CAM Discussion 2 06-11-2007 11:45 AM
Point to point programs Frankbals Mazak, Mitsubishi, Mazatrol 2 05-22-2007 03:12 PM




All times are GMT -5. The time now is 10:09 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 354 355 356 357 358 359 360 361