42 / 69
transmission mode.
Example for judgment of packaging time and packaging length:
1
Set packaging time as 10ms, packaing length as 512 bytes
When serial port received data, USR-N520 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
。
2
If the value of packaging time or packaging length is 0, the packaging rule is effective for non-zero
one.
3
Set packaging time and length as 0.
USR-N520 will conduct default packaging time when
packaging time is set as 0ms. Namely, when serial port receiving data, USR-N520 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.5.9.
Flow Calculation
When USR-N520 receives data from network and then send to serial port, as the limit of serial port speed,
user have to control the flow, if not the problem of data overflow on serial port side will occur. So data flow is
required to calculated when sending data from network to serial port.
Example:
Network sends data in m bytes every n seconds. Method of checking if there is overflow: ( Supposed
network condition is good and network data transmission time is negligible)
1
If there is no overflow, m bytes data must be transmitted within n seconds, then the transmitting time
of M bytes data:
If n >2T, then data will not overflow, USR-N520 can work normally. Just need keep n>T under baud rate
9600.
3.5.10. Synchronous baud rate (RFC2217)
For encryption during data transmission, devices change data bytes, baud rate, parity and so on.
USR-N520 supports revise serial parameter accordingly.
Summary of Contents for USR-N520
Page 1: ...1 69 User Manual File Version V1 0 4 ...
Page 17: ...17 69 UDP Client Software Configuration UDP Client Testing Screenshot ...
Page 27: ...27 69 2 Set modbus slave software refer to the following ...
Page 28: ...28 69 3 Return result for query command is as drawing ...
Page 33: ...33 69 Drawing 26 Self Defined Heartbeat Function ...
Page 35: ...35 69 2 Testing result ...
Page 37: ...37 69 Web to Serial COM Send Receive Data ...
Page 40: ...40 69 2 Set Printer Driver ...
Page 59: ...59 69 Software Configuration Full Show ...
Page 69: ...69 69 ...