Chengdu Ebyte Electronic Technology Co.,Ltd.
NB183S&NB183_User Manual
Copyright ©2012–2022
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
26
The TCP short connection function is applied in the TCP Client mode. After the short connection function is turned on, it
only requests to connect with the server when sending information. The device will automatically disconnect.
When the short link hold time is set to 0, the short link function is turned off. When the setting range is (2-255) seconds,
the short link function is turned on, and the default hold time is 0 seconds (short link is turned off).
5.3 Serial port cache cleaning
When the TCP connection is not established, the data received by the serial port will be placed in the buffer area. The
serial port receiving buffer is 512 bytes. After the network connection is successful, you can choose to clear the serial
port buffer or send the buffer through the network through configuration.
Enable: The device does not save the data received by the serial port before the connection is established.
Disabled: The network will receive the serial buffered data after the connection is established.
5.4 Modbus Gateway
5.4.1 Protocol Conversion
Enabled: Modbus data is checked and non-Modbus data (RTU/TCP) is discarded and not transmitted, and the Modbus
RTU protocol and the Modbus TCP protocol are interconverted.
Disabled: Do not perform protocol conversion but verify Modbus data, discard non-Modbus data (RTU/TCP) and not
transmit.
5.4.2 Simple Protocol Conversion
Convert Modbus RTU data to Modbus TCP data, or convert Modbus TCP data to Modbus RTU data, to realize the
mutual conversion of Ethernet Modbus data and serial port Modbus data.
Simple protocol conversion can work in any mode (TCP client, TCP server, UDP client, UDP server, MQTT client). Host
Mode".
Simple protocol conversion configuration: