Communication system of intelligent device, programmable protocol gateway device and communication method thereof

A protocol gateway and communication method technology, which is applied in the communication field of programmable protocol gateway equipment, can solve the problems of smart devices without communication protocols, complex and diverse protocols, and expensive prices, and achieve low programming difficulty, stable and reliable operation, and low cost Effect

CN103795618AActive Publication Date: 2014-05-14BEIJING TENGCON TECH
3 Cites 24 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2014-05-14

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

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 communication system of the intelligent device, a user can convert various protocols into a standard protocol through programming, an upper computer only needs to analyze one protocol, and therefore the programming difficulty is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of industrial field communication, in particular to a communication system of a programmable protocol gateway device and an intelligent device having it, and a communication method of the programmable protocol gateway device. Background technique

[0002] Factory automation and informatization are the basis of factory intelligence. At present, factory informatization is generally based on TCP / IP technology. There are many smart devices on the industrial site, and their communication interfaces use computer serial interfaces, CAN interfaces or other bus interfaces, and use standard protocols or protocols customized by manufacturers. In the process of completing the intelligentization of the entire factory, it is necessary to Obtaining the data of these smart devices involves various protocol analysis and conversion issues.

[0003] The existing interface conversion method has the following problems: [0004...

Examples

Embodiment Construction

[0053] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0054] Refer below figure 1 and figure 2 The communication method of the programmable protocol gateway device of the present invention is described.

[0055] like figure 1 As shown, the communication method of the programmable protocol gateway device in the embodiment of the present invention, the method performs the following steps through the graphical programming environment of the IEC61131-3 protocol:

[0056] Step S1, setting a plurality of ports, wherein the plurality of ports include an OPEN port, a READ port and a WRI...