TCP / IP application of DOS industrial control motherboard

Most of the models of embedded DOS industrial control motherboards provided by Intron provide Ethernet interfaces. These Ethernet network interfaces conform to the physical and electrical characteristics of the standard Ethernet network interface. Customers only need to use standard RJ45 connectors to lead it out and connect it to the Ethernet network that the customer wants to communicate with.

In the tide of informatization development, in applications such as industrial automation, power equipment, communication management, smart terminals, smart cells, etc., due to its advantages of fast speed, good versatility, strong scalability, etc., Ethernet networks are becoming equipment. The main way of communication between. Intron DOS embedded network module not only provides the physical interface of the Ethernet network, but also provides supporting commercial-grade TCP / IP software protocol library and related routines. It is a cheap and good choice for users to develop embedded Ethernet network terminal equipment. .


Use Intron Embedded Network Module for TCP / IP Ethernet communication

The TCP / IP protocol library provided by Intron for free is based on excellent commercial software source code, and after long-term comprehensive testing, its performance is stable and reliable, and it has high transmission indicators. The protocol library is generated by Borland C / C ++ programming, which can be easily linked into user applications, helping to quickly complete the development of various network application products.

Intron's TCP / IP protocol library is aimed at the characteristics of embedded application development. It takes "connection" as the object and encapsulates a few application API functions, covering most applications of embedded network development. It has good usability and flexibility. Sex. The basic running space is less than 90K.


Intron Embedded TCP / IP Protocol Library

Test hardware environment: Intron Embedded Network Module NetBox-II (48MHz 386EX CPU / 10M Ethernet interface) as the client, and CelerON 1GHz CPU PC (Windows98 / 10M Ethernet network interface) as the server. 10M star Ethernet network, category 5 twisted pair

Compilation environment: Borland C ++ 3.1 (Huge Mode)

Test Results:


The frame structure of Ethernet is shown in the following table:


According to the frame structure of Ethernet, the maximum length of the data segment is 1500 bytes.

According to the TCP / IP standard, the minimum length of the IP datagram header is 20 bytes, the minimum length of the TCP segment header is 20 bytes, and the minimum length of the UDP user datagram header is 8 bytes. It can be seen that the maximum packet length of TCP is 1500-20-20 = 1460Bytes, and the maximum packet length of UDP is 1500-20-8 = 1472Bytes.

60 Series Of LFP Cylindrical Lithium-ion Battery

In order to reduce the safety hazards of lithium-ion batteries and improve the life cycle of LFP batteries, ZSEM provides 60 series of large cylindrical lithium iron phosphate batteries for new energy storage, communication base station power supplies, special power supplies, and automotive and ship batteries.

Shandong Huachuang Times Optoelectronics Technology Co., Ltd. , https://www.dadncell.com