Data transmission method and device, electronic equipment and storage medium
The invention discloses a data transmission method and device, electronic equipment and a storage medium, and the data transmission method applied to an MODBUS master station comprises the following steps: transmitting at least two polling requests to an MODBUS slave station to realize data transmis...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a data transmission method and device, electronic equipment and a storage medium, and the data transmission method applied to an MODBUS master station comprises the following steps: transmitting at least two polling requests to an MODBUS slave station to realize data transmission. Each polling request comprises two parts: a request for all real-time update data and a request for part of non-real-time update data. At least one of the polling requests is used for acquiring all non-real-time update data. Then, the method receives the response of the MODBUS slave station to the real-time update data and the non-real-time update data sent by each polling request; by adopting the data transmission method, the MODBUS master station can efficiently communicate with the MODBUS slave station and obtain real-time update data and non-real-time update data. The method has the advantages that the number of times and delay of communication can be reduced by reasonably arranging the polling request, a |
---|