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 > Machine Problems, Solutions , Wireless DNC, serial port


Machine Problems, Solutions , Wireless DNC, serial port Need help with your Machine or need a Machining solutions for , Serial Port, Cable problems between PC and all others DNC problems disucss them here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-05-2003, 07:09 PM
 
Join Date: Oct 2003
Location: Wales UK
Posts: 34
RLMTS is on a distinguished road
Siemens System 8 (G53, G40?)

FM100 Fleximatic. Siemens System 8 Sprint.
KTM Panel 45054. Diagram 454254.

Hello,

I am currently working on a KTM machining centre that 'screws up' during tool-change.

The 1st tool change is always ok, but subsequent tool-changes send the Z-axis into + overtravel.

The problem seems to relate to commands in the sub that send the Z (Z carries the work on this m/c) to a safe position for tool changing. Z is sent to +500mm which is away from the spindle and 1mm short of s/ware + o/travel.

During this tool change cycle, the axis position displayed is updated to take into account the inserted tool length. (eg. if tool length is 100mm then axis position display now shows Z at only +400 from spindle (tool tip) The actual position of the axis in the m/c coordinate display (Test "eyeball" N812) is still +500 and has not moved since being put at this 'safe' position.

On the next tool-change, the Z-axis is again requested to move to the safe position of +500, but this time goes into overtravel (+501)

The problem can be simulated in MDA (when a tool length offset is active) by programming a move in absolute m/c coordinate mode "G60 G0 G90 G80 G53 Z 500" where I would expect the axis to move to +500 with respect to MACHINE REF COORDINATES, but the axis wants to go more! and O/Ts.

I have proved by experimentation that the axis is trying to move to the commanded position including the tool length offset, hence O/T at +501 !

I believe that the active tool offset should be ignored when L959 moves the Z axis to the safe position of +500.

What G Code is used to move an axis with resect to m/c coordinate system (with respect to REF point) ? is it G53? if so, this is not working.

What on earth is going on, I am very confused?

Any help, pointers, jokes! would be appreciated.

If necessary, I will list the Lprog here.

Oh, forgot to mention the m/c was recently moved, it lost it's memory, and all had to be reloaded. I have checked the parameter listing against a print-out of what I am told should be in there and it is correct?!

There is heavy use of @ functions in the tool-change sub-routine (L959)

Do you have any knowledge of System 8 "@" commands?
Can I view/download a list from anywhere?

I hope you can help, or point me to someone who can.

Regards Richard.
rlmts@controlit.fsbusiness.co.uk.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 10-05-2003, 07:11 PM
 
Join Date: Oct 2003
Location: Wales UK
Posts: 34
RLMTS is on a distinguished road
Update + Sub-routine listing

UPDATE.......

The problem seems to be related to the system ignoring G40 (I believe)

I am told (and it makes sense) that G53, when used, only disables the Zero Offsets, (G54-57)

Problem Example.......

Status before move.

Z-axis is at +400 (m/c coordinate system, reading shown at Test N812)

The operator display is showing +350 (50mm Tool Length Offset active)

Then the following MDI Auto command was executed...

G0 G53 G90 G40 Z 410.000

(Move Z in rapid (G0), use m/c coordinates (G53), use absolute moves (G90), cancel tool offsets (G40) Move to +410, a +10mm move)

I believe the axis should have moved 10mm in the +ve direction BUT it moved 60mm +ve!

Final axis readings were...
N812 = +460
Op display = +410

So, am I right in assuming G40 (& G53) should have set the position register to m/c coordinate values, then moved +10mm (showing 410mm in N812)?

You think you're confused! It's taken me 20 minutes to type this!

Please comment on this, if it's only to say "good luck mate! (just nice to know someone actually reads my post!)

Have a nice day,
Richard.
rlmts@controlit.fsbusiness.co.uk
Attached Files
File Type: txt ktm_l959.txt‎ (858 Bytes, 87 views)
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 10-05-2003, 11:25 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Hi RLMTS,

What happens if you simply cancel the tool offset before you attempt the return to home?

This could be a parameter option, whether the current tool offset is cancelled when a new tool change is commanded. If the parameter is "Off" then this might explain what is happening.

Also, check that your softlimits are set properly for the tool extremes, presumably to allow the tool that has to move the fartherest, to be able to complete its move without hitting the soft limit.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 10-05-2003, 11:26 PM
wms's Avatar
wms wms is offline
Moderator
 
Join Date: Mar 2003
Location: United States
Posts: 938
wms is on a distinguished road
Talking Good Luck Mate!

Good Luck Mate!
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 10-06-2003, 04:11 AM
 
Join Date: Oct 2003
Location: Wales UK
Posts: 34
RLMTS is on a distinguished road
System 8

Hi Huflungdung and WMS!

Thanks for taking the time to reply.

If you see my 2nd post, you'll see that cancelling the tool offset (G40?) seems to do nothing.

The Software limits are as they have always been.

Depending on the move (direction) the S/Ware O/T may not necessarily operate, but position seems wrong.

The main point seems to be the G40 ? (see L959 Listing and my 'manual data input' code)

I can clear the offset by programming D0 in the move block, but this was never in the original code?

Have a nice day!
Richard.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 10-06-2003, 10:41 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

RLMTS,

Cancel a tool offset with T0. You should try this in addition to the cancelling of the work offset G40.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 10-06-2003, 02:56 PM
 
Join Date: Oct 2003
Location: Wales UK
Posts: 34
RLMTS is on a distinguished road
System 8 G40 ?

Hi Everyone,

Thanks for your posts!

The preparity command 'G40' does not seem universal/standard for cancellling a 'tool offset' so I am looking into the possibility that when the memory was lost, and subsequently reloaded, they did not 'tell' the control what it was, or selected the wrong description of control.

With Siemens System 8, after clearing all memory, amongst many other things you have to 'boot up' holding the 'input' button and a numerical button from 1 to 5. This tells the processor what type of System 8 control it is.

eg.
'input + 2' = "8M Sprint"
'input + 5' = "8M"
and there are others for 8T, 8MC etc....

The reason I am 'down this road' is because of a simple comment I read on one of many photocopies of G Codes for Sys 8.

One copy (but not others) said.....
"G40 = Cancel Tool Offset" (8M Only)"

I have to hold on to the fact that the L.progs and P.Progs have not been changed.

Regards, Richard
Tweet this Post!Share on Facebook
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CNC Glossary CNCadmin CNCzone Club House 17 03-09-2008 04:08 PM
CNC lathe tool and work offsets mm4039 General Metalwork Discussion 18 06-15-2005 12:45 PM
A System For Milling And Turning kathepati FeatureCAM CAD/CAM 2 03-20-2005 10:46 PM
Need suggestions on components 5 axis control system? pab Mach Software (ArtSoft software) 0 01-19-2005 05:34 PM
coverting from Right-hand to left-hand coordinate system eltonr General CAM Discussion 6 10-14-2004 09:40 PM




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