![U.S. Converters USC520 User Manual Download Page 30](http://html1.mh-extra.com/html/u-s-converters/usc520/usc520_user-manual_3092695030.webp)
USC520 / USC540 User Manual www.usconverters.com
U.S. Converters LLC 30 / 52 Copyrights © U.S.
Converters
3.4.7. Serial Port Packaging Mechanism
USC520/USC540 can configure serial port packaging time and serial port packaging length.
USC520/USC540 will make packaging for the data of serial port according to the packaging length and
packaging time in the transparent transmission mode.
Example for judgment of packaging time and packaging length:
①
Set packaging time as 10ms, packaing length as 512 bytes
When serial port received data, USC520/USC540 will package and send it to network if the interval time
of receiving data is over than 10ms or data length is more than 512
。
②
If the value of packaging time or packaging length is 0, the packaging rule is effective for non-zero
one.
③
Set packaging time and length as 0. USC520/USC540 will conduct default packaging time when
packaging time is set as 0ms. Namely, when serial port receiving data, USC520/USC540 will package and
send the data to network if interval time more than packaging time of sending 4 bytes. For example, baud rate
115200, packaging time for 4 bytes is T=0.4ms, when the calculated value is smaller than 0.1ms, packaging
time can be calculated as 0.1ms.
T= 1/baud rate*10*4
3.4.8. Flow Calculation
When USC520/USC540 receives data from network and then send to serial port, as the limit of serial port