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 > Fanuc


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-08-2009, 01:46 PM
 
Join Date: Dec 2009
Location: USA
Posts: 2
rs7769 is on a distinguished road
Scaling and Rotation for scribing

Greetings all I have a question about scaling and rotation. I know that my params. are turned on my question is about the examples. The ones in the book are not that clear to me. What i am concerned with is the program structure what i have is the numbers 316 and i have them programed at .25 high letters i want to be able to shrink or expand them and turn them say 45 degrees.
I apologize if this is a repeat of another post i just dont have the time to go thru 105 pages of posts.
Reply With Quote

  #2   Ban this user!
Old 12-09-2009, 05:41 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

My notes on SCALING:

Scaling on CNC is similar to the SCALE command of AutoCAD, except that AutoCAD allows only positive and uniform scaling along all the axes, whereas CNC permits different scale factors along different axes, and some or all of these scale factors can be negative also to allow mirroring, thus providing for simultaneous scaling and mirroring. The scale centre is termed as base point in AutoCAD. Analyse the SCALE command on AutoCAD, in case of any confusion in the concept of scale factor and scale centre.

Scaling mode on CNC is invoked by G51 which is a modal code and remains effective till scaling mode is cancelled by G50. Its syntax has two formats – the first for a uniform (and positive) rate of magnification along all axes, and the second for different rates of magnification, including negative magnification required for mirroring. G51 must be specified in a separate block. After the programmed profile is enlarged, reduced or mirrored, G50 is commanded to cancel the scaling mode. The default mode is G50.

Scaling with uniform rate of magnification
G51 X_ Y_ Z_ P_
...
...
(Scaling mode active)
...
...
G50 (Scaling mode cancelled)

Scaling with non-uniform rate of magnification
G51 X_ Y_ Z_ I_ J_ K_
...
...
(Scaling mode active)
...
...
G50 (Scaling mode cancelled)

In the syntax given above, (X_, Y_, Z_) are the absolute coordinates (even if incremental mode is active) of the scale centre. If these are not specified, the current position of the tool is taken as the scale centre.
P_ is the uniform rate of magnification (scale factor) for all axes, in the range of +0.001 to +999.999 in the increment of 0.001 (or, +0.00001 to +9.99999 in the increment of 0.00001, depending on a parameter). If the P-word is omitted, a value specified in a parameter is taken as the scale factor. A negative value for P is not allowed.

I_, J_ and K_ are the rates of magnification along X-, Y- and Z-axis, respectively. Decimal values for I_, J_ and K_ are not allowed. These are 1000 times (or 100000 times, depending on a parameter) of the required magnification. If any of the I-, J- or K-word is omitted, the value specified in a parameter (which usually corresponds to scale factor 1) is used as the scale factor along that particular axis. Up to six digits can be used for I, J and K values. Negative values for I, J and K are allowed, which causes simultaneous scaling and mirroring.

So, for example, for doubling the size of the programmed profile in both X and Y directions, use P2.0 or I2000 J2000 K1000 (assuming the commonly used parameter setting for the scale range of 0.001 to 999.999). On the other hand, for doubling the size of the programmed profile along X direction and mirroring it in the Y direction (i.e., about XZ plane), use I2000 J-1000 K1000. For a two dimensional profile in XY plane, K need not be specified.

Note that both uniform and non-uniform scaling methods cannot be arbitrarily used all the time. Only one method can be used at a time. There is a parameter which selects the permissible method. Normally, this parameter is factory-set to allow non-uniform scaling, as this method of scaling is more flexible. If, however, you do not have applications for non-uniform scaling or mirroring, you may choose to use the method of uniform scaling (P method), after modifying this parameter. Also, even if you have selected the method of non-uniform scaling (I J K method), you may need to modify a parameter to allow negative scale factors (mirroring). Again, this parameter is factory-set to allow negative scale factors.
Reply With Quote

  #3   Ban this user!
Old 12-09-2009, 08:42 AM
 
Join Date: Feb 2009
Location: USA
Posts: 64
James L is on a distinguished road
Text at an angle

You don't necessarily have to use rotation to have text at an angle. For example, if you had a round part and you wanted text to go around it, you can just set each letter's angle in the gcode that calls it. It can be a little cumbersome, but it allows you to work without the need of a rotation call.
Reply With Quote

  #4   Ban this user!
Old 12-09-2009, 11:19 AM
 
Join Date: Dec 2009
Location: USA
Posts: 2
rs7769 is on a distinguished road

what i am trying to do is keep the same program intact so i can move it from machine to machine(same control) the people i have are just button pusher people they have no wish to learn anything more than they already know so i have to keep everything simple and be able to either place the text on the x or the y or at a 45 between anything more will be to much for them. so the factory g68 will have to do.
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
scaling mike hide SheetCam 8 11-10-2008 08:27 PM
scaling reedmiles Haas Mills 1 02-28-2008 09:11 AM
Newbie- scaling? BiggerHammer Hobby Discussion 2 02-20-2008 09:40 AM
Hass rotation & scaling paptep Haas Mills 7 02-26-2006 04:02 PM
Scaling? Ken_Shea OneCNC 5 05-13-2003 11:58 AM




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