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 03-05-2004, 04:44 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road
Estop

I don't make a habit of using the ESTOP button, but I would like to make mine work better than it does currently.

Basically, what bugs me is all the Galil card "BGS" errors that keep coming back through the Camsoft interface when I hit Estop during either a single step move, or in continuous mode. These errors will never stop coming if I keep answering "No" to the "Do you want to close program" dialog that pops up. When I release the ESTOP button, then the messages will quit.

So, if the Estop is still activated, I answer "No", because I do not want to close the program, that is where I want the pestering to end. Instead, it re-reads the ESTOP.fil logic again and asks me again the same question.

So, how to break this endless cycle? Should I issue a STOP command inside the ESTOP logic so that CNCPRo stops sending old movement commands to the Galil?

Finally, how to bring the motors back online after an ESTOP has been cleared? A this point, the servo amps are showing a stop condition, but I am not clear on how to reset them within the Camsoft controller.

~@~ESTOP.FIL
IF#16=1THENSPINSTOP
#28=0:#29=0:#30=0:#24=1:#25=1:#26=1:#27=1:SLEEP .5:#24=0:#25=0:#26=0:#27=0
\316=1 'flag for Estop button logic in inputio.fil
TIMER OFF
SPINDLERPM \57 ISPLAY5 \57
__________________
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)

Last edited by HuFlungDung; 03-05-2004 at 05:22 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 03-05-2004, 08:11 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,712
Al_The_Man is on a distinguished road
Buy me a Beer?

Generally the philosophy behind the E-stop circuit has been for initially the protection of the operator, followed by protection of the machine itself, if one is building/retrofitting a machine for one's own use then pobabally anything goes, but if you are retro-fitting for a customer or have employees that are going to use the machine, then it would be a wise decision to look at the state & provincial codes and recommendations for legal reasons.
In the states there is the OSHWA and the NFPA regulations to consider, in Canada, there is usually Provincial regulations.
Going back to the original question, I tend to stick with the NFPA guide lines and use hardwired E-stop control and have software input to acknowledge the E-stop, rather than have the E-stop software originating it , which goes against the code.
First I set up an E-stop relay circut that has contacts to switch the servo amplifier-enables as well as remove the amplifier power, this relay would also control the spindle, and depending on what type of spindle would depend the degree of control i.e. standard AC induction motor, DC or AC Electron control or VFD. all require a different approach.
I also include the Watchdog relay on the Galil card in the E-stop string and the amp enable outputs on the Galil can be included AMPENX,Y,Z etc , Also I use the E-stop relay to switch off the power to all the logic outputs, the inputs I keep powered for diagnostic purposes especially if these are low voltage (5v to 24v ) type.
An input (e-stop) can be fed into the logic indicating a E-stop exsists, which inturn would be included in the FeedHold logic. And any other logic that was deemed necessary including issuing a Alarm message.
In some amplifiers such as DC & AC servo's, removing the DC power is not always sufficient to stop the servos as the DC supply remains charged for a period of time and can allow servo movement until the DC has decayed, that is the reason for also using the amp enable signals which most amps have.

Remember in an emergency the E-stop button is smallest button on the panel
Al
Tweet this Post!Share on Facebook
Reply With Quote

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

Thanks for your reply, Al.

But the problem I was outlining was not actually a problem with getting ESTOP to function. It already does stop everything, etc. It is just getting the machine back into working mode without shutting down the controller is a bit of a hassle, because of what I described happening. It is also a problem to stop the machine from continuing the program immediately after the ESTOP is removed.

I'm using version 14-7 CNC professional if that has any bearing.

Its as though the command buffer is continually trying to send a motion command to the card while the Estop is in effect. Because the drives are disabled, I believe the Galil error comes back through the Camsoft interface.

If anyone has a sample ESTOP.fil or relevant inputio.fil logic that they would like to share that provides for a smooth ESTOP and recovery from ESTOP, I'd like to see it.

Thanks in advance.
__________________
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 03-05-2004, 09:46 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,712
Al_The_Man is on a distinguished road
Buy me a Beer?

Hu, I still think you are better not to rely to heavily on the estop command, I do not have the professional, only the lite + bonus, but the manual does mention a method of E-stop that resets its current location and does not finish the move, by using the abort input on the Galil card, If you want to reset the amps, what type are they? and how are they hooked up right now, is there any interface to the Camsoft/Galil apart from the command signal?
Al
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 03-06-2004, 01:57 PM
 
Join Date: Sep 2003
Location: h Connecticut
Posts: 9
Thermwood is on a distinguished road

Hu,

On our router, we've kept the E stop (actually one in cabinet and oneon face) hard wired to a contactor which drops power to the amps.
We use it a lot between cycles, when the machine is powered but unattended for safety ...
Obviously it does not stop the galil and information continues to flow, until the galil reads an error from the amps...

When trying to interrupt a cycle, then resume, I would use a feedhold command, then push the Estop button in if necessary. Esc also works but we've had problems when hitting esc while machining an arc. It seems that the controller jumps directly to the next line after the arc on resume ..
It works ok with linear moves ( I don't like it because it interrupts the motion brutally and causes the axes to jerk)


Feed hold seems to be your best bet to interrupt and resume cleanly....
I wonder if you could add a feedhold command at the beginning of your estop command ....
__________________
Pierre
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 03-06-2004, 02:24 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Thanks Pierre.

Sorry guys, I discovered I pulled a real blunder here

I discovered that I had only been using the STOP command instead of ESTOP in my inputio.fil. This has been the case for the last 23 backups of my file, and before that, it was cnc lite.

There may have been some reason why I used only the STOP command then, but I've forgotten what it was now.

Without the ESTOP command being read, the contents of Estop.fil never gets read!

So, with that fixed, there is far less trouble. The STOP command would of course, have stopped all the motors, but not the program in sequence. This resulted in the Galil error coming back through because it could not execute with the motors stopped.

Now, after Estop, there are no annoying messages, however the motors are still off, even when the Estop button is released. At this point, I have added an operator message to hit the Escape key. As soon as the shutdown dialog comes up, the motors turn back on, and I can cancel out of the shutdown.

The machine remembers it position, so after a simple return to home position (not the homing routine), I am up and running again.
__________________
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

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
Don't Do It? CharlieM Xylotex 15 04-22-2007 04:03 AM
Mach 2 Estop problem dentman Mach Software (ArtSoft software) 9 06-07-2005 08:32 PM
help with hobbycncboard please plast744 Hobbycnc (Products) 2 03-26-2005 09:10 PM
Camsoft Installation help needed... Darc CamSoft Products 33 10-17-2004 08:24 AM




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