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 01-27-2009, 09:54 PM
 
Join Date: Jan 2009
Location: USA
Posts: 56
BWay is on a distinguished road
Help needed with Siemens 840D and Renishaw probe

I have several programs I am working on that require the use of a Renishaw part probe with a Siemens 840D control. I am able to use the standard Siemens cycles to measure ID, OD, etc. but want to get into more custom programs that could allow me to use the probe in more creative ways. Does anyone have any good examples or experience with this type of G code programming?

For record...the machine is a G&L VTC2000 VTL.
Reply With Quote

  #2   Ban this user!
Old 01-29-2009, 05:35 AM
 
Join Date: Jan 2009
Location: united states
Posts: 16
tfisher is on a distinguished road
Siemens 840d help

Hey BWay i am new to this furum but hope i can help. I run a Giddings and lewis HBM PT1500 and do alot of probing and checking parts with the probe in many different ways. I don't know if i can help you but let me know what you are thinking of doing as far as probing and I'll try to give you a hand.
Reply With Quote

  #3   Ban this user!
Old 01-29-2009, 07:56 AM
 
Join Date: Jan 2009
Location: USA
Posts: 56
BWay is on a distinguished road

Originally Posted by tfisher View Post
Hey BWay i am new to this furum but hope i can help. I run a Giddings and lewis HBM PT1500 and do alot of probing and checking parts with the probe in many different ways. I don't know if i can help you but let me know what you are thinking of doing as far as probing and I'll try to give you a hand.
Thanks for the reply. Here are a few questions I am working through and maybe you can add some insight.

1) Are you probing using the standard Seimens Cycles only?
2) Do you have the ability to "Jog" probe?
3) Siemens or Fanic Controls?
4) Have you created custom programs that integrate your probe into the G code programs?
5) Have you had any calibration issues?
6) Have you used different stylus steups besides a the standard straight stylus?
7) What kind of accuracy does the probe measure?

Lots of quesions....

Thanks for any input offered.
Reply With Quote

  #4   Ban this user!
Old 01-29-2009, 06:37 PM
 
Join Date: Jan 2009
Location: USA
Posts: 7
maweber49 is on a distinguished road

You might investigate buying Renishaw Inspection Plus for the Siemens 840D. I think it's about $1100 but it will give you the option to probe in a 3 axis vector mode for a single point on a surface, using L9821 macro. You need to have an MP700, OMP400, or an RMP600 probe to get the accuracy with that macro. If you just want to use the Siemens probe macros, they'll pretty much just probe along the principle planes of the machine.

I've written numerous custom probe macros for the Siemens 840D including 5 axis but unfortunately I sell them for a living.
Reply With Quote

  #5   Ban this user!
Old 01-29-2009, 06:52 PM
 
Join Date: Dec 2006
Location: canada
Posts: 22
mike9696 is on a distinguished road
Thumbs up Siemens 840d probing

Hi there
We have lot of machines with Siemens control and most of them with
probes, There are few ways you can program a probe,
1st is using Siemens measuring cycle
2nd is using RG PARAMETERS AND R PARAMETERS
3rd is using custom variables
using Siemens cycles you can make spreadsheets of the result and then send to QA OR programming room for SPC purposes
and the accuracy most of them .001mm
we are using fixed probes, probes on turret and of coarse milling heads
I used star probes with milling head and with vertical lathe.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-29-2009, 07:04 PM
 
Join Date: Jan 2009
Location: united states
Posts: 16
tfisher is on a distinguished road
siemens probing

Hey BWay I use the standard siemens probing cycles but furtunately for me there are alot more cycles for probing on the boring bar than the vtc. I use the cycles in my programs alot. For example one of my programs i need to mill a slot to connect two other slots (like the slot across the end of your openside wedgelock or widebody) the two side slots are done on a mill with a fourth axis so for me to get the end slot to line up with both side slots i need to either indicate the two existing slots or in my case i probe the bottom of both slots then using the two readings my program will calculate what the angle between the two slots is and rotate my work offset so the end slot will blend in with both side slots. I use the probe in this way alot. I like to use the machine to crunch all the numbers in my programs so i can't make a mathematical error. As for your other questions i can't probe in jog mode i wish i could but i don't think as of now it is possible. My probe seems to stay calibrated quite well, however i do recalibrate every few months just to be sure. I also have not had the need or opprotunity yet to use different stylus. Hope some of what i wrote will be helpful if you need any help with writing a custom macro for doing some probing let me know. I currently have macros written for all probing cycles that i use on an everyday basis. When G&L came to set up my probe they didn't seem to leave me with much info so if you're in the same boat i can probably help.
Reply With Quote

  #7   Ban this user!
Old 01-29-2009, 08:08 PM
 
Join Date: Jan 2009
Location: USA
Posts: 56
BWay is on a distinguished road

Thanks for everyone's input...it seems that I found the right group of users.

As for using Siemens cycles for measuring...no problem.

Does anyone have sample code of a custom probe cycle (not standard cycles) that uses the probe measured data to get inputed back into R values?
Reply With Quote

  #8   Ban this user!
Old 01-29-2009, 09:06 PM
 
Join Date: Jan 2009
Location: USA
Posts: 7
maweber49 is on a distinguished road

Here's a snippet of code. This just measures a ring gage and saves the actual values to R variables. The variables at the beginning (RG1X, RG1Y, etc) are ones that were created in the GUD area by a definiton file, so you won't find these on your machine, but you can create your own. This is kind of a cool thing about the Siemens. This program uses Siemens cycle 977 to measure the bore.

ZCLEAR=30.0
RG1X=10.0
RG1Y=20.0
RG1Z=-1.5
PDEPTH1=.25
RGDIA=2.625

G01 F300. ;APPROACH FEED
G0 Z=ZCLEAR ;MOVE TO HIGH
C0. A0.
X=RG1X
Y=RG1Y ;MOVE TO CENTER OF RING GAGE #1
Z=RG1Z+10. ;MOVE TO Z 10" ABOVE TOP OF GAGE
G1 Z=RG1Z-PDEPTH1 ;MOVE Z BELOW TOP OF RING GAGE

SPOS=0

;Set modal parameters
_VMS=1.5
_NMSP=2
_FA=2
_PRNUM=1

_MVAR=1
_SETVAL=RGDIA
_KNUM=0

CYCLE977

R101=_OVR[5];THIS IS THE PROBED X LOCATION
R102=_OVR[6];THIS IS THE PROBED Y LOCATION
R105=_OVR[4];THIS IS THE PROBED DIAMETER

G01 Z=RG1Z+2. F300 ;MOVE TO Z 2" ABOVE TOP OF GAGE
Reply With Quote

  #9   Ban this user!
Old 01-29-2009, 09:12 PM
 
Join Date: Jan 2009
Location: united states
Posts: 16
tfisher is on a distinguished road
probe value to offset

You can use the standard cycles to load the actual dimension straight into one of the R parameters. all the probing i do i use the cycle for "only measurement". To do this i turn the chbits off by entering 0 so the measurement result page does not pop up then after the cycle 977 or whatever cycle the particular probe cycle is all you have to do is write for example R1=_OVR[5] this is where the probing cycle stores the actual value that it just probed. _OVR[5] is the X value _OVR[6] is the Y value and _OVR[7] is the Z value. the _OVR values can be seen if you go in your parameter page under user channel user data GUD6 i think. Hope this helps. I can send you one of my actual programs if you want. Just saw some one beat me to it oh well. Hope it helps anyway.
Reply With Quote

  #10   Ban this user!
Old 01-29-2009, 09:42 PM
 
Join Date: Jan 2009
Location: USA
Posts: 56
BWay is on a distinguished road

This code looks good and very similar to something I have been working on. What I am finding is that the standard cycles on the machine I have only cover some of the measurements I want to perform. Do either of you have a sample of code were you are measuring with the probe without using canned cycles?

Thanks.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-29-2009, 09:46 PM
 
Join Date: May 2004
Location: United Kingdom
Posts: 75
guypb is on a distinguished road

Originally Posted by maweber49 View Post
Here's a snippet of code. This just measures a ring gage and saves the actual values to R variables.
Hey maweber49 - is your first name Mark by any chance?

I would recommend Inspection Plus as the way to go personally - cuts out a lot of the overhead and uses a standard set of variables - my concern with custom probing code is using variables that impinge on other programs. I only know of 1 company that actually maps what programs use what macro variables.
Reply With Quote

  #12   Ban this user!
Old 01-29-2009, 10:18 PM
 
Join Date: Jan 2009
Location: USA
Posts: 7
maweber49 is on a distinguished road

hey Bway. I have to go with Guy on this. Inspection Plus is the way to go. To write code to probe longhand (without the use of macros) is a bit of an undertaking and you will be writing a LOT of code just to measure a single point. Unfortunately it's not as simple as G01, G02, G03.

to guypb;

you are correct. It is Mark. 'tis a small world we live in, is it not?
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
Need Help!- SIEMENS 840D BKCOM General CNC (Mill and Lathe) Control Software (NC) 4 12-08-2010 04:21 PM
Help with Siemens 840D code. bb_24_1 CNCzone Club House 2 04-09-2009 03:24 PM
Looking for Siemens 840D support psevin Employment Opportunity 0 12-05-2007 09:56 AM
VB & Siemens 840D Thunder Visual Basic 1 09-22-2007 10:28 AM
Need Help, Siemens 840d Right Angle montyleeclark Post Processors for MC 1 07-19-2007 09:23 AM




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