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! > Electronics > Computers and Networking


Computers and Networking Discuss computer and Networking related questions here!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #13  
Old 03-18-2005, 09:25 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,536
Al_The_Man is on a distinguished road
Buy me a Beer?

For shops that have a PC's out in the shop used for nothing else but upload/download to thier CNC machines, (or some shops wheel one around on a dolly).
Windows is a major overkill, I have set up quite a few of my customers with one of the old DOS programs that are still around today, Telix being one, it is still shareware.
Now ver 3.51, if you use this you also need to search for the tlxmdm351.zip file to load in the same directory.
Al
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #14   Ban this user!
Old 05-12-2005, 06:41 AM
 
Join Date: Jan 2005
Location: USA
Posts: 237
cogsman1 is on a distinguished road

The PC is TOO fast for the control. You need to see if your software has a setting to dwell after each line. I had this problem and my software (WIN-CNC) allowed for this setting. I use this on Citizen(Mitsubishi), Wasino(Fanuc) and Eurotech(Fanuc).

http://www.marucit.com/products/software/wincnc.html
Reply With Quote

  #15  
Old 05-12-2005, 11:44 AM
cadcam's Avatar
Community Director
 
Join Date: Apr 2003
Location: United States
Posts: 2,715
cadcam is on a distinguished road

you need to look for an option for charitaor delay on the send option.
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Cadcam
Mastercam Instructor , Programming Consultant and ME (Manufacturing Eng)
Reply With Quote

Sponsored Links
  #16   Ban this user!
Old 06-10-2005, 08:36 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

050610-2025 EST USA

I find this thread somewhat confusing.

Also my comments are from a basic and generalist point of view.

First, For information on some aspects of how a UART works I would suggest that you goto http://www.freebsd.org/doc/en_US.ISO...s/serial-uart/ and at least read paragraphs 1 and 1.2, also look at my thread --- stop bits, parity.

When I do a preview of this post the freebsd address is displayed incorrectly, yet when picked it gets me to the location. Use MSN.COM search if necessary, no double quotes on my search words.

By the way, a search using Google did not produce useful results in the top few (these were mostly superficial). MSN was much better and produced the freebsd location. In both cases I seached using the words, something like --- how does a uart work .

Years ago how a UART works (may have had a different name circa 1970) was described in the datasheet for the device. Today the National Semiconductor datsheet for the 16550 basically assumes you know the general operation of a UART. To get to the National datasheet use www.national.com then enter 16550 in their search box. Next select .pdf datasheet and print it out.

Repeating what I have said many times --- the destination receiver stop bit setting must be less than or equal to the source transmitter stop bit setting. In practice with standard UARTs this means both source and destination must be set to exacaty the same number of stop bits.

Unless the system designers of the computers and/or the CNCs have done a poor job, then the flow rate should be controlled by your selection of a handshake protocol, rather than slowing the character rate by lowering baud rate or some other means. You should use the maximum possible baud rate controlled by other factors than buffer overflow.

However, there may be some hardware problems in non-licensed 16550 or equivalent devices. There is some discussion in the freebsd article.

In the use of standard UARTs (today meaning National Semiconductor 16550 or other legally licensed suppliers) it is possible to use a FIFO buffer in the UART or not depending upon a setting to the UART. The UART itself does not perform the handshake funtion, although the handshake signals are transferred thru the UART. This means at the receiving end there is no way to know that the receiving FIFO is getting full (you only know there is at least one byte in the receiving FIFO), and signal the transmitter to stop sending, and furthermore that would not stop anything already in the send FIFO buffer.

Apparently Fanuc and maybe others have too small of an input buffer following the UART or other processing problems to absorb the typical 16 bytes from a full UART FIFO transmitting buffer. Thus, you must set your UARTs to no FIFO, which really means a 1 byte FIFO. Inhibiting the source FIFO has apparenetly cured overflow problems for a number of CNC shops.

If you were to lower your baud rate, or add a delay between characters simply to avoid using a handshake, or finding out how to use it, then you are unnecessarily lowering your average data transfer rate and possibly slowing your CNC machine. And you may not solve the problem, especially in a DNC application.

The way any correctly working handshake works follows:

At the destination there is some buffer which is N bytes long. Usually this will be a circular buffer mod N.

There is a put and get pointer to this buffer and the difference indicates how full is the buffer (each pointer being mod N). The designer will set some criteria of fullness where the handshake stop signal is generated. This has to take into account expected handshaking delays.

At some lesser value of fullness the start signal is generated.

Hardware handshake will be very slightly faster than software, but if the N byte buffer is sufficiently larger than the source buffer, then you can operate at maximum baud rate and the flow is modulated by the rate the destination can receive and use data rather than by some arbitrary slow sending rate.

Note: delay between characters is the same as adding stop bits.

Now I have probably added further confusion, but that is not my goal. Rather I want you to get the most production from your machines. Recently I increased a customer's machine thruput by about 2 to 1 on a HAAS VF2 machining carbon electrodes in DNC mode by a combination of things including increased baud rate.

beta-a2.com

.
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
Okuma LC-20 Threading problem Gunner Machine Problems, Solutions , Wireless DNC, serial port 13 12-13-2011 10:11 PM
RS232 seup problem with Meldas50 Caboose Machine Problems, Solutions , Wireless DNC, serial port 19 03-16-2006 06:51 PM
RS232 failure to send in XON/XOFF, hangs WAITING, thermally caused. gar Haas Mills 3 05-27-2005 07:44 AM
CNC gantry Machine shows problem Alex S.A Machine Problems, Solutions , Wireless DNC, serial port 15 04-25-2005 03:02 PM
Infra red communication problem jtree83 Computers and Networking 0 04-17-2005 10:06 PM




All times are GMT -5. The time now is 10:05 AM.





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