The role and working mode of industrial serial device server

Industrial serial device server parses the packets from the TCP/IP protocol into serial data streams, Conversely, the serial data stream can also be converted into a TCP/IP protocol data packet to realize data network transmission.


Industrial serial device server can connect multiple serial devices and can select and process the serial data stream, convert existing TTL serial port or RS232/RS485/RS422 interface data to IP port data, this will enable traditional serial data to be sent to popular IP channels, it is not necessary to prematurely eliminate the original CNC system equipment without Ethernet module, so as to improve the utilization rate of existing equipment, save investment and simplify wiring. In the aspect of data processing, serial device server completes storage control of communication data between connection-oriented TTL serial port or RS232/RS485/RS422 link and wireless connection Ethernet. The system processes various data, processes the serial data stream from the serial device, and performs format conversion to make it a data frame that can be transmitted in the Ethernet; Judge the data frame from Ethernet and convert it into a serial data to deliver to the serial device with response.


In practical application, what industrial serial device server completes is to map the Ethernet interface of the TCP/IP protocol to a standard serial port under the Windows operating system, the application can send and receive and control like a normal serial port, for example, a general computer has two serial ports COM1 and COM2, and the serial port can be mapped to COM3, COM4, COM5 through serial device server.

Working mode of industrial serial device server:

1.TCP/UDP communication mode: In this mode, serial device server is used in pairs, one as the server end and one as the client end, and the two establish a connection through the IP address and the port number to realize the bidirectional transparent transmission of data. This mode is suitable for transforming the bus connection between two serial devices into a TCP/IP network connection.

2. Communication mode of using virtual serial port: In this mode, one or more converters are connected to a computer to support bidirectional transparent transmission of data. The converter managed by the virtual serial port software on the computer can realize that one virtual serial port corresponds to multiple converters, and N virtual serial ports correspond to M converters (N<=M). This mode is suitable for serial port devices connected by computer-controlled 485 bus or 232 devices.

3. Communication mode based on network: In this mode, the application on the computer writes a communication program based on the SOCKET protocol, and directly select to support the SOCKET protocol on the converter settings.