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  
Old 11-11-2008, 11:28 AM
*Registered User*
 
Join Date: Nov 2008
Location: Belgium
Posts: 5
wvlaeminck is on a distinguished road
parallel port interference?

Hi,
I have an EMC2 running on a 'relatively' recent computer (AMD athlon), using stepper 3-axis configuration.
I am constantly getting pulses on lpt port pins 2 & 3 (x-axis in my configuration), as long as EMC2 or EMC2 configurator motor test are not started.
If the system is in idle status (ubuntu started up, no programs active), the lpt is pulsing. If I move the mouse over the screen, the puses vary in speed.
Once I activate emc2 or emc2 motor test, the lpt gets stable and the pulses disappear.
I am worried that my router will be moving all the time, when I don't disable the drivers. Disabling the drivers is a solution, but it's dangerous, since forgetting to disable could lead to damage (pulses are not very fast, but very unpredictable).
I've tried this on 2 other computers, same result.
A friend of mine has an identical setup on another computer, and no interference at all.
Anyone know what's wrong? Is there a setting I've overlooked? (maybe in the bios?)

Thanks,
Wim
Reply With Quote

  #2   Ban this user!
Old 11-11-2008, 11:40 AM
 
Join Date: Nov 2008
Location: US
Posts: 9
Easydad is on a distinguished road

are you running in axis?
Reply With Quote

  #3  
Old 11-11-2008, 12:09 PM
*Registered User*
 
Join Date: Nov 2008
Location: Belgium
Posts: 5
wvlaeminck is on a distinguished road

yes, running axis is not a problem.
But the jitter occurs when I am out of axis, for example with the ubuntu desktop open and no other programs open.
From the moment I open axis and activate the cutting program, jitter is gone.
Reply With Quote

  #4   Ban this user!
Old 11-13-2008, 02:39 PM
 
Join Date: Nov 2008
Location: US
Posts: 9
Easydad is on a distinguished road
para port jitter

It sounds like you don't have an interface board on the paraport to drives (gecko?). Look at cnc4pc.com their c-10 interface board. The gecko's have isolation inputs, so set-up with Arturo's boards is easy, he has pull-up resistors on the pins for clear true voltages. If you have a break-out board already, look for noise close to the communication wires. I hope you have signal wires with a metal sleeve and a drain wire to ground. If you have a Bob Campbell board--DUMP IT. The Campbell boards I had combined grounds from the table and computer, you will get lots of problems.
Hope this helps.

Easydad
Reply With Quote

  #5   Ban this user!
Old 11-14-2008, 09:34 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

I second the cnc4pc BOB it is great.

John
Reply With Quote

Sponsored Links
  #6  
Old 11-15-2008, 10:32 AM
*Registered User*
 
Join Date: Nov 2008
Location: Belgium
Posts: 5
wvlaeminck is on a distinguished road

Hi,
To make things more clear: under EMC2, when in operation mode, the system works fine. So moving axes is not problem, as long as EMC2 is open, or while the motors are under test in EMC2 configuration.
Only when I go out of EMC2, or if I close Test mode under the configuration, the uncontrolled pulsing on the parallel port appears.
As soon as I start up the computer, the movement begins. Only STOPS when I activate EMC2 and actually drive the motors.
I have good BOB with optocoupling; Portescap drivers with optocoupling. Again, driving the motors works without problem; only when I am not driving them using EMC2 or any other CNC software, my parallel port is living it's own life.
I have tried applying changes to the computer's BIOS, no luck until now.

If anyone knows what is happening, I would be gratefull.
Reply With Quote

  #7   Ban this user!
Old 11-15-2008, 01:46 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

sounds like the hardware discovery software is writing to the port.
Reply With Quote

  #8   Ban this user!
Old 11-15-2008, 04:39 PM
 
Join Date: Nov 2008
Location: US
Posts: 9
Easydad is on a distinguished road
Parallel port interference

I second the software driving the para-port output. Due to your reluctance to list your configuration and the fact you keep repeating the same thing and asking for help; I don't know of anything else anybody can do for you.
Read the wiki on EMC2, change your para-port bios to whatever gives you the lowest noise. Load latest version of Ubuntu. Dedicate a desk-top computer to EMC2, not a lap-top (known issues w/para-ports). E-mail Jon Elson on EMC2 help blogs w/full details of your set-up. Purchase high quality grounded-cable, don't dual-boot, ect., ect.

Easydad
Reply With Quote

  #9   Ban this user!
Old 11-16-2008, 01:38 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

it really sounds like there is some problem with the way the parallel port works on that computer. Maybe an add-in parallel port card is a good idea.

The other thing is to get a BOB with a watchdog switch so that the router is disabled if the watchdog isn't getting a good pulsetrain. While this doesn't guarantee that the problem with your system isn't going to cause a problem, it does reduce the probability by a good amount.

is the parport module loading?

lsmod | grep parport

or

/sbin/lsmod | grep parport

should tell you
Reply With Quote

  #10  
Old 11-21-2008, 05:54 AM
*Registered User*
 
Join Date: Nov 2008
Location: Belgium
Posts: 5
wvlaeminck is on a distinguished road

I will try reformatting my harddrive and go away from double boot, as it is the case now. Maybe then the system will get stable.
I will also try a cable with double ferrite cores, only I doubt that this is the solution.

Will keep you updated, thanks a lot for the help so far!!

Wim.
Reply With Quote

Sponsored Links
  #11  
Old 11-27-2008, 02:41 PM
*Registered User*
 
Join Date: Nov 2008
Location: Belgium
Posts: 5
wvlaeminck is on a distinguished road

Last information update: I have been unable to solve the problem with this computer. As far as I have been able to find out, the problem is hardware related, as I could not trace it back to any malfunction of EMC2, Linux or my stepper driving hardware.
I have solved the problem by getting another computer. Everything worked well, no jitter anymore.
I don't have any idea why my first computer did show these strange pulses on it's parallel port. But it's not that important anymore.
The computer I use now is a HP E-PC 40, a really tiny machine perfectly fit for the job. It's not a speed monster, but it is driving my machine like I want it. And it doesn't take any space at all.

Thanks for the feedback I received, this topic can now be closed.
Reply With Quote

  #12   Ban this user!
Old 12-05-2008, 12:06 AM
 
Join Date: Nov 2008
Location: mexico
Posts: 1
garval82 is on a distinguished road
check the ground

It happened to me also, testing a driver in a protoboard, what i found was that my parallel port ground (pin18-25) was open, just place a cable from your computer chasis to your system ground.
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
C++, Win XP, Parallel Port Zumba Coding 7 03-29-2012 01:12 PM
USB to Parallel port? TheDude Hobbycnc (Products) 6 03-24-2008 11:04 AM
Second parallel port? essa LinuxCNC (formerly EMC2) 11 04-12-2006 02:18 AM
Parallel port Aldoseri BobCad-Cam 11 03-13-2006 10:10 AM
Parallel Port Shanghyd Computers and Networking 1 11-22-2004 11:56 AM




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