Synchronous communication method and system based on Modbus protocol and terminal equipment

The invention is suitable for the technical field of communication, and provides a synchronous communication method and system based on a Modbus protocol, and terminal equipment, and the method comprises the steps: blocking a synchronous gate when a first thread receives a synchronous communication...

Full description

Saved in:
Bibliographic Details
Main Authors LIN CHENQIANG, MENG SHANSHAN, CHEN MINHONG
Format Patent
LanguageChinese
English
Published 23.10.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention is suitable for the technical field of communication, and provides a synchronous communication method and system based on a Modbus protocol, and terminal equipment, and the method comprises the steps: blocking a synchronous gate when a first thread receives a synchronous communication task; comparing whether the time interval between the current moment and the completion moment of the last synchronous communication task is greater than or equal to preset interval time; if the time interval is larger than or equal to the preset interval time, a callback object is initialized, andthe callback object is used for monitoring whether callback information is injected or not; sending the request message to a receiving device; when the callback object monitors callback message injection, a synchronous gate is opened, and the callback message comprises a response message fed back after the receiving device receives the request message. According to the invention, synchronous communication based on a Modbu
Bibliography:Application Number: CN202010611906