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-19-2011, 07:40 PM
 
Join Date: Jul 2011
Location: usa
Posts: 13
fdonosos is on a distinguished road
Variable H read offset tool

I need help with a program, when I use the variable H1 or H2 or any of this, read the X and Y but I don't know why they read the offset of the tool and do not read the Z as it should be, I used this:
G15 H1 or 2 or 3 etc does not work and read the dimensions of the tool offset number 1 or 2 or 3 depending on which use H
Reply With Quote

  #2   Ban this user!
Old 07-19-2011, 10:56 PM
broby's Avatar  
Join Date: Apr 2006
Location: Australia
Age: 48
Posts: 578
broby is on a distinguished road

what machine/controller are you using?
Are you getting any alarms? if so what are they?
We need more information from you, if possible a reasonable code fragment along with an explanation of what you are trying to achieve.
Regards
Brian.
Reply With Quote

  #3   Ban this user!
Old 07-20-2011, 04:45 AM
 
Join Date: Jul 2011
Location: usa
Posts: 13
fdonosos is on a distinguished road
Need help

fanuc control, no any alarm at all, just when run the program show me that, the variable H is using offset tool
Thank Brian
Reply With Quote

  #4   Ban this user!
Old 07-20-2011, 04:48 AM
 
Join Date: Jul 2011
Location: usa
Posts: 13
fdonosos is on a distinguished road

The machine is Mori Saeki MC50VA
Reply With Quote

  #5   Ban this user!
Old 07-20-2011, 08:16 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

On most Fanuc controls, G15 is Polar Coordinate Interpolation. It doesn't use H that I'm aware of.

Please explain your problem more clearly, and as Broby suggested post the section of code where the problem is occuring, and explain what it's doing or not doing.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-20-2011, 11:34 AM
 
Join Date: Jul 2011
Location: usa
Posts: 13
fdonosos is on a distinguished road

the Zero Set (H1)said X=3.0728 Y=1.2669 Z=5.4134 when the program find location for make a hole the the control used X and Y but the Z is from tool offset T01=3.699 shout be Zero Set Z=5.4134 I hope you undertand
Thanks
Reply With Quote

  #7   Ban this user!
Old 07-20-2011, 12:21 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

No, I don't. What does H1 have to do with X and Y?
What MODEL Fanuc is this?
Reply With Quote

  #8   Ban this user!
Old 07-20-2011, 09:20 PM
broby's Avatar  
Join Date: Apr 2006
Location: Australia
Age: 48
Posts: 578
broby is on a distinguished road

Can you post your program for us to see what you are trying to do??
Reply With Quote

  #9   Ban this user!
Old 07-21-2011, 04:45 AM
 
Join Date: Jul 2011
Location: usa
Posts: 13
fdonosos is on a distinguished road

ok, I will do it,
Thanks
Reply With Quote

  #10   Ban this user!
Old 07-21-2011, 05:44 AM
broby's Avatar  
Join Date: Apr 2006
Location: Australia
Age: 48
Posts: 578
broby is on a distinguished road

Thanks.
About time! We are NOT asking for the whole program, nor any of your intellectual property, drawings product information or anything like that, but hey... YOU are the one that has asked for help and YOU have been unwilling to help us to help you.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-21-2011, 11:28 AM
 
Join Date: Jul 2011
Location: usa
Posts: 13
fdonosos is on a distinguished road

Hey no problem I will post today afternoon, I need help, so I will do it, I have not time right now.
Thanks
Sergio
Reply With Quote

  #12   Ban this user!
Old 07-21-2011, 04:55 PM
 
Join Date: Jul 2011
Location: usa
Posts: 13
fdonosos is on a distinguished road

Here is the program.
In the beginning of the program find X, Y and Z, after that load this information in H1 so when I run the program it read X and Y whit no problem at all because the values ​​of X and Y are taken from H1 but the value of Z is taken from the tool offset number 1 and you can see into the program as information and T01 = 3.6990 but it value should be taken from H1, this is a bit confusing but I hope you can help me
Ejem H1 or H2 Or H3 load values of X, Y and Z (Zero Offset) and it doesn't have relation whit tool offset, my Zero Setup should be H1 = X, Y, Z

$O6306.MIN%
(SEND-O6306K)
(H1 X=-3.0927 Y=-4.3777 Z=8.0962)
(TOOL SET)
(T12 FACE MILL 2.0" DIA)
(T03 END MILL 1.0" DIA)
(T04 SPOT DRILL 0.5" DIA)
(T02 DRILL 0.265" OR F DIA)
(T11 TAP 5/16-18 UNC)
(OFFSET T01 3.6990)
( PROVEN PROGRAM 07/02/2011 SDF )
( 863B-7-42 REV. 3 )
( X-ZERO = CENTER OF PART )
( Y-ZERO = CENTER OF PART )
( Z-ZERO = WHERE PART SITS )
( PROBE SEQUENCE )
( TURN ON BLOCK DELETE TO PROBE FIRST PART )
/GOTO N0010
CALL OFX20
CALL OZOFZ XP1=16.85 YP1=05.57 ZP1=7.505 FON=1 ZPOS=0.500
$PRB=1
CALL OZOFY YP1=04.64 XP1=16.500 ZP1=7.69 YP2=05.08 YP3=2.65
$ YP4=2.21 FON=1 YPOS=0 PRB=1
CALL OZOFX YP1=03.70 XP1=13.763 ZP1=7.69 XP2=13.323 XP3=19.44
$ XP4=19.8 FON=1 XPOS=0 PRB=0
G30 P2
M01
N0010 G40 G90 G17 G15 H1
N0020 M06 T12 (2.00 DIA FACE MILL)
N0030 H1 M03 S900 T3
N0040 G00 X0.0 Y0.0 M08
N0050 G56 H1 Z3.5819
N0060 G01 Z2.554 F10.7
N0070 Y1.9438
N0080 X-3.3973
N0090 G03 X-3.4973 Y1.8438 I0.0 J-0.10
N0100 G01 Y-1.9012
N0110 G03 X-3.3973 Y-2.0012 I0.10 J0.0
N0120 G01 X3.3927
N0130 G03 X3.4927 Y-1.9012 I0.0 J0.10
N0140 G01 Y1.8438
N0150 G03 X3.3927 Y1.9438 I-0.10 J0.0
N0160 G01 X-0.5
N0170 Y0.0
N0180 Z2.534
N0190 Y1.9438
N0200 X-3.3973
N0210 G03 X-3.4973 Y1.8438 I0.0 J-0.10
N0220 G01 Y-1.9012
N0230 G03 X-3.3973 Y-2.0012 I0.10 J0.0
N0240 G01 X3.3927
N0250 G03 X3.4927 Y-1.9012 I0.0 J0.10
N0260 G01 Y1.8438
N0270 G03 X3.3927 Y1.9438 I-0.10 J0.0
N0280 G01 X-0.5
N0290 Y0.0
N0300 Z2.514
N0310 Y1.9438
N0320 X-3.3973
N0330 G03 X-3.4973 Y1.8438 I0.0 J-0.10
N0340 G01 Y-1.9012
N0350 G03 X-3.3973 Y-2.0012 I0.10 J0.0
N0360 G01 X3.3927
N0370 G03 X3.4927 Y-1.9012 I0.0 J0.10
N0380 G01 Y1.8438
N0390 G03 X3.3927 Y1.9438 I-0.10 J0.0
N0400 G01 X-0.5
N0410 Y0.0
N0420 G00 Z20. M09
N0430 G30 P2
N0440 M01
N0450 M06 T3 (1.00 DIA END MILL)
N0460 H1 M03 S1000 T4
N0470 G00 X4.208 Y-3.022 M08
N0480 G56 H1 Z4.3934
N0490 Z2.7934
N0500 G01 X-4.456 F10.
N0510 G00 Z14.0
N0520 X4.208 Y3.095
N0530 G00 Z2.7934
N0540 G01 X-4.456 F10.
N0550 G00 Z20.0 M09
N0560 G30 P2
N0570 M01
N0580 M06 T4 (SPOT DRILL 0.500")
N0590 H1 S2500 M03 T2
N0600 G00 X-4.00 Y0.8750 M08
N0610 G56 H1
N0620 G81 Z3.363 R4.439 F28. P.2
N0630 G00 Z20.00
N0640 X4.000 Y0.375
N0650 G56 H1
N0660 G81 Z3.363 R4.439 F28. P.2
N0670 G00 Z20. M09
N0680 G30 P2
N0690 M01
N0700 M06 T2 (DRILL 0.265INCH OR F HOLE)
N0710 S800 M03 T11 H1
N0720 G00 X-4.00 Y0.8750 M08
N0730 G56 H1 Z3.76
N0740 G83 Z2.02 R3.26 Q0.5 F18. P0.2
N0750 G00 Z20.
N0760 X4.000 Y0.3750
N0770 G56 H1 Z3.76
N0780 G83 Z2.165 R3.26 Q0.5 F18. P0.2
N0790 G00 Z20. M09
N0800 M01
N0810 G30 P2
N0820 T11 M06 (5/16-18NC TAP)
N0830 S324 M03 T1
N0840 G00 X-4.00 Y0.8750 G94
N0850 M327
N0860 VTMNO=2
N0870 G56 H=VATOL M08
N0880 G284 Z=0.4529 R2.0539 P0.5 F18.
N0890 M326
N0900 G00 Z7.00
N0910 X4.00 Y0.3750 G94
N0920 M327
N0930 VTMNO=2
N0940 G56 H=VATOL
N0950 G284 Z=0.717 R2.0539 P0.5 F18.
N0960 M326
N0970 G00 Z7.00
N0980 G80 M09
N0990 M01
N1000 G30 P2
N1010 M30
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
Read variable with Python albova LinuxCNC (formerly EMC2) 7 05-26-2012 06:53 AM
OSP-P200L want to read z offset 1noodle Okuma 5 10-22-2010 10:56 AM
Fanuc 16i variable offset issue PCCDon Fanuc 3 11-26-2009 01:04 AM
Problem- Mirrioring x using G51.1, but will not read fixture Z offset? Shaun Smth Fadal 2 08-10-2009 04:24 PM
Need Help!- How do I read the value of an F-type parameter into a macro variable? Jan d. Mazak, Mitsubishi, Mazatrol 24 02-17-2009 10:47 PM




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