Communication system of intelligent device, programmable protocol gateway device and communication method thereof
The invention provides a communication method of a programmable protocol gateway. The method comprises the steps of S1, setting a plurality of ports; S2, judging the type of serial ports of the programmable protocol gateway, and if the type of the serial ports is an initiative uploading type, execut...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
14.05.2014
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a communication method of a programmable protocol gateway. The method comprises the steps of S1, setting a plurality of ports; S2, judging the type of serial ports of the programmable protocol gateway, and if the type of the serial ports is an initiative uploading type, executing the S3, and if the type of the serial ports is a polling type, executing the S4; S3, calling a READ port to read data, storing the data into a memorizer, checking the data, and analyzing the data by utilizing the ST language; S4 calling a WRITE port to send data of a preset format in a timing mode, checking the data, calling the READ port to read the data, storing the data into the memorizer, checking the data, and analyzing the data by utilizing the ST language. The invention further provides the programmable protocol gateway and a communication system of an intelligent device with the same. According to the communication method of the programmable protocol gateway, the programmable protocol gateway and the co |
---|---|
Bibliography: | Application Number: CN2014154095 |