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 > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-09-2009, 09:57 AM
 
Join Date: Mar 2008
Location: Norway
Posts: 62
chrugel is on a distinguished road
Programexecution stopps

Hi,
I just go my CNC router up and running. I have used the stepconf wizard to set up EMC2 and now i can jog all axes, and sometimes execute a g-code program.
Here comes the strange stuff; When I try to run the initial g-code program, the one that is there when you start EMC2 up everything works like a chram. But when i load the 3dpengu (1.st of the example files) it runs for a random time, usually just a second or two before is just stops. EMC2 says stopped in the lower left corner. I thougt this could be a case of interferance on the E-stop circutry so i disabled the E-stop in pin in stepconf. Still the same problem!?? Is there any place i can see what caused EMC2 to stop?
I can toggle machine power on again and continue for a random period of time.

My second little problem is that i get a error each time i home the axes. limit switch fault. In stepconf I've used the "Both Limit + Home X" should not that take care of the ignore limit when homing on limit switches? I also seems like it is when the axes is done homing that is does trip the limit switch again?
The axes moves in, trips the limit, moves out again and then two moore rapid mooves that trips the limitswitch?

edit: Figured out the homing problem! It is a case of axes home beeing in
the same place as the switch trips.
Home location 370
Table travel 0 to 370
Home switch location 370

Guess I'm ok if i change the Home location to 365.

regards Chris
Reply With Quote

  #2   Ban this user!
Old 02-09-2009, 01:36 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Chris,

I am homing to zero and here is the setup on my ".ini" file using combined home and limit switches. You might check your ini file to see if any of these variables are missing.

[from axis_0]
HOME_OFFSET = -0.1
HOME_SEARCH_VEL = -1.500
HOME_LATCH_VEL = 0.250
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1

These tell the machine to move 90 ipm towards home, after hitting home, move off home and move towards it again at 15 ipm, and then to back off the home switch 0.1 inches before setting zero.

[and from traj]
HOME = 0 0 0

Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

  #3   Ban this user!
Old 02-10-2009, 12:47 AM
 
Join Date: Mar 2008
Location: Norway
Posts: 62
chrugel is on a distinguished road

Originally Posted by acondit View Post
Chris,

I am homing to zero and here is the setup on my ".ini" file using combined home and limit switches. You might check your ini file to see if any of these variables are missing.

[from axis_0]
HOME_OFFSET = -0.1
HOME_SEARCH_VEL = -1.500
HOME_LATCH_VEL = 0.250
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1

These tell the machine to move 90 ipm towards home, after hitting home, move off home and move towards it again at 15 ipm, and then to back off the home switch 0.1 inches before setting zero.

[and from traj]
HOME = 0 0 0

Alan
Thank you Alan,
I have just used the stepconf wizard but I'll take a look at the ini file as soon as I get home.
I think i might not have the HOME_OFFSET = -0.1 set in my ini file. Logically i think that would cause the problems I'm having.

regards
Chris
Reply With Quote

  #4   Ban this user!
Old 02-10-2009, 10:28 AM
 
Join Date: Mar 2008
Location: Norway
Posts: 62
chrugel is on a distinguished road

Hi,
My question that now remains, said in fewer words, is: How can I in axis see what caused the programexecution to stop? It says stopped in the lower left corner?
Might be a very stupid question but im very new to linux and EMC2, used it about 10 hours in total. . . But I'm a fast learner!

regards
chris
Reply With Quote

  #5   Ban this user!
Old 02-10-2009, 10:47 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

If your using the AXIS interface next to the coordinates display you will see a symbol next to the axis that tried to go past the limits or if a limit switch is tripped.

http://www.linuxcnc.org/docview/html...is.html#r1_3_3

John
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-10-2009, 11:29 AM
 
Join Date: Mar 2008
Location: Norway
Posts: 62
chrugel is on a distinguished road

Originally Posted by Big John T View Post
If your using the AXIS interface next to the coordinates display you will see a symbol next to the axis that tried to go past the limits or if a limit switch is tripped.

http://www.linuxcnc.org/docview/html...is.html#r1_3_3

John

I am using Axis and I can see the symbol you are talking about both the Limit symbol and Home symbol. But when the program runns i get non of them, just "STOPPED" is showed in the lower left corner. Then i have to toggle machinepower back on. This happens at a random place in some programs, normaly just after a couple of lines of G-Code.
The figure under the 1.3.3.6 paragraph the lower left cornes says "ON" in my case it says "STOPPED" but not why!?
Could a rapid spike on the E-Stop channel cause this?


regards
chris
Reply With Quote

  #7   Ban this user!
Old 02-10-2009, 12:43 PM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

Do you have to reset the e-stop and the power or just the power button? I've never seen that my self before so I'm just guessing... What version are you using?

John
Reply With Quote

  #8   Ban this user!
Old 02-11-2009, 01:08 AM
 
Join Date: Mar 2008
Location: Norway
Posts: 62
chrugel is on a distinguished road

Originally Posted by Big John T View Post
Do you have to reset the e-stop and the power or just the power button? I've never seen that my self before so I'm just guessing... What version are you using?

John
Just the powerbutton. Im running not the latest ubuntu version, Vesion 8.04 did not works very vell on my computer for some reason. I'm using the live CD with verisn 6.06 Dapper Drake.
I find it rather strange that is say nothing about why it stopps, it would be nice with an error message!

regards
chris
Reply With Quote

  #9   Ban this user!
Old 02-11-2009, 08:09 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

That has me stumped... why don't you pop over on the IRC and ask that question... Not many EMC folks visit here...

http://www.linuxcnc.org/content/view/4/8/lang,en/

John
Reply With Quote

  #10   Ban this user!
Old 02-11-2009, 08:44 AM
 
Join Date: Mar 2008
Location: Norway
Posts: 62
chrugel is on a distinguished road

Originally Posted by Big John T View Post
That has me stumped... why don't you pop over on the IRC and ask that question... Not many EMC folks visit here...

http://www.linuxcnc.org/content/view/4/8/lang,en/

John
Sounds like a good idea.
Am I right if i say that interferance on the E-Stop input could cause this? If you press your estop and the release it again does the E-stop in EMC stay activated og does it go just to the power off mode?

regards
chris
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-11-2009, 11:44 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

As far as I can remember (I've not paid much attention to it) but the e-stop is a toggle and when you toggle it run drops out and the e-stop stays toggled. I can't check from here as I don't have Linux at work.

John
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On





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