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 12-21-2009, 04:00 PM
 
Join Date: Oct 2009
Location: usa
Posts: 10
bert4255 is on a distinguished road
programing tool length offset in a 3axis mill

programing tool length offset in a 3axis mill/. it is vickers acramatic pc2100. does this code look right for tool changes with offsets. i was told to use H code but my manual which is useless says use a O code. i've tried for several days and still cant figure out my tool offsets. i've set all tools offsets in the control, does it have to be in the code as well? does anyone have some code i can see to compare mine with? i'm using bobcam v23. the mill is a tree journeyman 250. it i set up one tool the machine is great. i just have to figure out the tool change codes and offsets.
please help. mschrowang@nycap.rr.com

:100

N01 G17 G40 G70 G80 G90 G94 G97

N02 M06 T2
N03 O2
N04 G00 G90 X3. Y0. S201 M03
N05 Z.1 M08
N06 G81 X3. Y0. Z-.08 R.1 F.4034
N07 X0. Y3.
N08 X-3. Y0.
N09 X0. Y-3.
N10 Z.1
N11 G80
N12 M09
N13 M05

N14 M06 T3
N15 O3
N16 G00 G90 X3. Y0. S323 M03
N17 Z.1 M08
N18 G83 X3. Y0. Z-1.5381 R.1 Q.2715 F.9708
N19 X0. Y3.
N20 X-3. Y0.
N21 X0. Y-3.
N22 G00 Z.1
N23 G80
N24 M09
N25 M05


N26 M06 T4
N27 O4
N28 G00 G90 X3. Y0. S238 M03
N29 Z.1 M08
N30 G84 X3. Y0. Z-1.3636 R.1 F.0909
N31 X0. Y3.
N32 X-3. Y0.
N33 X0. Y-3.
N34 G00 Z.1
N35 G80
N36 M09
N37 M05


N38 G00 Z.5
N39 X0. Y6.
N40 M02
Reply With Quote

  #2   Ban this user!
Old 12-21-2009, 05:02 PM
sti2011's Avatar  
Join Date: Jan 2008
Location: USA
Age: 42
Posts: 88
sti2011 is on a distinguished road

Not familiar with your type of machine at all but using O instead of zero on a Fanuc is all wrong. A Fanuc would require:G43 H2. G43 turning on length comp and H as the tool length offset. If this works you may need to use G49 before sending the tool home to turn off length comp. I would put it in your first z posit move.(this may or may not work on your mach)
Reply With Quote

  #3   Ban this user!
Old 12-21-2009, 05:10 PM
sti2011's Avatar  
Join Date: Jan 2008
Location: USA
Age: 42
Posts: 88
sti2011 is on a distinguished road

Put the G43 H? on you first Z move and put the G49 on your last Z move home. I re-read what I wrote and it could be confusing. There is most likely a G code list in your manual look for one that turns on length comp.
Reply With Quote

  #4   Ban this user!
Old 12-21-2009, 06:30 PM
 
Join Date: Mar 2009
Location: usa
Posts: 177
1234567 is on a distinguished road
tools

try this
%
O100


N01 G17 G40 G70 G80 G90 G94 G97

N02 M06 T2
N04 G00 G90 X3. Y0. S201 M03
N05 G43 H2 Z.1 M08( PICK UP TOOL OFFSET)
N06 G81 X3. Y0. Z-.08 R.1 F.4034
N07 X0. Y3.
N08 X-3. Y0.
N09 X0. Y-3.
N10 Z.1
N11 G80
N12 M09
N13 M05
M14 G49

N14 M06 T3
N16 G00 G90 X3. Y0. S323 M03
N17 G43 H3 Z.1 M08
N18 G83 X3. Y0. Z-1.5381 R.1 Q.2715 F.9708
N19 X0. Y3.
N20 X-3. Y0.
N21 X0. Y-3.
N22 G00 Z.1
N23 G80
N24 M09
N25 M05
N25 G49


N26 M06 T4
N28 G00 G90 X3. Y0. S238 M03
N29 G43 H4 Z.1 M08
N30 G84 X3. Y0. Z-1.3636 R.1 F.0909
N31 X0. Y3.
N32 X-3. Y0.
N33 X0. Y-3.
N34 G00 Z.1
N35 G80
N36 M09
N37 M05
N37 G49
N37 G28 91 Z0.
N27 G28 G91 X0. Y0.
N40 M30
%
Reply With Quote

  #5   Ban this user!
Old 12-21-2009, 06:42 PM
christinandavid's Avatar  
Join Date: Aug 2009
Location: New Zealand
Posts: 573
christinandavid is on a distinguished road
Vickers Acramatic

Hi,

Have run this control. It is very confusing with many levels of tables of offsets for tools, fixtures, tram lengths and god knows what else. Pretty sure that it all depends which table you use. We kept it simple. As I recall, the way we ran it I am pretty sure we had to put the Tool DIAMETER into the tool table we used (which may have been called automatically, or with O, can't remember). I am also pretty sure that H and D offsets were extra offsets in a different table that you could use if required. Its been a few years so its all a little bit hazy...

Also recall this control being a pain in the ass if you defined the tool form as it would then only run certain cycles - and it had dozens of cycles, for every conceivable strategy (most of which were impractical to use). If I ever had to do circular pockets on it I always programmed it long hand so I could get it up and running with the minimum of fuss.

It has got a funky windows like touch screen control though and the mc we had a remote pendant that you virtually had to strap to your arm, it had thousands of buttons all over it.

DP

Last edited by christinandavid; 12-22-2009 at 04:31 AM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-22-2009, 08:38 AM
 
Join Date: Oct 2009
Location: usa
Posts: 10
bert4255 is on a distinguished road

Originally Posted by christinandavid View Post
Hi,

Have run this control. It is very confusing with many levels of tables of offsets for tools, fixtures, tram lengths and god knows what else. Pretty sure that it all depends which table you use. We kept it simple. As I recall, the way we ran it I am pretty sure we had to put the Tool DIAMETER into the tool table we used (which may have been called automatically, or with O, can't remember). I am also pretty sure that H and D offsets were extra offsets in a different table that you could use if required. Its been a few years so its all a little bit hazy...

Also recall this control being a pain in the ass if you defined the tool form as it would then only run certain cycles - and it had dozens of cycles, for every conceivable strategy (most of which were impractical to use). If I ever had to do circular pockets on it I always programmed it long hand so I could get it up and running with the minimum of fuss.

It has got a funky windows like touch screen control though and the mc we had a remote pendant that you virtually had to strap to your arm, it had thousands of buttons all over it.

DP
my machine does not like g43? what do i use?
Reply With Quote

  #7   Ban this user!
Old 12-22-2009, 09:25 AM
 
Join Date: Jan 2005
Location: USA
Posts: 2,348
mactec54 is on a distinguished road
Buy me a Beer?

Hi bert4255
Try parts of this as it should work, This is not your program ,but you could put yours together like this.

:G90
M6 G40 T1
S484 M3
G0 X9.888 Y9.777 Z1.
G0 X0.573 Y1.95
Z0.1
G1 Z-0.122 F5.
G41 T1
X0.575 F10.
G3 X0.875 Y2.25 P0.3
G1 Y3.
G2 X1. Y3.125 P0.125
G1 X1.3584
G2 X1.6038 Y2.9228 P0.25
G3 X2. Y2.5964 P0.4036
X2.3962 Y2.9228 P0.4036
G2 X2.6416 Y3.125 P0.25
G1 X3.
G2 X3.125 Y3. P0.125
G1 Y1.5
G2 X2.5 Y0.875 P0.625
G1 X1.5
G2 X0.875 Y1.5 P0.625
G1 Y2.25
G3 X0.575 Y2.55 P0.3
G40 T
G1 X0.573
G0 Z0.1
Z1. M5
M6 G40 T3
S765 M3
G0 X9.888 Y9.777 Z1.
G0 X2.5 Y1.5
G81 Z0.1 P Q-0.122 E0.1 F12.
X1.5
X2. Y2.
G80
M6 G40 T4
S888 M3
G0 X9.888 Y9.777 Z1.
G0 X2.5 Y1.5
G83 Z0.1 P Q-0.122 F14.
X1.5
X2. Y2.
G80
Z1.
M2
__________________
Mactec54
Reply With Quote

  #8   Ban this user!
Old 12-23-2009, 05:36 AM
christinandavid's Avatar  
Join Date: Aug 2009
Location: New Zealand
Posts: 573
christinandavid is on a distinguished road
Vickers Acramatic

Your machine may not even need G43. Seem to recall that tool length offset was loaded automatically even when calling tool with a Tn M6 in MDI (Z coordinate displayed would alter to suit tool in spindle as soon as M6 was complete).

DP
Reply With Quote

  #9  
Old 12-23-2009, 06:38 AM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,396
tobyaxis is on a distinguished road

Siemens Vickers Acromatic 2100 does not use a G43 or a Height Offset.

Set your tools to a Known Height then Touch one tool to the top of the work.

In your program all you need is T1M6 and the Set-Up information does the rest. I have to double check a few things but this is how most 2100 controls work.

BTW: Arcs are programmed with a "P" Designation not "R". You can use "I" and "J" as well.
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

www.refractotech.com
Reply With Quote

  #10   Ban this user!
Old 12-26-2009, 07:48 PM
 
Join Date: Oct 2009
Location: usa
Posts: 10
bert4255 is on a distinguished road
Toby

Toby, how do u input tool lengths? do u calculate the lengths by using the digital z readouts and entering the numbers manually in the tool manager or do you use the fetch option or mdi t1,t2? every time i do it either way i get different numbers? what is the proper way?
thanks
Marc
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-27-2009, 02:07 AM
christinandavid's Avatar  
Join Date: Aug 2009
Location: New Zealand
Posts: 573
christinandavid is on a distinguished road
Length Offset Nightmare

Hi,

Believe that Length Offset is loaded automatically on M6 command (even in MDI) so you can't go by what the Z-axis co-ordinates are, as that figure will be relative to the length currently in the table. The only way you could do it this way is to reset all lengths in your tool table to zero (along with your work offset Z values) and measure new tool by touching on your 'Tram position'. I suggest you use 'Fetch' (sounds familiar).

I assume you have set a 'Tram Length' to the spindle-nose (I ran ours for 6-months before someone pointed this out to me and from then everything started making sense)?

DP
Reply With Quote

  #12  
Old 12-27-2009, 06:50 AM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,396
tobyaxis is on a distinguished road

Originally Posted by bert4255 View Post
Toby, how do u input tool lengths? do u calculate the lengths by using the digital z readouts and entering the numbers manually in the tool manager or do you use the fetch option or mdi t1,t2? every time i do it either way i get different numbers? what is the proper way?
thanks
Marc
Be in MDI MODE
Call the tool on the Key Board : T1 M6
Cycle Syart
Hit the SET UP Button on the Handle
Bring you tool down to Zero (top of the work if your programming Z- in the program for depth )

Then Hit Tool Set on the Handle.

This should be it. I have not worked on one of these in a while, and even then it was very brief.

Do you have a Manual for this Machine??
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

www.refractotech.com
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
tool offset programing Danno Mach Mill 2 04-12-2009 06:50 AM
Need help with tool length offset panaceabea Haas Mills 32 03-04-2009 01:07 PM
Tool # and length offset agreement Vern Smith Haas Mills 11 12-17-2008 07:42 PM
Absolute readout & tool length offset leeroy General CNC (Mill and Lathe) Control Software (NC) 4 11-07-2008 03:35 PM
Tool Length offset? cncuser1 G-Code Programing 3 08-30-2007 08:59 PM




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