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 07-27-2009, 12:40 PM
 
Join Date: Nov 2008
Location: Canada
Posts: 12
Place2809 is on a distinguished road
DNC missing characters!

Can anyone help me with a drip feed problem? WHen I drip feed using Hyperterm or using DNC Precision, there is the odd character missing from the files. This hurts alot when it goes "Z.2643" instead of "Z3.263". I have not noticed it happen while downloading a program, only seen it drip feeding. My settings are 4800,7, even,2 with lots of delay. I have shortened my cable from 15 feet to 3 feet. tried 2400 baud etc, without a noticable change in the frequency of errors. Could there be a seting I do not have right? The machine is an Meldas M0 control on a leadwell mcv-0.

I'm a bundle of nerves and will be standing with my shaky hand over the E-stop waiting for some help! lol.
Reply With Quote

  #2   Ban this user!
Old 07-27-2009, 02:31 PM
 
Join Date: Jul 2009
Location: USA
Posts: 119
A1CNC is on a distinguished road
Drip feeding MO control

I have 2 leadwell MCV-O's with the MO control.
I made a procedure on how to drip feed them at 9600. I can email it to you if you send me your e-mail adress. It is too big to attach here.

Regards,
Eric
Reply With Quote

  #3   Ban this user!
Old 07-30-2009, 11:31 AM
 
Join Date: Mar 2008
Location: Germany
Posts: 22
inventcom is on a distinguished road
Problems with drip feed

Place2809,
if you get absolutely(!) the same prob with 2 programs it's most likely a serial interface setting problem, not application - windows! You can try to disable the FIFO Buffer in windows device manager - COM-LPT - select the COM Port - Advanced - uncheck FIFO Buffer.

You may also try with the monitor function of CNCnet DNC. In CNCnet DNC you can also filter specific caracters or use the binary switch in characters to transmit the file as is. http://cncnetdnc.wieland.us/

But from my experience this is some PC pressing characters to the machine and machine not receiving fast enough (it's drip feed)

Martin
Reply With Quote

  #4   Ban this user!
Old 08-03-2009, 09:21 PM
 
Join Date: Nov 2008
Location: Canada
Posts: 12
Place2809 is on a distinguished road

OK, Now I am really tearing my hair out!!!

I ended up being able to drip feed at 9600 and lose one or two characters running three files that are 250kB. Still not prefect. I tried to change to hardware control, couldn;t get it to work. Now I tried to jumper the cable back and now I get a parity H error every time. I have messed the cable up pretty good maybe. Checked my parameters and they were changed from what was put in..... what the @#$%? Cleared everything, put them back in from scratch, (manually, download not working!) and I still have the error. Making a new cable in the morning. Could there be something else screwy?
I have 1,2,3 and 7 thru, 4,5 and 6,8,20 jumpered. Sheild is grounded on the CNC side. Tried a few combo's earlier but now I think I am just getting confused..... need sleep.
Reply With Quote

  #5   Ban this user!
Old 08-03-2009, 09:30 PM
 
Join Date: Nov 2008
Location: Canada
Posts: 12
Place2809 is on a distinguished road

Eric,
Thanks for the info. Tried it. Still had the missing characters.

Martin,
Thank you for the ideas, unchecked the fifi, still didn't help. I also have the buffer down to 1 byte, Could download to memory at 19200 no prob. Drip fed everywhere from 1200 to 19200, handshake delay of 1000ms, chartacter delay of 50, line at 50ms. Frequency was the same even with delays as small as 3ms. Until I lengthened the line delay to 200ms. Character could be 3ms and handshake at 300ms. Then I could get through the program maybe two out of three times.

Maybe I should start from scratch on the setup of this.

Greg
Reply With Quote

Sponsored Links
  #6  
Old 08-03-2009, 11:54 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

With a 3 foot long cable, I would not expect any issues due to cabling (once you get it wired correctly )

Have you tried a different PC or a different com port on your PC? Not that it is terribly suspect, but it is maybe one of the easier 'try it and test it' options. I suppose getting a new serial port for the control would be a large PITA, but maybe it has an unused port somewhere in there, that you could switch to for testing. Perhaps it might be using different hardware.

Perhaps another option, if the control has the option, is to run DNC without decimals, that is, run in units of machine resolution. Why would this be any better? I have no idea, but it would be different. Maybe decoding the decimal character causes an issue sometimes.
__________________
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)
Reply With Quote

  #7   Ban this user!
Old 08-09-2009, 09:12 PM
 
Join Date: Jul 2004
Posts: 137
gm3211 is on a distinguished road

Are you using a standard built in serial port on the PC?

USB, added serial card? What?

Also, why not hardware handshake? The parameters support it and the most reliable.
__________________
Greg Mercurio -Shop Floor Automations
www.shopfloorautomations.com /619-461-4000
Reply With Quote

  #8   Ban this user!
Old 08-10-2009, 11:29 PM
 
Join Date: Nov 2008
Location: Canada
Posts: 12
Place2809 is on a distinguished road

I am using the standard com port. Not using the USB.

I tried to hardware handshaking but never got it to work.
I made up a new cable for software handshake, shield grounded cnc side. 4800 Baud, 7 Even 2, 5ms character, 150ms line, 1000ms handshake delays using DNC Precision, windows 98, (was using windows 95 but the com port in that computer died giving me the bald spots where I pulled my hair out! lol) Turned FIFO off in the advanced port settings.
I got a couple errors today after a few days of good running but they clearly coincided with the starting of other machines nearby (Well, i hope! lol) So I am tying a large guage ground from the computer chassis to the NC and cutting the ground off the computer plug. Not sure if this will work but I think it should help. Oh yeah, the cable it only 4 feet long so the computer is right there at the NC. If this doesn't work I'll have to put a scope on it and start hunting for the noise.
I do think most of the errors I was getting was from the memory not clearing fast enough for the handshake. I still want it to go faster, but for now I am happy just not crashing every couple hours. Thanks to everyone who posted their thoughts and ideas, they do help.

Greg
Reply With Quote

  #9   Ban this user!
Old 08-11-2009, 07:57 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,313
dcoupar is on a distinguished road

This sounds suspiciously like a bad ground.

You say you're using the standard COM port... DB9 or DB25? If it's a DB9, pin 7 (Signal Ground) on the CNC (DB25) side goes to pin 5 on the PC side.

Also, have you checked the resistance from Pin 1 (Chassis Ground) on the machine connector to machine ground? Is the machine grounded to a ground rod or back to the panel? Do you have welders, plasma cutters, etc. that cycle on and off when you're drip feeding?
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
Need Help!- small characters on 0T guhl Fanuc 2 05-20-2009 02:13 AM
how to have more than 32 characters in one block sinha_nsit Fanuc 3 04-01-2009 12:25 AM
Need Help!- Vibrating Characters on the CRT Screen MetalZilla Haas Lathes 2 08-22-2008 01:36 PM
Bad Characters gplush Haas Mills 5 02-08-2008 11:00 PM
Number of characters in Tooltip sanddrag Suggestions for the CNCzone.com site. 1 05-24-2006 03:46 PM




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