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 > CamSoft Products


CamSoft Products Discuss Camsoft PC based CNC controller products here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-16-2004, 04:02 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road
Softlimits in general

I have pondered the usage of soft limits in cnc controllers, and find a definite lack of functionality. So this is not a Camsoft beef in particular, but maybe this is the PC based cnc solution that could get it right

Mind you, I have not seen everything there is to see, so maybe some controllers do have better functionality.

Anyways, let's think about lathes for a moment. There is often great variation in the length of tooling required. And, much of the time, this tooling must work very close to the chuck face of the chuck jaws.

Suppose I have a boring bar projecting 5" to the left of most of the regular OD turning tools. Suppose I must cutoff within .5" of the chuck.

Since the softlimits are relative to machine zero, then it becomes obvious that the boring bar is not going to be protected by soft limits. If you set a limit that protects the bar, it will prevent the cutoff tool from moving into position.

So, my notion, is that there should be a unique softlimit setting associated with every tool in the tool offset register.

The same principle would apply to mill tools of various lengths. There isn't any protection for the longest tools.

Am I missing something here? Why are softlimits in this state of uselessness?
__________________
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

  #2   Ban this user!
Old 02-19-2004, 07:46 PM
 
Join Date: Apr 2003
Location: United States
Posts: 267
camsoft is on a distinguished road

There are a few things you can do.

Use the Search for Solutions button (Starting with Version 15) to review Question #232

It's true the SOFTLIMITS position settings in CNC SETUP are relative to the machine home not tool or job home. However, these positions can be changed on-the-fly with the logic command equivalent called SOFTLIMITS or the G codes G170,G171,G172.

Think of the SOFT LIMITS as a virtual over-travel limit switch in the computer. These may be used as crash barriers to prevent the tool from hitting the chuck, fixture or clamp for example.

What actions will occur when a crash barrier or SOFTLIMITS is crossed can be customized by the end user in detail inside the SOFTLIMITS.FIL file.

Here are the 3 choices.

(1) Enter in the tool size or length into the CUSTOM1 or CUSTOM2 box on the TOOL PARAMETER screen for each tool number. At each new tool change, perhaps in the logic for the M06 code you can setup the new crash barrier positions for each new tool. Use the lower case t value to determine the current tool number.
Example:
TOOLCUS1STt \123
SOFTLIMITS BACKWARD {-10+\123};0;0

This will retrieve the value stored in the CUSTOM1 box on TOOL PARAMETER SCREEN for current tool number and store it in variable \123 then reset the SOFTLIMITS for the BACKWARD limit of the first axis to -10 were it was originally plus the tool size or length stored in variable \123.

If the physical chuck was at -10 away from machine home in Z (in this case axis number 1 on a lathe) and the lathe tool length stored in CUSTOM1 box was added to the original chuck location then the number 1 axis could not pass this coordinate without causing the SOFTLIMITS event to execute. This would also work for 3D mills or other machine types despite additional offsets for the fixture, job home or other user defined added offsets because the internal position register compares the actual axis location minus any offsets in a separate register and it's this value that is compared to the SOFTLIMITS position. All we are doing here is adding the tool size or length to SOFTLIMITS.

When the tool enters the crash barrier limits the logic in the SOFTLIMITS.FIL file will automatically run. Here you display messages to the operator, stop the machine or even automatically back away slowly.

(2) These G codes setup new crash barriers from within the G Code program G171,G172. The G170 resets them back to the defaults. This way the positions that are given for this particular part would be saved for the next time it's run, right inside the G code file.

(3) Enter logic directly in the GCODE.FIL file table that specifies what will happen, what messages get displayed and what action will occur before the GO command to move the machine takes place. In the example below if the X axis position in the G code program is ever less than or equal to the value 1.234 then the machine stops and displays a message and exits out before it moves there.
The -1.234 maybe the distance from the face of the part Z0 to the chuck jaws.
For example:
If x<=-1.234 THEN ESTOP:MESSAGE CRASH BARRIER HIT:EXIT

The big advantage here is that you are working with numbers in the G code program that are already the tip of the tool. No offsets to worry about in your calculation. The lower case x value is the tip of the tool. All tools despite their length get setup and touched off the part face at Z0 on a Lathe or Z0 on the top of the part on a mill/router. This way the tool number doesn't matter and neither do the offsets. If the tip of the tool is commanded in the G code program to cross a certain fixed coordinate that is the chuck or fixture then this will catch it. Besides this way the move is never actually made so the crash is caught before the tool even gets near the chuck.

(4) In the standard version of CNC professional watch the solid modeled simulation on the screen in SUSPEND PREVIEW mode before you press cycle start. In Level-5 or higher you can also preview a full solid modeled verification of the G code program. Although you can't always count on this method unless you humanly notice something, but again it's a high probability that you will notice well before the machine operator has even has a chance to press cycle start.

Tech Support
CamSoft Corp.
(909) 674-8100
support@camsoftcorp.com
www.cnccontrols.com
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 02-19-2004, 08:40 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Thank you Camsoft for that detailed reply. I never thought of using the custom1 or custom2 fields for anything as of yet. That's what I will try.

Heretofor, I've only managed to hobble my machine with the soft limits
__________________
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 02-23-2004, 07:19 AM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 529
HillBilly is on a distinguished road

I would go with option 3 and never make the move.

It seems to me the softlimits can be jogged over and the overtravel hit, even if short acc-dec ramps are used.

This seems to be a Galil issue. I know the Galil is a state of the art motion controller but I would like to know what has changed in the way home is preformed. On all the retrofits I have done in which the original controller was replaced with A Galil controller the rate at which the home swith had to be attacked was greatly reduced. Most cases I had to move the home dog in more to have time to detect it before the overtravel was hit.

I would think the new controller should be able to match what the 20+ year old controllers did.

Has anyone else noticed the slower home?

HillBilly
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 02-23-2004, 10:04 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Hillbilly,

Are you calling up the home routine more than once in a session? Are you homing to a switch or to a scale/encoder index?
__________________
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

Sponsored Links
  #6  
Old 02-23-2004, 12:56 PM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 529
HillBilly is on a distinguished road

Hu,

Homing as usual, once or twice a session.

In all cases I am finding a reference switch first then going to the next encoder index pulse.
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 02-24-2004, 10:36 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

HillBilly,

Do you use a routine for homing such as is described in the Galil Home command? I think the method described there allows for more speed for the initial switch change of state. I presume that is when you would find most of the time being wasted?
__________________
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

  #8  
Old 02-24-2004, 11:09 AM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 529
HillBilly is on a distinguished road

Hu,

Yes using the FINDEDGE Galil command is more responsive than the Camsoft routine but I still have to approach the switch at about half the speed as the oringinal controller say a Fanuc 5M.

HillBilly
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 02-24-2004, 06:03 PM
 
Join Date: Jul 2003
Location: Arlington, TX
Posts: 17
Wolfe is on a distinguished road

Hu,

I have a lathe with a Fanuc 10T, and when it homes there are 2 limit switches about 1" apart, when it hits the first switch it slows down from rapid to a very slow rate to find the next switch, which would be the home switch. That would be a way to rapidly find home without blowing by the actual home switch.
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 02-25-2004, 07:18 AM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 529
HillBilly is on a distinguished road

Wolfe,

I would be surprised if this is actually how your machine homes. The slow down after the first switch is usally to creep to the next encoder marker pulse, not the second switch. If your machine moves slower after the first switch and stops at the second switch without finding a encoder marker pulse then your home repeatability
is only as good as the machanics of your switch!

Is there one more switch after these two for O.T.?

HillBilly
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-25-2004, 12:27 PM
 
Join Date: Jul 2003
Location: Arlington, TX
Posts: 17
Wolfe is on a distinguished road

HillBilly,

There are two O.T. switches, a soft O.T. and a hard O.T. Besides, it could still be a good fix for homeing at a rapid pace. I checked the machine and after it hits the first switch the next stop is at .996 of an inch, at that point the home light comes on. I do not believe that the next index marker would be that far away.
Tweet this Post!Share on Facebook
Reply With Quote

  #12  
Old 02-25-2004, 01:46 PM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 529
HillBilly is on a distinguished road

Wolfe,

With Fanuc pulsecoders, encoders, the marker pulse is one per revolution. There is also a parameter in the control, grid shift, as to how many revs past the decel switch to actually go to and call home.

I'm getting this from a 3T maintenance manual but it should read the same in the 10T manual.

HillBilly
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bringing objects together in V19 & general questions rustyolddo BobCad-Cam 1 07-31-2004 10:14 AM
General software rundown. ynneb General CAM Discussion 0 03-25-2004 06:09 PM
Softlimits and Jog HuFlungDung CamSoft Products 2 03-08-2004 05:28 PM
Spherical toolpaths and general info Pat BobCad-Cam 5 07-07-2003 11:36 PM
Welcome to the General retro-fit forum CNCadmin General Metal Working Machines 0 03-01-2003 07:57 PM




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