Method for Connecting Digital Devices with Serial to Ethernet Converter Interface
serial to Ethernet converter provides the function of converting RS232/485/422 serial port into TCP/IP network interface to realize bidirectional and transparent data transmission. The serial port device has the TCP/IP network interface function which can connect the network for data communication, greatly expanding the communication distance.
Serial to ethernet converter works
Serial to ethernet converter is the packet from TCP/IP protocol, parsing into serial port data stream; on the contrary, you can also put the serial data stream into TCP/IP protocol data packets, so as to achieve the network transmission of data. It can connect multiple serial devices and can select and process serial data stream, convert the existing RS232 interface data into IP port data, so that the traditional serial data can be sent to the popular IP channel, without prematurely eliminating the original CNC system equipment without Ethernet module, so as to improve the utilization rate of existing equipment, save the investment, simplify the wiring.
In the aspect of data processing, serial to ethernet converter is a connection-oriented RS232 link and connectionless Ethernet communication data storage control, the system processes a variety of data, processing serial data flow from a serial device, and format conversion, making it can be transmitted in the Ethernet data frame. The data frame from the Ethernet is judged and converted into a serial data delivery response serial port device. In practical application, a Serial to ethernet converter to map the Ethernet interface of TCP/IP protocol to a standard serial port under the Windows operating system. The application program can transmit, receive and control it like a common serial port. For example, the general computer has two serial ports COM1 and COM2, through serial to ethernet converter can be mapped to the serial port above COM3, COM4, COM5, and so on. The application of serial to ethernet converters is very wide, mainly used in access control systems, attendance systems, vending systems, POS systems, building automatic control systems, self-service banking systems, telecommunications room monitoring, power monitoring, and so on.
Troubleshooting 1: When using the converter to set the program, the device can not be found.
Because the converter setup program is set using UDP protocol, it is generally possible that the firewall of the antivirus software will block the UDP request, resulting in the failure to find the device.
Sometimes the customer has turned off the antivirus software such as Rising and NORTON, but the device still cannot be found. In this case, it may be the firewall of WINDOWS XP that blocks the UDP request. Right-click on "Online neighbor", select "Properties", right-click on "Local connection", select "Properties", then select the "Advanced" option, click "Settings", enter the relevant page, and close the firewall.
Turn off all firewalls, if you still can't find the device, you must find the network administrator, because in this case, there may be serial to ethernet converter set IP address and computer IP address conflict in the LAN, may also cause the device can not be found. It may also be due to the network administrator managing the LAN, do not allow a registered IP address, or MAC address in the LAN running, which can require the network administrator to open.
Troubleshooting 2: After the converter is equipped, it is found that the TCP connection cannot be established.
It is possible that the firewall blocks the TCP connection and does not allow it to establish a connection. The solution can be solved by referring to some of the above methods.
The IP address may be incorrectly set. If the converter is acting as the client, the server IP address is the IP address of the computer or the network device communicating with the converter. If the converter acts as the server, there is a "Converter as server" setting in the Setup wizard when using the "Connection Management System" of the virtual serial port. Enter the IP address and port number of the converter.
If the use of a virtual serial port, must be in the "converter setup program" "serial port parameter Settings" in the "use virtual serial port" selection, if not selected on this option, the connection management system can not establish a TCP connection. But if you do not use the virtual serial port, if directly based on the WINSOCKET program, this option must be removed, otherwise the data will appear garbled.
Troubleshooting 3: A TCP connection is established, but communication is not possible.
This situation is generally reflected in the use of the virtual serial port, more seen in the case of RS485 to TCP/IP, in normal circumstances, the 485 bus communication protocol is through polling to achieve the point to multipoint communication, if the host to the slave machine if there is no response in a specified time, then the host as the slave machine does not exist, because our default parameter The number is a certain delay, so the delay can be modified to solve this problem. That is, in serial to ethernet converter "converter setting program" "serial port parameter setting" will be the network minimum send time and the network maximum send byte all set to 0,0 can basically solve the problem.
Serial to ethernet converter interface connection method of digital devices
serial to Ethernet converter connects to the switch:
1, 2, 3, 4, 5, 6, 7, 8(orange white, orange, green white, blue, blue-white, green, brown-white, brown) connect to the switch
2, 8, 4, 6, 3, 5, 1, 7(orange, brown, blue, green, green white, blue-white, orange white, brown white) connect to serial to ethernet converter
serial to Ethernet converter connect serial to Ethernet converter to IOT router:
1, 2, 3, 4, 5, 6, 7, 8(orange white, orange, green white, blue, blue-white, green, brown-white, brown) connect serial to ethernet converter
X, 4, X, 5, X, X, X, X, 3(X, LAN, X, blue-white, X, X, x, green white) connect serial to ethernet converter
- |
- +1 赞 0
- 收藏
- 评论 0
本文由上山打老虎转载自usr News,原文标题为:Method for connecting digital devices with serial to Ethernet converter interface,本站所有转载文章系出于传递更多信息之目的,且明确注明来源,不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。
相关推荐
Serial to Ethernet Converter Selection Strategy
The selection of Serial to Ethernet Convertor requires comprehensive consideration of various factors, including serial port parameters, stability and reliability, communication protocol and compatibility, management and configuration convenience, security and cost-effectiveness, as well as application scenarios and special requirements. Through precise matching, we will build an efficient industrial communication bridge to provide strong support for the development of industrial IoT.
设计经验 发布时间 : 2024-10-25
Serial to Ethernet Converter Configuration and Connection Debugging
Serial to Ethernet ConverterThe configuration and connection debugging of r is an indispensable part in the application of industrial Internet of Things. Through correct configuration and effective debugging, it can ensure that the serial device can be smoothly connected to the network and achieve efficient data transmission.
设计经验 发布时间 : 2024-08-27
【经验】有人物联解析什么是LTE CAT 1
CAT-M1 (LTE-M) 是一种蜂窝技术,属于4G同系列的低版本,可以完全重用现有的4G资源,具有低功耗、低成本、高速率的特征。国内通常称为Lte cat 1或Cat 1。专门针对针对物联网 (IoT) 或机器对机器 (M2M) 通信的应用程序的需求而设计。
设计经验 发布时间 : 2023-09-02
Serial to Ethernet Converter to Application and Advantages of r in Modbus Communication: Reshaping The Boundaries of Industrial Communication
This article will delve into the unique application of Serial to Ethernet Convertor in Modbus communication and its significant advantages, revealing the powerful force behind this technology for practitioners in traditional industries.
应用方案 发布时间 : 2024-08-24
What Serial Data Interfaces Can A Serial to Ethernet Converter Support?
The Serial to Ethernet Converter supports multiple serial data interfaces, enabling flexible connection and data transmission between serial devices and the network. Users can choose the appropriate Serial to Ethernet Converter and interface type according to the actual application scenario and requirements to meet different communication needs.
技术探讨 发布时间 : 2024-09-25
The Use of the Serial to Ethernet Converter in the Laser Cutting Machine Remote Monitoring System
The laser cutting machine works in very harsh industrial environments with electromagnetic interference and unstable temperatures, which requires a highly reliable field network. Meanwhile, remote monitoring and transmission of fault alarms for the laser cutting machine are also critical to the project.
原厂动态 发布时间 : 2023-03-11
电子商城
登录 | 立即注册
提交评论