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 07-09-2010, 09:26 AM
 
Join Date: Mar 2006
Location: USA
Posts: 5
Ya-Nvr-No is on a distinguished road
Macro B Screen Creation

I would like an example of how to create a screen for a 21i controller, that uses the arrow keys to scroll to a part number. On selection it would preform an angle calculation based on a couple of know features.

I have a family of parts that have the same basic flanged hub shape. But the angle that needs to be generated is different for each part number. My thought is to have the operator just scroll to the part number and the macro would create the Z position variable. Or a screen to pick the hub shape and the angle to it needed.

Also thinking about a screen that can be used to handle Qty to produce of each selection. The blanks are all the very same. As you can see I am trying to keep the errors out of operator interactions, and keep the idle time to a minimum.

I do have the 61803e1.pdf Fanuc manual and it looks possible but not 100% sure.

My other option is using Pictures (windows) and create a selection screen. haven't looked into the cost of that package.

Thanks for any examples and help.

As you can see I have been a long time member but first time poster.
Love this forum, Keep up the good work.
Reply With Quote

  #2   Ban this user!
Old 07-09-2010, 11:02 PM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

I am not aware of any such feature of Custom Macro B which can select a desired part or its feature by arrow keys. Of course, you can select any program you wish to execute. You can even insert comments in directory display so that you do not have to remember which program is doing what.

For a family of parts, I suggest the following method:
In the beginning of the program, enter part identification number. Based on this number, the program would machine appropriately. Read section 9.3 (pp 200-205) of the following book which has a similar example:
http://www.mhprofessional.com/produc...sbn=0071713328
Reply With Quote

  #3   Ban this user!
Old 07-10-2010, 07:42 AM
 
Join Date: Mar 2006
Location: USA
Posts: 5
Ya-Nvr-No is on a distinguished road
Menu

After doing some more reading it looks like I can create a menu and the operator types in a number from 1 to 59 (in my case so far). It runs a script that does some calculations and loads values in variables #500-#515 and then loads one of four or more programs that resemble the basic features. (hubs/no hubs, 9 degree thru 13 degree taper/no taper, oil slot/no oil slot, chamfer/no chamfer)
A matrix nightmare, but I don't have enough memory for that many programs. And it stops errors from creaping in just one or more programs that get edited and the others dont.
Reply With Quote

  #4   Ban this user!
Old 07-10-2010, 09:29 AM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

Other then creative uses of the block skip and optional stop switches and the user changing the value of a variable I know of no way to do a real user interface from macro B.
Reply With Quote

  #5   Ban this user!
Old 07-10-2010, 01:02 PM
 
Join Date: Mar 2006
Location: USA
Posts: 5
Ya-Nvr-No is on a distinguished road

You can fill and change variables with a G10.
Multiple If statements check the inputted part number and fills the variables as needed. Then these are used in the subroutines. Its just a matter of which ones to call. It sure keeps operators from mucking in the program. They just load and unload the palletizer and the next op.
The whole thing is started from the robot gantry.
It feeds the lathe with material goes back to get another while A side is being machined. Comes back the spindle is indexed to a known orientation robot grabs the First part loads the Second parts A side.
During the Second parts A side cut the robot flips up, drops off the part on a lift Table station between a two jaw gripper that will grab the part.
The lift table drops
Gripper rotates 180 degrees with the First part.
Table rises, parts released, robot is still flipped up and grabs with First part with the other gripper.
Robot rises Flips wrist vertical
Table lowers wrist returns to home position.
Spindle orientates for pickup of Second Side A.
Robot enters cell grabs Second parts A side
Spindle orientates 180 degrees
Loads First B side with second gripper.
As the First B side is machined it flips the Second 1/2 done part.
Goes back to get the First finished part and loads the Second B side with the same 180 degree spindle orientation routine.
Drops off completed part loads new material in first gripper
Goes back gets Second completed part
Flips spindle loads new material.
Drops off second part, loads next material.
That's kind of the nickel tour.
A few things need too be done also during the cycle like blow off chuck jaws and the lift station.
Pusher cylinders in the robot grippers are used to keep the part against the chuck stop during load.
An auto gage is used to check bores and update offsets.
Tool management is used to change or index inserts.
But for the most part it is an unattended operation.
I was just trying to find a way to make it easier to select the correct part numbers. And make it robust for future changes to the shapes. The matrix just gets bigger
Some additional I/O for the added stations and routines, So some ladder additions are made all on the robot side. Some timers need to be added for the M code conformations.
It's a process, but with over a 300+ part lift station it will run all night unattended.
It creates one pile of chips out the back.
Reply With Quote

Sponsored Links
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
post creation help scudzuki EdgeCam 4 10-29-2009 06:04 AM
Homemade Screen Printer/Silk Screen Sbthomas13 Machine Created Art 20 02-13-2009 06:35 PM
Macro to run when screen is opened tmead Screen Layouts, Post Processors & Misc 3 10-30-2008 08:22 PM
Need Help!- 3D wireframe creation brockadeau BobCad-Cam 19 01-31-2008 08:42 PM
My digital creation ( Nothing to do with CNC) ynneb CNCzone Club House 9 02-08-2006 09:57 PM




All times are GMT -5. The time now is 07:45 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