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 05-12-2003, 11:39 AM
 
Join Date: May 2003
Location: Vancouver, Canada
Posts: 84
Fish is on a distinguished road
DNC-Buffer overload problem

I have been trying to set up our machine (Niigata HN50B with a Fanuc 15MA) to accept DNC and I keeep getting error SR824 - Buffer Overload on the control. The computer has a DB 9 and the control has the usual DB25. I have re-made cables twice, following the advice of the machine tool guy's and the software guy's - to no avail. Is there another parameter that I chould change? Is the machine not dumping it's memory? Any suggestions besides a large hammer?
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 05-12-2003, 02:31 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Hi Fish,

What options do you have set for the control's comm handshake?

Are you able to upload and download complete files with no problem (but not in DNC mode only)?
__________________
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

  #3   Ban this user!
Old 05-13-2003, 03:52 AM
 
Join Date: May 2003
Location: Vancouver, Canada
Posts: 84
Fish is on a distinguished road

Firsly, thanks for your reply. After messing withthe machine all day, I found that it will run in DNC, but at only 300 baud. It's been a long time since I milled Aluminium at 15"/min. The part should be finished by this time next month!!

To answer your question(s), I am able to upload and download programs at 9600 baud in Edit mode - no problem. I was using a PC that only had a DB9 serial connection, but I changed to another PC that has a 25 pin serial, hoping that might be the answer. The cable is connected with the 2's and 3's crossed, the 4's and 5's crossed, 6,8 and 20 tied together, and the 7's straight through. The software is set for Software Handshake, 7, even and 2. I have checked, and double checked all settings, parameters and connections - but I must be missing something.

To enable DNC on the control, aside from the parameter changes, is it enough to just choose the "Tape" key, and press start? Or could I reconfigure to use M198PO????L? in Memory mode?

Also, on board Base 1, position CA34, there is a PMC(?) cassette attached. What the hell is it? The machine has a tape reader as well. The tape reader is attached to position CD4B on the Base O board, along with the RS232 on position CD4A. Should I disable any of these?

Surely, this thing must be able to DNC faster than 300 baud. I also have a Mazak AJV that is older than this Niigata, and it will DNC at 4800.

Again, thanks for your reply.

Adam Fishman
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 05-13-2003, 12:02 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Hi Adam,

I don't have your type of controller so I cannot help you specifically. Your RS232 looks a lot different than what I use on a Shadow controller (hardware handshake), for what its worth:

DB9
2 and 3 crossed
8(PCside) to 8
5 to 5+ shield
1,4,6,7 joined

DB25
2(PC side) to 2
3 to 3
7 to 5
5 to 8
Shield to 1, one end only
4,6,8,20 joined

What I'm wondering is if the controller needs hardware handshake to do DNC, as this provides a seperate signal to halt DNC, whereas software handshake requires that your controller can read XonXoff, which I understand is just a certain character (okay, I'm guessing here ) For simple program downloads/uploads, a hardware interrupt signal is not required, which is why it would still work at 9600.

In particular, note that pin 5 of a DB25 or pin 8 of a DB9 is your CTS signal, which could be critical for DNC
__________________
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; 05-13-2003 at 02:56 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 05-13-2003, 11:29 PM
hardmill's Avatar  
Join Date: Mar 2003
Location: United States
Posts: 499
hardmill is on a distinguished road
Hey fish

I'd double check your para. settings again and also your
communication setting. If you can send and receive progs.
Most likely it a settings issue. Does your control have a data
server?
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-14-2003, 12:21 PM
 
Join Date: May 2003
Location: Vancouver, Canada
Posts: 84
Fish is on a distinguished road

I figured it out yesterday. The solution was the line delay setting on NCLink. After trying a few different delays, I found that by delaying 300 ms, the machine had enough time to dump it's memory, and I can transfer at 9600 baud. I'm only cutting at 40ipm, so there aren't any jerking motions. We'll see what happens when an aluminium job comes up. Thanks for the help guys.
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 05-14-2003, 12:33 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Isn't that almost 1/3 of a second between lines? It might work, but it still seems that something is wrong, and the real throughput would not be 9600.
__________________
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   Ban this user!
Old 05-15-2003, 03:25 AM
 
Join Date: May 2003
Location: Vancouver, Canada
Posts: 84
Fish is on a distinguished road

I think it's 0.003 of a second - same as a millimetre/metre relationship......as I said, I think. I agree though, something is probably not right, however, I don't have the time to try to figure it out. I have to get these things done and out by Friday afternoon. If you think of anything else, I would appreciate your input. Thanks again for your help.

Adam
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 05-15-2003, 10:47 AM
 
Join Date: May 2003
Location: India, Mumbai
Posts: 41
smabhyan is on a distinguished road

Dear Fish,

This problem is found with many DNC Softwares running in Windows Mode. They need you to delay (as you have set) between each line Transfer.

However, your DNC will work with True Software Handshake (XON / XOFF), if you use. DOS Based Software. One Such software is 'PCIN' from Siemens.

It is available with Siemens Service Persons. To Use it as DNC you must boot your PC in True DOS Mode (Press F8 while Booting & select 'Command Prompt').

With Fanuc Controls of various types I have used it at a boudrate of 19200 without problem.

SMA
__________________
smabhyan
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 05-15-2003, 11:58 AM
 
Join Date: May 2003
Location: Vancouver, Canada
Posts: 84
Fish is on a distinguished road

Thanks for the info, I'll look into it. I have had quite a few problems with Windows 98 before - it would stop sending in the middle of an operation, leaving the machine to stay in one spot, spindle and coolant on, all night. I am now running 2000 because it's NT based. It is more stable, but I guess windows still tries to do too much at once. Ever tried Linux?

Oh, hey HuFlung, you're right. It is 1/3 of a second. Coffee helps to clear the mind.

Adam
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11  
Old 05-15-2003, 12:08 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

I'd have to agree that I don't trust Windows to send DNC as much as I trust a DOS program. I use a simple nc editor called Shadcomm, from Endpoint Software, also the maker of Millwrite engraving software. The editor is sort of a sub function of the program, I guess.

Anyway, I am using an older DOS based version of Shadcomm running in a Window in windows 98 and it works good. Apparently, the DOS based version takes control of the hardware (serial port) itself, so windows cannot shut it off by going to sleep, or whatever the hell it is that windows does.
__________________
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

  #12   Ban this user!
Old 05-20-2003, 01:06 PM
 
Join Date: May 2003
Location: India, Mumbai
Posts: 41
smabhyan is on a distinguished road

The Windows do not allow the Data Transfer Software to access the Port Directly. This makes the design of windows based software tricky. Whereas DOS directly controls the serial port , as HuflungDung has put rightly.

Surfcam is bundling a Data Transfer (DNC) software in their Pacakge. It works well.

www.cadem.com gives NCNet DNC worth Trying.

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Okuma LC-20 Threading problem Gunner Machine Problems, Solutions , Wireless DNC, serial port 13 12-13-2011 11:11 PM
DNC with parallel port (Bridgeport BOSS 5)? hobbymat General CAM Discussion 3 07-20-2009 12:16 PM
CNC gantry Machine shows problem Alex S.A Machine Problems, Solutions , Wireless DNC, serial port 15 04-25-2005 04:02 PM
Dnc Faldal motomitch1 Mazak, Mitsubishi, Mazatrol 5 01-13-2004 01:56 AM
Fadal VMC4020A axis problem cwww Machine Problems, Solutions , Wireless DNC, serial port 16 12-02-2003 12:07 AM




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