Introduction to communication box communication mode

1. Introduction to communication mode

The communication box platform management system is mainly divided into two communication modules, serial communication and TCP communication mode. The serial communication mode is mainly used in the communication box station-level management system, which is used to manage the application scenarios where there are many oil machine equipment in gas stations and users need site management functions. The TCP communication mode mainly adopts wireless communication mode, which includes Wifi, 4G communication mode, etc., and is mainly used in gas station scenarios where the number of oil machine equipment is not particularly large.

2. Communication box serial communication

Communication box serial communication

As shown in the figure above, the system sets the port selection in the communication box setting interface. As long as the user selects the computer serial port currently bound to the communication box, the system will open the serial communication mode to communicate with the communication box. At the same time, the communication status will be displayed at the bottom of the system’s main interface to prompt the user whether the communication box is successfully connected.

The basic principle of serial communication is that when data is sent from the CPU through the serial port, the byte data is converted into serial bits; when receiving data, the serial bits are converted into byte data. The most important parameters of serial communication include baud rate, data bits, stop bits, and parity. ‌Baud rate measures the communication speed, and data bits measure the parameters of the actual data bits in the communication. ‌For two ports that communicate, these parameters must match. ‌

Serial communication has a wide range of applications, including but not limited to connecting a mouse, printer, or modem, and connecting industrial instruments. ‌Although the RS-232 standard was originally designed for IBM-PC and its compatible machines, its application has been extended to many other devices and systems. ‌For example, many GPIB-compatible devices also have RS-232 ports, making serial communication a common communication protocol for instrumentation equipment. ‌In addition, the serial communication protocol can also be used to obtain data from remote acquisition devices, showing its importance in remote monitoring and data acquisition systems. ‌

3. TCP communication mode

The TCP communication mode is mainly used in the wireless communication mode of the communication box. The wireless mode can be realized by WiFi or 4G. The user only needs to set the communication box information in the center of the communication box to turn on the TCP communication mode. At the same time, the system will display its communication status. The setting interface is as follows.

TCP communication mode

In contrast to TCP, UDP (User Datagram Protocol) is a connectionless, unreliable transport layer protocol, mainly used in application scenarios that have high requirements for real-time data transmission but low requirements for data reliability. ‌

Bluesky system points function

 

Update cookies preferences
WhatsApp

Get a Quick Quote!

x

    Get a Quick Quote!

    x