rx8pilot
Aluminum
- Joined
- Oct 20, 2009
- Location
- Los Angeles
Hello rx8pilot,
In practical workshop terms, cable length has Zero effect on data transfer speed. The standard is based on a baud rate of 19,200 and a cable length that is equal to a capacitance of 2500 pF. Further, the standard uses a typical capacitance of 50 pF/ft. Therefore, under the standard, the maximum cable length at 19200 baud rate is 50ft. Accordingly, by using a cable with low capacitance allows you to span longer distances without going beyond the limitations of the standard. When errors occur through exceeding these limitations, they present as dropped characters and not as a reduction in data transfer rate.
If the baud rate is reduced from 19,200, the maximum cable length increases dramatically.
The time taken to transfer a file from external device to a Fanuc Control (or other well established control), is hardly ever caused by the control (I would even say never), hence my comment in Post #7. Normally, delays at the end of each Block and or after each Character, are only available when sending a file from the external device, not when receiving. This is to provide a clumsy workaround for an inefficient UART of the device and more so when using Software Handshaking. Fanuc P/S087 error is caused by the UART of the Sending Device not reacting quickly enough when a Stop Signal (Software, or Hardware) is received. By introducing a delay, the UART has more time to react, but the result is to slow the overall time to transfer the file.
Regards,
Bill
It is true that cable length does not impact the clock rate in any way, but as it gets longer the propensity for errors requiring retries increases. Capacitance is one parasitic element that limits the rise time and thereby limiting practical cable length. Another critical consideration as cable length increases is the tendency for the single-ended signaling to couple noise from all sorts of sources. Even if the cable capacitance is extremely low, you still have to contend with noise. Depending on how the system is set up, errors will either stop the transfer or require resending data - either way it slows things down.
In the bizarre world of Fanuc where they think maximum 19,200 baud is acceptable [in 2007], cable length can be rather long. Before my upgrades, the setup had 100ft cables that seem to tolerate 19,200 just fine [at least after I found the delay parameter of course :-)]
I clearly recall buying my first CNC in 2006. An entry-level machine from an entry-level manufacturer - Haas TM2. It would run serial at 115,200 with a 1MEG of program space standard. Even with 500k programs, the transfer time was insignificant. I am now dealing with high-end machines that have a fraction of the communications performance.