CN109743301A - A kind of data receiving-transmitting system and method based on Modbus agreement - Google Patents
A kind of data receiving-transmitting system and method based on Modbus agreement Download PDFInfo
- Publication number
- CN109743301A CN109743301A CN201811583510.0A CN201811583510A CN109743301A CN 109743301 A CN109743301 A CN 109743301A CN 201811583510 A CN201811583510 A CN 201811583510A CN 109743301 A CN109743301 A CN 109743301A
- Authority
- CN
- China
- Prior art keywords
- request message
- data
- master station
- message
- station device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The present invention relates to a kind of data receiving-transmitting system and method based on Modbus agreement, the system comprises master station device and from station arrangement, master station device includes data storage device;Master station device is for receiving the data flow from host computer;Data stream is encapsulated, request message is obtained, and request message is stored to data storage device, when master station device from station arrangement with communicating successfully, the request message in data storage device is read, request message is sent to from station arrangement with Modbus-RTU format;From station arrangement for receiving request message, and request message is handled, generates response message, response message is back to master station device;Master station device is also used to receive response message, parses to response message, obtains response data;Response data is returned into host computer.Technical solution of the present invention can save the operating time, convenient and efficient.
Description
Technical field
The present invention relates to communication protocol techniques field more particularly to a kind of data receiving-transmitting system based on Modbus agreement and
Method.
Background technique
Modbus agreement is to define a controller applied to a kind of generic data transport protocol on electronic controller
The message structure used can be recognized, controller is described and request access to the process of other equipment, it is specified that how to respond
Request from other equipment, and how to detect mistake and record, and formulated the common format of message field layout and content,
It is communicated between each other and between controller and other equipment by network according to Modbus protocol controller, network includes
The network of diversified forms, such as Ethernet.Currently, main equipment sends request message when two equipment communicate, received from equipment
And analysis request message, it executes after corresponding operation to main equipment returning response message, realizes information exchange.But work as equipment
Between communication disruption when, such as occur network failure, from equipment can not receive main equipment send request message, then need weight
New input data, re-starts information exchange, wastes time, cumbersome.
Summary of the invention
In view of the above shortcomings of the prior art, the present invention provides a kind of data receiving-transmitting system based on Modbus agreement and side
Method.
The technical scheme to solve the above technical problems is that
In a first aspect, the present invention provides a kind of data receiving-transmitting system based on Modbus agreement, including master station device and
From station arrangement, the master station device includes data storage device.
The master station device is packaged the data flow, is requested for receiving the data flow from host computer
Message, and the request message is stored to the data storage device, when the master station device is communicated with described from station arrangement
When success, the request message in the data storage device is read, is sent out the request message with Modbus-RTU format
It send to described from station arrangement.
It is described to be used to receive the request message from station arrangement, and the request message is handled, generate response report
The response message is back to the master station device by text.
The master station device is also used to receive the response message, parses to the response message, obtains number of responses
According to the response data is returned to the host computer.
Second aspect, the present invention provides a kind of data receiving-transmitting methods based on Modbus agreement, and the method includes such as
Lower step:
Master station device receives the data flow from host computer.
The data flow is packaged, obtains request message, and the request message is stored to data storage device.
When master station device from station arrangement with communicating successfully, the request message in the data storage device is read,
The request message is sent to from station arrangement with Modbus-RTU format.
The request message is received from station arrangement, and the request message is handled, generates response message, it will be described
Response message is back to master station device.
Master station device receives the response message, parses to the response message, obtains response data,
The response data is returned into the host computer.
The beneficial effect of data receiving-transmitting system based on Modbus agreement and method of the invention is: receiving host computer input
Data flow, data flow includes director data, is that director data configures corresponding parameter according to the data flow, by director data
Be packaged in order with parameter, obtain request message, and request message is stored to data storage device, can setting when
Between after delete the request message, discharge memory space, master station device sends communication request to from station arrangement, when available from station arrangement
When, it establishes master station device and from the communication connection between station arrangement, master station device sends request message to from station arrangement;If slave station
Device is temporarily unavailable, can not connect, and master station device then can send communication request to from station arrangement at interval of the nominal time, until
The communication request is responded from station arrangement, communication connection is established, avoids and re-enter data flow, is received from station arrangement described logical
It is handled after letter request, corresponding movement is executed according to the director data, corresponding response message is generated after movement,
The response message is returned into master station device, master station device parses the response message and obtains response data, and by the response data
Host computer is returned to, data interaction is realized, instruction performance can be known by host computer.Technical solution of the present invention, will
Request message is stored in data storage device, when master station device and when setting up communication connection from station arrangement, can automatically by
Request message is sent to from station arrangement, is not required to re-enter data flow, reduces operating time, convenient and efficient.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of data receiving-transmitting system based on Modbus agreement of the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of master station device of the embodiment of the present invention;
Fig. 3 is the data structure diagram of the read request message of the embodiment of the present invention;
Fig. 4 is the data structure diagram of the write request message of the embodiment of the present invention;
Fig. 5 is the data structure diagram of the reading response message of the embodiment of the present invention;
Fig. 6 is the data structure diagram of the write response message of the embodiment of the present invention;
Fig. 7 is that the embodiment of the present invention read request message is sent to from the process of station arrangement with Modbus-RTU format is shown
It is intended to;
Fig. 8 is the simulation result diagram of write request message under Modbus-RTU mode of the embodiment of the present invention;
Fig. 9 is the simulation result diagram of write-in write-in slave addresses under Modbus-RTU mode of the embodiment of the present invention;
Figure 10 is the simulation result diagram that write-in functions code is written under Modbus-RTU mode of the embodiment of the present invention;
Figure 11 is the simulation result diagram that write instruction data are written under Modbus-RTU mode of the embodiment of the present invention;
Figure 12 is the simulation result diagram of write-in write-in check code under Modbus-RTU mode of the embodiment of the present invention;
Figure 13 is a kind of flow diagram of data receiving-transmitting method based on Modbus agreement of the embodiment of the present invention.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and
It is non-to be used to limit the scope of the invention.
As shown in Figure 1, a kind of data receiving-transmitting system based on Modbus agreement provided in an embodiment of the present invention, including main website
Device and from station arrangement, the master station device includes data storage device.
The master station device is packaged the data flow, is requested for receiving the data flow from host computer
Message, and the request message is stored to the data storage device, when the master station device is communicated with described from station arrangement
When success, the request message in the data storage device is read, is sent out the request message with Modbus-RTU format
It send to described from station arrangement.
It is described to be used to receive the request message from station arrangement, and the request message is handled, generate response report
The response message is back to the master station device by text.
The master station device is also used to receive the response message returned from station arrangement, to the response message into
Row parsing, obtains response data, the response data is returned to the host computer.
In the present embodiment, the data flow of host computer input is received, data flow includes director data, is according to the data flow
Director data configures corresponding parameter, and director data and parameter are packaged in order, obtains request message, and request is reported
Text is stored to data storage device, can delete the request message after the time of setting, discharges memory space, master station device to from
Station arrangement sends communication request, when from station arrangement can with when, establish master station device and from the communication connection between station arrangement, main website
Device can not be connected to from station arrangement transmission request message if temporarily unavailable from station arrangement, and master station device then can be at interval of mark
It fixes time and sends communication request to from station arrangement, until responding the communication request from station arrangement, establish communication connection, avoid weight
New input traffic is handled after receiving the communication request from station arrangement, is executed according to the director data corresponding dynamic
Make, corresponding response message is generated after movement, which is returned into master station device, master station device parses the sound
It answers message to obtain response data, and the response data is returned into host computer, realize data interaction, can be known by host computer
Instruct performance.Request message is stored in data storage device by technical solution of the present invention, when master station device and slave station
When device sets up communication connection, request message can be sent to from station arrangement automatically, be not required to re-enter data flow, reduced
Operating time, convenient and efficient.
Specifically, master station device and from station arrangement be FPGA (Field-Programmable Gate Array) control
Device, data storage device is FIFO (First Input First Output) memory, using Verilog hardware description language
It is programmed, request message includes read request message and write request message, and the corresponding response message of read request message is to read response
Message, the corresponding response message of write request message are write response message.Master station device is connect by serial ports with host computer, and can be led to
It crosses Ethernet or serial ports is connect with from station arrangement.
Preferably, the request message includes function code, and the master station device is specifically used for:
According to the data flow, it is the data stream configuration multiple parameters, the data flow and multiple parameters is pressed
Sequence encapsulation framing, obtains the request message.
The type that the request message is determined according to the function code, by the request message classification storage to the data
Storage device, wherein the request message of same type is stored together.
Specifically, as shown in Fig. 2, master station device include the SYN register being sequentially connected electrically, 10 select 1 Port Multiplier, caching
Register, message module for reading and writing and message sending module further include the baud rate selecting module being sequentially connected electrically, frequency counter
With baud rate clock, wherein baud rate clock selects 1 Port Multiplier to be electrically connected with 10, SYN register and upper mechatronics, message
Sending module is connect with from station arrangement.Data flow includes director data and messaging parameter, and messaging parameter includes baud rate etc., request
Message includes slave addresses, function code, director data and check code, and the type of request message includes read request message and write request
Message, the corresponding response message of read request message are to read response message, and the corresponding response message of write request message is write response report
Text.The data structure diagram of read request message as shown in Figure 3, in read request message, director data includes register starting point
Location and reading register number;The data structure diagram of write request message as shown in Figure 4, in write request message, director data
Including register initial address, read register number and data to be written.Pass through the synchronous host computer of SYN register first
The signal transmitted eliminates metastable state, and director data includes 8 data bit, 1 start bit and 1 stop bits, passes through baud
It is 9600 that baud rate, which is arranged, in rate selecting module, identical as host computer baud rate, when opening baud rate when start bit is low level
Clock starts to send data bit, and stop bits is sent for marking to terminate.In order to guarantee the reliability of data transmission, frequency dividing can be passed through
Counter is sent using the frequency dividing of Veri log 16, then 10 data need to count 160 times, when frequency counter meter full 160
When secondary, output signal sets 1, represents a byte and is sent completely, baud rate clock is reset.1 Port Multiplier is selected successively will by 10
10 data are transmitted to cache register.Message module for reading and writing is to the corresponding ginseng of 10 bit instruction data configurations in cache register
Number, parameter include slave addresses, function code and check code, and be sequentially written in order slave addresses, function code, director data and
Then check code is packaged, obtain request message.The type that request message is determined according to function code, request message is classified
It stores to data storage device.Request message being stored in data storage device, being read out when convenient for needing.When main website fills
When setting with communicating successfully from station arrangement, message module for reading and writing reads the request message in data storage device, is sent by message
Module is sent to from station arrangement.
Preferably, the master station device is specifically used for:
Communication request is sent from station arrangement to described at interval of the nominal time, until returned described in receiving from station arrangement
Response message, the master station device and it is described communicate to connect from being established between station arrangement, the master station device and the slave station
Device communicates successfully.
Specifically, master station device sends communication request to from station arrangement, in communication request including baud rate etc., when slave station dress
It sets when receiving communication request, it is whether correct from data such as station arrangement verifying baud rates, it is verified, is then returned to master station device
Successful information is communicated, to establish communication connection;If authentication failed, to master station device return communication failure information.Work as slave station
When device does not receive communication request, master station device sends communication request to from station arrangement at interval of the nominal time, until slave station
Device returns to response message.Master station device can be communicated with from station arrangement automatically, be not required to establish connection manually, save behaviour
Make time, convenient and efficient.
Preferably, the request message further includes check code and director data, described to be specifically used for from station arrangement:
The request message that the master station device is sent is received, the request message is parsed, the school is obtained
Test code and described instruction data.
The check code in the request message is verified, when being verified, is held according to described instruction data
The corresponding movement of row.
The corresponding response message is generated after having executed the movement, with Modbus-RTU format by the response message
It is sent to the master station device.
Specifically, after receiving request message from station arrangement, parsing is carried out to request message and obtains slave addresses, function
Code, director data and check code, check code can be indicated by CRC_rx_code, and check code is compared verifying with setting value, is tested
End of certificate at check code can be indicated by CRC_done_code, if check code is consistent with setting value, be verified, determine request
Message does not malfunction in transmission process, and the type of request message is determined according to function code, such as: it is right when function code is 03
Answering request message is read request message;When function code is 06, corresponding requests message is write request message.When request message is to read
When request message, reads the register initial address in director data and read register number, according to register initial address
With read the data in the corresponding register of register number reading, such as reading is data in register A and register B,
Obtain the corresponding return byte number of the data, then in request message slave addresses, function code and return byte number, register
The check code that data in A, the data in register B and verifying are completed successively is packaged, and is obtained and is read response message, such as Fig. 5
Shown in read response message data structure.
When request message is write request message, reads the register initial address in director data, reads register count
Amount and data to be written, the data being written into are sequentially written in corresponding register, to slave addresses, function code, post
Storage initial address, the check code for reading register number, data to be written and verifying completion re-start write-in encapsulation, obtain
Obtain write response message, the data structure of write response message as shown in FIG. 6.
Preferably, described to be specifically also used to from station arrangement:
When failing the authentication, authentication failed message is generated, and the authentication failed message is returned into the master station device.
Specifically, when check code verify not over when, directly to slave addresses, function code, authentication failed information and test
End of certificate carries out write-in encapsulation at check code, is verified failure message, returns to master station device, informs that master station device data are passing
Occurs mistake during defeated.Convenient for being corrected in time, re-enter.
In the present embodiment, the as shown in Figure 7 stream being sent to read request message with Modbus-RTU format from station arrangement
Journey schematic diagram.
110, when read request message is sent to from station arrangement, message module for reading and writing is read in data storage device first
Read request message, and by read request message transmissions to message sending module, read request message include slave addresses data (addr),
Function code data (fun_code), register initial address data (reg_addr), register number data (reg_
) and check code data (CRC_rx_code) quantity.
120, data_receive_done signal when message sending module is with write request message is input mark letter
Number, when data_receive_done signal sets 1, open Modbus-RTU mode.
130,3.5 character time intervals when passing through cnt1 counter counts first under Modbus-RTU mode, with
Count3_5ms is marking signal, and count3_5ms marking signal sets 1 Shi Jiman, when count3_5ms marking signal meter expires Shi Ze
Setting start of frame bits rx_head is 1, and rx_head is 0 before this, and closes cnt1 counter, is then turned on the cnt2 of 1.5 characters
Counter.
140, the slave addresses data (addr) received are written to the data in outgoing message by message sending module
[63:56], outgoing message are the Modbus-RTU format of read request message.
150, the interior function code data that will be received of 1.5 character times after slave addresses data (addr) is written
(fun_code) data [55:48] in outgoing message is written, if cnt2 counter does not count full 1.5 characters, hold mode
Equal pending datas write-in, if cnt2 counter counts have expired 1.5 character times write-in functions code data not yet, then it is assumed that the function code
Data are error message frame, exit 3.5 character times of writing process reclocking.
160,1.5 character times after write-in functions code data (fun_code) are interior by the register received starting
The data [47:32] of address date (reg_addr) write-in outgoing message.
170, it is posted what is received in 1.5 character times after register initial address data (reg_addr) is written
The data [31:16] of storage incremental data (reg_quantity) write-in outgoing message.
180, the interior school that will be received of 1.5 character times after register number data (reg_quantity) is written
Test the data [31:16] of a yard data (CRC_rx_code) write-in outgoing message, wherein if cnt2 counter counts have expired 1.5 words
When next data are not written in the symbol time yet, then it is assumed that next data are error message frame.
190, check code data (CRC_rx_code) write after using CRC_tx_done signal as mark, and again by frame
Start bit rx_head sets 0, simultaneously closes off cnt2 counter, and outgoing message write-in is completed, which is sent to slave station dress
It sets.As shown in figure 8, being sequentially written in slave addresses (addr), function code (fun_code), deposit during generating request message
Device initial address (reg_addr), register number (reg_quantity) and check code (CRC_rx_code), finally with
Data_receive_done is written as data flow and the marking signal for completion of classifying.
As shown in figure 9, first character section is written after 3.5ms during generating request message, the number of corresponding write-in
According to as slave addresses (addr).
As shown in Figure 10, during generating request message, after the completion of slave addresses write-in, 1ms or so (is less than 1.5ms)
Second byte is written, the data of corresponding write-in are function code (fun_code).
As shown in figure 11, during generating request message, after function code write-in is completed, 1ms (being less than 1.5ms) write-in
Third byte, corresponding write-in register initial address high byte (reg_addr [15:8]).
As shown in figure 12, during generating request message, the last byte --- the low eight (CRC_rx_ of check code are written
Code [7:0]), it is 1 that message is set after completing and is sent completely marking signal CRC_tx_done.
Entire request message generating process, in addition to the first character section 3.5ms that needs to be delayed is sent, remaining each byte phase
It is sent every about 1ms, in total time-consuming about 10.5ms.
As shown in figure 13, a kind of data receiving-transmitting method based on Modbus agreement provided in an embodiment of the present invention, the side
Method includes the following steps:
210, master station device receives the data flow from host computer.
220, the data flow is packaged, obtains request message, and the request message is stored to data and is stored
Device.
230, when master station device from station arrangement with communicating successfully, read the request report in the data storage device
The request message is sent to from station arrangement by text with Modbus-RTU format.
240, the request message is received from station arrangement, and handle the request message, generates response message, it will
The response message is back to master station device.
250, master station device receives the response message returned from station arrangement, solves to the response message
Analysis obtains response data,
The response data is returned into the host computer.
Preferably, the request message includes function code, described to be packaged to the data flow, obtains request message,
And the request message is stored to the data storage device and is specifically comprised the following steps:
According to the data flow, it is the data stream configuration multiple parameters, the data flow and multiple parameters is pressed
Sequence encapsulation framing, obtains the request message.
The type that the request message is determined according to the function code, by the request message classification storage to the data
Storage device, wherein the request message of same type is stored together.
Preferably, the master station device successfully specifically comprises the following steps: with communicating from station arrangement
Communication request is sent from station arrangement to described at interval of the nominal time, until receiving the response returned from station arrangement
Information, the master station device and it is described communicate to connect from being established between station arrangement, the master station device and described from station arrangement
It communicates successfully.
Preferably, the request message further includes check code and director data, described to handle the request message,
Response message is generated, the response message is back to the master station device and is specifically comprised the following steps:
The request message that the master station device is sent is received, the request message is parsed, the school is obtained
Test code and described instruction data.
The check code in the request message is verified, when being verified, is held according to described instruction data
The corresponding movement of row.
The corresponding response message is generated after having executed the movement, with Modbus-RTU format by the response message
It is back to the master station device.
It preferably, further include walking as follows after the step of check code in the request message is verified
It is rapid:
When failing the authentication, authentication failed message is generated, and the authentication failed message is returned into the master station device.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of data receiving-transmitting system based on Modbus agreement, which is characterized in that described including master station device and from station arrangement
Master station device includes data storage device;
The master station device is used to receive the data flow from host computer, is packaged to the data flow, obtains request message,
And store the request message to the data storage device, when the master station device communicates successfully with described from station arrangement
When, the request message in the data storage device is read, is sent to the request message with Modbus-RTU format
It is described from station arrangement;
It is described to be used to receive the request message from station arrangement, and the request message is handled, response message is generated, it will
The response message is back to the master station device;
The master station device is also used to receive the response message, parses to the response message, obtains response data, will
The response data returns to the host computer.
2. the data receiving-transmitting system according to claim 1 based on Modbus agreement, which is characterized in that the request message
Including function code, the master station device is specifically used for:
It is the data stream configuration multiple parameters according to the data flow, in order by the data flow and multiple parameters
Framing is encapsulated, the request message is obtained;
The type that the request message is determined according to the function code stores the request message classification storage to the data
Device, wherein the request message of same type is stored together.
3. the data receiving-transmitting system according to claim 2 based on Modbus agreement, which is characterized in that the master station device
It is specifically used for:
Communication request is sent from station arrangement to described at interval of the nominal time, until receiving the response returned from station arrangement
Information, the master station device and it is described between station arrangement establish communication connection.
4. the data receiving-transmitting system according to any one of claims 1 to 3 based on Modbus agreement, which is characterized in that institute
Stating request message further includes check code and director data, described to be specifically used for from station arrangement:
The request message that the master station device is sent is received, the request message is parsed, the check code is obtained
With described instruction data;
The check code in the request message is verified, when being verified, according to the execution pair of described instruction data
The movement answered;
The corresponding response message is generated after having executed the movement, is returned to the response message with Modbus-RTU format
To the master station device.
5. the data receiving-transmitting system according to claim 4 based on Modbus agreement, which is characterized in that described from station arrangement
Specifically it is also used to:
When failing the authentication, authentication failed message is generated, and the authentication failed message is returned into the master station device.
6. a kind of data receiving-transmitting method based on Modbus agreement, which is characterized in that described method includes following steps:
Master station device receives the data flow from host computer;
The data flow is packaged, obtains request message, and the request message is stored to data storage device;
When master station device from station arrangement with communicating successfully, the request message in the data storage device is read, with
The request message is sent to from station arrangement by Modbus-RTU format;
The request message is received from station arrangement, and the request message is handled, response message is generated, by the response
Message is back to master station device;
Master station device receives the response message, parses to the response message, obtains response data,
The response data is returned into the host computer.
7. the data receiving-transmitting method according to claim 6 based on Modbus agreement, which is characterized in that the request message
It is described that the data flow is packaged including function code, request message is obtained, and the request message is stored to the number
Specifically comprise the following steps: according to storage device
It is the data stream configuration multiple parameters according to the data flow, in order by the data flow and multiple parameters
Framing is encapsulated, the request message is obtained;
The type that the request message is determined according to the function code stores the request message classification storage to the data
Device, wherein the request message of same type is stored together.
8. the data receiving-transmitting method according to claim 7 based on Modbus agreement, which is characterized in that the master station device
Successfully specifically comprise the following steps: with being communicated from station arrangement
Communication request is sent from station arrangement to described at interval of the nominal time, until receiving the response returned from station arrangement
Information, the master station device and it is described between station arrangement establish communicate to connect.
9. according to the described in any item data receiving-transmitting methods based on Modbus agreement of claim 6 to 8, which is characterized in that institute
Stating request message further includes check code and director data, described to handle the request message, generation response message, by institute
It states response message and is back to the master station device and specifically comprise the following steps:
The request message that the master station device is sent is received, the request message is parsed, the check code is obtained
With described instruction data;
The check code in the request message is verified, when being verified, according to the execution pair of described instruction data
The movement answered;
The corresponding response message is generated after having executed the movement, is returned to the response message with Modbus-RTU format
To the master station device.
10. the data receiving-transmitting method according to claim 9 based on Modbus agreement, which is characterized in that described to described
Further include following steps after the step of check code in request message is verified:
When failing the authentication, authentication failed message is generated, and the authentication failed message is returned into the master station device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811583510.0A CN109743301B (en) | 2018-12-24 | 2018-12-24 | Modbus protocol-based data receiving and transmitting system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811583510.0A CN109743301B (en) | 2018-12-24 | 2018-12-24 | Modbus protocol-based data receiving and transmitting system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109743301A true CN109743301A (en) | 2019-05-10 |
CN109743301B CN109743301B (en) | 2021-03-16 |
Family
ID=66359650
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811583510.0A Active CN109743301B (en) | 2018-12-24 | 2018-12-24 | Modbus protocol-based data receiving and transmitting system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109743301B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110941179A (en) * | 2019-12-09 | 2020-03-31 | 杭州和利时自动化有限公司 | Undisturbed downloading method, device and equipment and readable storage medium |
CN111130970A (en) * | 2019-12-31 | 2020-05-08 | 深圳市无眼界科技有限公司 | Communication method based on modbus communication protocol |
CN111683038A (en) * | 2020-04-17 | 2020-09-18 | 许继集团有限公司 | Fire alarm control system data processing method and device based on modbus protocol |
CN112487271A (en) * | 2020-11-25 | 2021-03-12 | 浪潮通用软件有限公司 | Data acquisition method, system, equipment and medium |
CN112637027A (en) * | 2020-12-22 | 2021-04-09 | 北京神经元网络技术有限公司 | Frame boundary defining device based on UART (universal asynchronous receiver/transmitter), transmitting method and receiving method |
CN112995133A (en) * | 2021-02-02 | 2021-06-18 | 深圳市科陆电子科技股份有限公司 | Analysis method, device and system based on modbus protocol |
CN113132468A (en) * | 2021-03-19 | 2021-07-16 | 珠海科创电力电子有限公司 | Communication method, communication device, communication system and storage medium based on ModbusTCP protocol |
CN117201229A (en) * | 2023-11-07 | 2023-12-08 | 横川机器人(深圳)有限公司 | Communication method, system and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060086893A1 (en) * | 2004-10-27 | 2006-04-27 | Joseph Spanier | System and method for connecting electrical devices using fiber optic serial communication |
CN101568191A (en) * | 2009-05-06 | 2009-10-28 | 北京创毅视讯科技有限公司 | Data communication method between master device and slave device at mobile terminal and mobile terminal |
CN102354175A (en) * | 2011-08-01 | 2012-02-15 | 李遇浦 | Remote I/O (input/output) control system of Modbus fieldbus DI-16-route monitor |
CN103248547A (en) * | 2013-04-28 | 2013-08-14 | 西南大学 | Fast data capture method for slave station in Modbus RTU (remote terminal unit) and slave station |
CN104950792A (en) * | 2015-07-01 | 2015-09-30 | 重庆邮电大学 | Modbus protocol based hybrid networking method and industrial terminal equipment |
WO2016101084A1 (en) * | 2014-12-22 | 2016-06-30 | Universidad De Santiago De Chile | System and method for detecting and correcting transmission errors in industrial communications networks using the modbus rtu protocol |
CN107947906A (en) * | 2016-10-12 | 2018-04-20 | 发那科株式会社 | Slave |
CN107948059A (en) * | 2017-12-21 | 2018-04-20 | 中国电子信息产业集团有限公司第六研究所 | EtherCAT and Modbus protocol conversion gateways based on SPARC architecture microprocessors |
-
2018
- 2018-12-24 CN CN201811583510.0A patent/CN109743301B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060086893A1 (en) * | 2004-10-27 | 2006-04-27 | Joseph Spanier | System and method for connecting electrical devices using fiber optic serial communication |
CN101568191A (en) * | 2009-05-06 | 2009-10-28 | 北京创毅视讯科技有限公司 | Data communication method between master device and slave device at mobile terminal and mobile terminal |
CN102354175A (en) * | 2011-08-01 | 2012-02-15 | 李遇浦 | Remote I/O (input/output) control system of Modbus fieldbus DI-16-route monitor |
CN103248547A (en) * | 2013-04-28 | 2013-08-14 | 西南大学 | Fast data capture method for slave station in Modbus RTU (remote terminal unit) and slave station |
WO2016101084A1 (en) * | 2014-12-22 | 2016-06-30 | Universidad De Santiago De Chile | System and method for detecting and correcting transmission errors in industrial communications networks using the modbus rtu protocol |
CN104950792A (en) * | 2015-07-01 | 2015-09-30 | 重庆邮电大学 | Modbus protocol based hybrid networking method and industrial terminal equipment |
CN107947906A (en) * | 2016-10-12 | 2018-04-20 | 发那科株式会社 | Slave |
CN107948059A (en) * | 2017-12-21 | 2018-04-20 | 中国电子信息产业集团有限公司第六研究所 | EtherCAT and Modbus protocol conversion gateways based on SPARC architecture microprocessors |
Non-Patent Citations (2)
Title |
---|
PETER HUITSING,RODRIGO CHANDIA,MAURICIO PAPA,SUJEET SHENOI: "Attack taxonomies for the Modbus protocols", 《ATTACK TAXONOMIES FOR THE MODBUS PROTOCOLS》 * |
张豪: "Modbus协议读/写文件功能的研究与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110941179A (en) * | 2019-12-09 | 2020-03-31 | 杭州和利时自动化有限公司 | Undisturbed downloading method, device and equipment and readable storage medium |
CN110941179B (en) * | 2019-12-09 | 2023-03-31 | 杭州和利时自动化有限公司 | Undisturbed downloading method, device and equipment and readable storage medium |
CN111130970A (en) * | 2019-12-31 | 2020-05-08 | 深圳市无眼界科技有限公司 | Communication method based on modbus communication protocol |
CN111683038A (en) * | 2020-04-17 | 2020-09-18 | 许继集团有限公司 | Fire alarm control system data processing method and device based on modbus protocol |
CN112487271A (en) * | 2020-11-25 | 2021-03-12 | 浪潮通用软件有限公司 | Data acquisition method, system, equipment and medium |
CN112637027A (en) * | 2020-12-22 | 2021-04-09 | 北京神经元网络技术有限公司 | Frame boundary defining device based on UART (universal asynchronous receiver/transmitter), transmitting method and receiving method |
CN112995133A (en) * | 2021-02-02 | 2021-06-18 | 深圳市科陆电子科技股份有限公司 | Analysis method, device and system based on modbus protocol |
CN113132468A (en) * | 2021-03-19 | 2021-07-16 | 珠海科创电力电子有限公司 | Communication method, communication device, communication system and storage medium based on ModbusTCP protocol |
CN113132468B (en) * | 2021-03-19 | 2022-02-25 | 珠海科创电力电子有限公司 | Communication method, communication device, communication system and storage medium based on ModbusTCP protocol |
CN117201229A (en) * | 2023-11-07 | 2023-12-08 | 横川机器人(深圳)有限公司 | Communication method, system and storage medium |
CN117201229B (en) * | 2023-11-07 | 2024-02-20 | 横川机器人(深圳)有限公司 | Communication method, system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109743301B (en) | 2021-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109743301A (en) | A kind of data receiving-transmitting system and method based on Modbus agreement | |
CN101789889B (en) | Method and system for automatic testing communication equipment | |
CN103178996B (en) | Distributed packet-switching chip model verification system and method | |
CN110213143B (en) | 1553B bus IP core and monitoring system | |
CN101093521B (en) | FPGA emulation device and method | |
CN104765709B (en) | Multiple bus data simulation system | |
CN103530216A (en) | PCIE verification method based on UVM | |
CN103530211B (en) | A kind of method of the PCIE winding Autonomous tests based on UVM platforms | |
US20070064694A1 (en) | System and method for connecting a logic circuit simulation to a network | |
CN101179456A (en) | Network appliance testing approach and device | |
CN110177013A (en) | A kind of EtherCAT master-salve station design and implementation methods based on FPGA | |
CN105653409B (en) | A kind of hardware emulator verify data extraction system based on data type conversion | |
CN106656714A (en) | Communication protocol method and system based on EtherCAT bus | |
CN110445681A (en) | A kind of multiport parallel test method, device and electronic equipment | |
US8681812B2 (en) | Method and device for analyzing transaction propagation in a multiprotocol network of a system on chip | |
CN110290187A (en) | Transmission method and device, storage medium, the electronic device of data information | |
CN107947982A (en) | A kind of device software management system | |
CN108287537A (en) | A kind of CAN bus protocol controller test method | |
CN109815073B (en) | PXI platform-based high-speed serial port SRIO test method | |
CN105915518A (en) | Real-time parsing method and apparatus for ethernet data frame | |
CN107276834A (en) | Optical-fibre channel flow analysis recording method and device under a kind of aviation electronics environment | |
CN104678292B (en) | A kind of complex programmable logic device (CPLD) test method and device | |
CN101753375B (en) | Device for debugging UDP network packet in avionics simulation environment and method therefor | |
CN115811489A (en) | Exchange chip verification system and method based on UVM and storage medium | |
CN211209936U (en) | Internet of things testing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |