CN108418828A - A kind of device and method of protocol conversion - Google Patents

A kind of device and method of protocol conversion Download PDF

Info

Publication number
CN108418828A
CN108418828A CN201810225246.7A CN201810225246A CN108418828A CN 108418828 A CN108418828 A CN 108418828A CN 201810225246 A CN201810225246 A CN 201810225246A CN 108418828 A CN108418828 A CN 108418828A
Authority
CN
China
Prior art keywords
modbus tcp
sdo
sent
microcontroller
orders
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.)
Pending
Application number
CN201810225246.7A
Other languages
Chinese (zh)
Inventor
张国亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Guozi Robot Technology Co Ltd
Original Assignee
Zhejiang Guozi Robot Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhejiang Guozi Robot Technology Co Ltd filed Critical Zhejiang Guozi Robot Technology Co Ltd
Priority to CN201810225246.7A priority Critical patent/CN108418828A/en
Publication of CN108418828A publication Critical patent/CN108418828A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40228Modbus

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

This application discloses a kind of equipment of protocol conversion, including:Communication component, for receiving Modbus TCP orders;Filled Modbus TCP frames are sent to Modbus TCP Clients;Microcontroller, for Modbus TCP orders to be sent to CAN interface in the form of SDO request messages;By the fills of the SDO response messages received to Modbus TCP frames;The SDO response messages of return for Modbus TCP orders to be sent to corresponding CAN slave stations, and are sent to microcontroller by CAN interface.The equipment of the protocol conversion to enable accesses ModbusTCP networks using the equipment of CANopen agreements, improves the efficiency of data transmission procedure.The application additionally provides a kind of method of protocol conversion simultaneously, has above-mentioned advantageous effect.

Description

A kind of device and method of protocol conversion
Technical field
This application involves protocol conversion field, more particularly to a kind of device and method of protocol conversion.
Background technology
Modbus and CAN is as two kinds of industrial common bus protocols on instrument and meter, automobile, Transit Equipment Obtain extensive use.CANopen is the upper-layer protocol of CAN bus, and the application protocol being operate on CAN bus is adopted Have the characteristics that response is fast, delay is low, with high accuracy with the servo-driver of CANopen agreements.
Modbus initially by a kind of agreement of application layer of Mo Dikang (after by Shi Naide electrically purchased) company exploitation, The Modbus protocol definitions format of the frame of application layer, data length, register address, Read-write Catrol, the letters such as frame period time Breath.Applying for Modbus agreements occupies a big chunk ratio, water in industrial automation and the application of industrial control system Table ammeter and PLC use Modbus agreements.Modbus Transmission Control Protocol is the Modbus message transmissions association for operating in TCP/IP View, the products such as mainstream PLC generally support the agreement at present.However the PLC controller of mainstream does not have CANopen to connect in the prior art Mouthful, this makes the equipment using CANopen agreements that can not access ModbusTCP networks, cause low-response in data transmission procedure, Delay is high, precision is low.
Therefore, how to enable using the equipment access ModbusTCP networks of CANopen agreements is that those skilled in the art are current The technical issues that need to address.
Invention content
The purpose of the application is to provide a kind of device and method of protocol conversion, for enabling setting using CANopen agreements Standby access ModbusTCP networks, and then improve the efficiency of data transmission procedure.
In order to solve the above technical problems, the application provides a kind of equipment of protocol conversion, which includes:
Communication component, the Modbus TCP orders for receiving the transmission of Modbus TCP Clients;It will be filled Modbus TCP frames are sent to the Modbus TCP Clients;
Microcontroller, for the Modbus TCP orders to be sent to CAN interface in the form of SDO request messages;It will connect The fills of the SDO response messages received are to the Modbus TCP frames;
The CAN interface, for the Modbus TCP orders of the SDO request messages form received to be sent to pair The CAN slave stations answered, and the SDO response messages that corresponding CAN slave stations return are sent to the microcontroller.
Optionally, the microcontroller includes:
First resolving elements, for when the Modbus TCP orders received are Modbus TCP reading orders, parsing The Modbus TCP reading orders obtain reading address information and read data amount check;
First transmitting element, for the reading address information and the reading data amount check to be inserted SDO request messages, And the SDO request messages are sent to the CAN interface;
Second resolving elements is returned for when receiving the SDO response messages, parsing the SDO response messages Return data word joint number and returned data;
Packing elements, for according to predetermined format by the returned data byte number and the returned data fill to Modbus TCP frames.
Optionally, the microcontroller includes:
Third resolving elements, for when the Modbus TCP orders received are Modbus TCP writing commands, parsing The Modbus TCP writing commands are written address information, write data amount check and data content;
Second transmitting element, for inserting said write address information, write data number and the data content SDO request messages, and the SDO request messages are sent to the CAN interface.
Optionally, further include being connected to the communication component, the microcontroller and the CAN interface, for being described logical Believe the power supply of component, the microcontroller and CAN interface power supply.
Optionally, further include the charging port for being connected to the power supply, power cord for being connected as the power source charges.
Optionally, further include being connected to the power supply and the communication component, for showing the power supply status and described The indicator light of communication component state.
Optionally, the communication component is specially wire communication component, and the power supply is specially to utilize Power-over-Ethernet The ports RJ45.
Optionally, the communication component is specially WiFi wireless communication components.
Optionally, the communication component is specially 4G wireless communication components.
The application also provides a kind of method of protocol conversion, and this method includes:
Communication component receives the Modbus TCP orders of Modbus TCP Clients transmission, and microcontroller is by the Modbus TCP orders are sent to CAN interface in the form of SDO request messages;
The Modbus TCP orders of the SDO request messages form received are sent to corresponding by the CAN interface CAN slave stations, and the SDO response messages that corresponding CAN slave stations return are sent to the microcontroller;
By the fills of the SDO response messages to Modbus TCP frames, the communication component will be filled out the microcontroller It charges complete Modbus TCP frames and is sent to the Modbus TCP Clients.
A kind of equipment of protocol conversion provided herein, including communication component, for receiving Modbus TCP clients Hold the Modbus TCP orders sent;Filled Modbus TCP frames are sent to Modbus TCP Clients;Microcontroller, For Modbus TCP orders to be sent to CAN interface in the form of SDO request messages;By the SDO response messages received Fills are to Modbus TCP frames;CAN interface, the Modbus TCP orders of the SDO request message forms for will receive Corresponding CAN slave stations are sent to, and the SDO response messages that corresponding CAN slave stations return are sent to microcontroller.
Technical solution provided herein, by setting for by Modbus TCP orders with the shape of SDO request messages Formula is sent to CAN interface, and by the fills of the SDO response messages received to the microcontroller of Modbus TCP frames so that When the equipment using protocol conversion provided herein is worked, Modbus that microcontroller first receives communication component TCP orders are sent to CAN interface in the form of SDO request messages, and CAN interface sends it to corresponding CAN slave stations, and will be right Answer the SDO response messages that CAN slave stations return to be sent to microcontroller, microcontroller again by the fills of SDO response messages extremely Filled Modbus TCP frames are sent to Modbus TCP Clients, realize order by Modbus TCP frames, communication component ModbusTCP networks are accessed using the equipment of CANopen agreements, improve the efficiency of data transmission procedure.The application is gone back simultaneously A kind of method of protocol conversion is provided, there is above-mentioned advantageous effect, details are not described herein.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
A kind of structural schematic diagram of the equipment for protocol conversion that Fig. 1 is provided by the embodiment of the present application;
A kind of structural schematic diagram of microcontroller in equipment of the Fig. 2 by Fig. 1 protocol conversion provided;
The structural schematic diagram of the equipment for another protocol conversion that Fig. 3 is provided by the embodiment of the present application;
A kind of flow chart of the method for protocol conversion that Fig. 4 is provided by the embodiment of the present application.
Specific implementation mode
The core of the application is to provide a kind of device and method of protocol conversion, for enabling setting using CANopen agreements Standby access ModbusTCP networks, and then improve the efficiency of data transmission procedure.
To keep the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, technical solutions in the embodiments of the present application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Referring to FIG. 1, a kind of structural schematic diagram of the equipment for protocol conversion that Fig. 1 is provided by the embodiment of the present application.
As shown in Figure 1, the test device may include:
Communication component 100, the Modbus TCP orders for receiving the transmission of Modbus TCP Clients;It will be filled Modbus TCP frames are sent to Modbus TCP Clients;
Microcontroller 200, for Modbus TCP orders to be sent to CAN interface in the form of SDO request messages;It will receive The fills of the SDO response messages arrived are to Modbus TCP frames;
CAN interface 300, the Modbus TCP orders of the SDO request message forms for will receive are sent to corresponding CAN slave stations, and the SDO response messages that corresponding CAN slave stations return are sent to microcontroller.
Since the PLC controller of mainstream in the prior art does not have CANopen interfaces, this to use Modbus Transmission Control Protocol Equipment can not access CANopen networks, lead to that low-response in data transmission procedure, delay is high, precision is low;Based on this, this Shen It please provide and a kind of equipment of protocol conversion is provided, for enabling the equipment access ModbusTCP networks using CANopen agreements, And then improve the efficiency of data transmission procedure;
Communication component 100 is connected to microcontroller 200, the Modbus TCP lives for receiving the transmission of Modbus TCP Clients It enables, so that Modbus TCP orders are sent to CAN interface by microcontroller 200 in the form of SDO request messages, is additionally operable to monolithic 200 filled Modbus TCP frames of machine are sent to Modbus TCP Clients;Modbus TCP Clients mentioned herein It is specifically as follows the equipment using Modbus Transmission Control Protocol, the classification of the Modbus TCP orders sent may include Modbus TCP reading orders and Modbus TCP writing commands, be respectively used to read CANopen networks data and to corresponding CAN from It stands and data is written;
CAN interface 300 is connected to microcontroller 200, the SDO request message forms for sending microcontroller 200 Modbus TCP orders are sent to corresponding CAN slave stations, and the SDO response messages that corresponding CAN slave stations return are sent to monolithic Machine 200, so that microcontroller 200 is by the fills of the SDO response messages received to Modbus TCP frames;
Optionally, CAN interface 300 mentioned herein is specifically as follows multiple, a plurality of CAN bus is correspondingly connected to, with reality The extension of existing a plurality of CAN bus;
Optionally, referring to FIG. 2, a kind of structural representation of microcontroller in equipment of the Fig. 2 by Fig. 1 protocol conversions provided Figure, microcontroller 200 can specifically include:
First resolving elements 201, for when the Modbus TCP orders received are Modbus TCP reading orders, solving Analysis Modbus TCP reading orders obtain reading address information and read data amount check;
First transmitting element 202, for that will read address information and read data amount check filling SDO request messages, and will SDO request messages are sent to CAN interface;
Second resolving elements 203, for when receiving SDO response messages, parsing SDO response messages to obtain returned data Byte number and returned data;
Packing elements 204, for filling returned data byte number and returned data to Modbus according to predetermined format TCP frames;
When the Modbus TCP orders received are Modbus TCP reading orders, the parsing of the first resolving elements 201 Modbus TCP reading orders obtain reading address information and read data amount check;First transmitting element 202 will read address letter Breath and reading data amount check insert SDO request messages, and SDO request messages are sent to CAN interface;
Optionally, reading address information mentioned herein can specifically include target station number and initial address;
The format of the Modbus TCP reading orders specifically can be as shown in the table:
If the index that controller will read the CANOpen equipment that node number is NodeID is Index, subindex SubIndex Service Data Object (SDO), then the Modbus TCP reading orders be specifically as follows:
Function code mentioned herein corresponds to the different function of Modbus TCP orders;
After receiving above-mentioned Modbus reading orders, corresponding NodeID, Index, SubIndex will directly be taken out, Filling SDO request messages are sent to CAN bus;
The specific format of the SDO request messages can be as shown in the table:
Optionally, the setting mentioned herein for reading data amount check can be somebody's turn to do there are many mode for example, can be set as working as When SDO corresponds to 1 byte or 2 byte datas, Num=1 is enabled;When the SDO corresponds to 3 bytes or 4 byte datas, enable Num=2;It can not also consider the corresponding byte numbers of SDO, directly enable Num=2;
When receiving SDO response messages, the second resolving elements 203 parsing SDO response messages obtain returned data byte Number and returned data;Packing elements 204 fill returned data byte number and returned data to Modbus according to predetermined format TCP frames;
Optionally, the command format of SDO response messages mentioned herein specifically can be as shown in the table:
Wherein, target station number and function code are corresponding with target station number and function code in step S202;
When receiving SDO response messages, returned data byte number and returned data can be filled according to following format To Modbus TCP frames;
Optionally, microcontroller 200 can also include specifically:
Third resolving elements 205, for when the Modbus TCP orders received are Modbus TCP writing commands, solving Modbus TCP writing commands are analysed, address information is written, writes data amount check and data content;
Second transmitting element 206, for by writing address information, write data amount check and data content filling SDO request report Text, and SDO request messages are sent to CAN interface.
When the Modbus TCP orders received are Modbus TCP writing commands, third resolving elements 205 parses Modbus TCP writing commands are written address information, write data amount check and data content;Second transmitting element 206, will write Enter address information, write data amount check and data content filling SDO request messages, and SDO request messages are sent to CAN interface;
Optionally, writing address information mentioned herein may include target station number and initial address;Further, The command format of Modbus TCP writing commands specifically can be as shown in the table:
If the index that controller will will write the CANOpen equipment that node number is NodeID is Index, subindex is The Service Data Object (SDO) of SubIndex, then the Modbus TCP writing commands be specifically as follows:
By writing address information, data amount check and data content filling SDO request messages are write, and SDO request messages are sent out It send to CAN bus.
The specific format of the SDO request messages is:
It, directly will be by corresponding NodeID, Index, SubIndex, Data after receiving above-mentioned Modbus writing commands It takes out, filling SDO request messages are sent to CAN bus;
For example, when it is 2 to write data amount check in Modbus RTU writing commands, the particular content of the SDO request messages is:
Optionally, after SDO request messages are sent to CAN bus, can also include:
When a write is completed, each CAN slave stations is enabled to return to the SDO response messages that write-in finishes.
When the equipment using protocol conversion provided herein is worked, microcontroller first receives communication component Modbus TCP orders be sent to CAN interface in the form of SDO request messages, CAN interface send it to corresponding CAN from It stands, and the SDO response messages that corresponding CAN slave stations return is sent to microcontroller, microcontroller again fills out the content of SDO response messages Modbus TCP frames are charged to, filled Modbus TCP frames are sent to Modbus TCP Clients by communication component so that The data interaction between CAN slave stations is completed using the main website of Modbus Transmission Control Protocol;
Based on the above-mentioned technical proposal, the equipment of a kind of protocol conversion provided herein realizes order and uses CANopen The equipment of agreement accesses ModbusTCP networks, improves the efficiency of data transmission procedure.
Based on above-described embodiment, referring to FIG. 3, another protocol conversion that Fig. 3 is provided by the embodiment of the present application is set Standby structural schematic diagram.
As shown in figure 3, the equipment of the protocol conversion can also include:
Be connected to communication component 100, microcontroller 200 and CAN interface 300, for for communication component 100, microcontroller 200 and The power supply 400 that CAN interface 300 is powered;
Further, the power cord which can also be including being connected to power supply 400, for being connected as power source charges fills Electric port 500;
Further, which can also include being connected to power supply 400 and communication component 100, for showing 400 shape of power supply The indicator light 600 of 100 state of state and communication component;
Further, which is specifically as follows wire communication component, and power supply 400 is specially to be supplied using cable The ports RJ45 of electricity;
Further, which is specifically as follows WiFi wireless communication components;
Further, which is specifically as follows 4G wireless communication components.
Based on the above-mentioned technical proposal, the equipment of another protocol conversion provided herein, can pass through indicator light pair The electricity of power supply is shown that, so that when power supply is in low battery state, indicator light shines or extinguishes, and then reminds user couple Power supply charges;The communications status of communication component can also be shown by indicator light, is allowed the user to according to finger Show that the color of lamp understands the communications status of communication component, improves the friendliness of product.
Referring to FIG. 4, a kind of flow chart of the method for protocol conversion that Fig. 4 is provided by the embodiment of the present application.
It specifically comprises the following steps:
S101:Communication component receives the Modbus TCP orders of Modbus TCP Clients transmission, and microcontroller will Modbus TCP orders are sent to CAN interface in the form of SDO request messages;
S102:The Modbus TCP orders of the SDO request message forms received are sent to corresponding CAN by CAN interface Slave station, and the SDO response messages that corresponding CAN slave stations return are sent to microcontroller;
S103:For microcontroller by the fills of SDO response messages to Modbus TCP frames, communication component will be filled Modbus TCP frames are sent to Modbus TCP Clients.
Since the embodiment of method part is corresponded with the embodiment of environment division, because the embodiment of the method part is asked Referring to the description of the embodiment of environment division, wouldn't repeat here.
Each embodiment is described by the way of progressive in specification, the highlights of each of the examples are with other realities Apply the difference of example, just to refer each other for identical similar portion between each embodiment.For equipment disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is referring to method part illustration .
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, depends on the specific application and design constraint of technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think to exceed scope of the present application.
A kind of device and method of protocol conversion provided herein are described in detail above.It is used herein The principle and implementation of this application are described for specific case, and the explanation of above example is only intended to help to understand The present processes and its core concept.It should be pointed out that for those skilled in the art, not departing from this Apply principle under the premise of, can also to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the application In scope of the claims.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence " including one ... ", not There is also other identical elements in the process, method, article or apparatus that includes the element for exclusion.

Claims (10)

1. a kind of equipment of protocol conversion, which is characterized in that including:
Communication component, the Modbus TCP orders for receiving the transmission of Modbus TCP Clients;By filled Modbus TCP frames are sent to the Modbus TCP Clients;
Microcontroller, for the Modbus TCP orders to be sent to CAN interface in the form of SDO request messages;It will receive SDO response messages fills to the Modbus TCP frames;
The CAN interface, it is corresponding for the Modbus TCP orders of the SDO request messages form received to be sent to CAN slave stations, and the SDO response messages that corresponding CAN slave stations return are sent to the microcontroller.
2. equipment according to claim 1, which is characterized in that the microcontroller includes:
First resolving elements, for when the Modbus TCP orders received are Modbus TCP reading orders, described in parsing Modbus TCP reading orders obtain reading address information and read data amount check;
First transmitting element, for the reading address information and the reading data amount check to be inserted SDO request messages, and will The SDO request messages are sent to the CAN interface;
Second resolving elements obtains returning to number for when receiving the SDO response messages, parsing the SDO response messages According to byte number and returned data;
Packing elements, for filling the returned data byte number and the returned data to Modbus according to predetermined format TCP frames.
3. equipment according to claim 1, which is characterized in that the microcontroller includes:
Third resolving elements, for when the Modbus TCP orders received are Modbus TCP writing commands, described in parsing Modbus TCP writing commands are written address information, write data amount check and data content;
Second transmitting element, for asking said write address information, write data number and the data content filling SDO Message is sought, and the SDO request messages are sent to the CAN interface.
4. equipment according to claim 1, which is characterized in that further include being connected to the communication component, the microcontroller And the CAN interface, the power supply for powering for the communication component, the microcontroller and the CAN interface.
5. equipment according to claim 4, which is characterized in that further include being connected to the power supply, described for being connected as The charging port of the power cord of power source charges.
6. equipment according to claim 4, which is characterized in that further include be connected to the power supply and the communication component, Indicator light for showing the power supply status and the communication component state.
7. equipment according to claim 4, which is characterized in that the communication component is specially wire communication component, described Power supply is specially the ports RJ45 using Power-over-Ethernet.
8. equipment according to claim 1, which is characterized in that the communication component is specially WiFi wireless communication components.
9. equipment according to claim 1, which is characterized in that the communication component is specially 4G wireless communication components.
10. a kind of method of protocol conversion, which is characterized in that including:
Communication component receives the Modbus TCP orders of Modbus TCP Clients transmission, and microcontroller is by the Modbus TCP Order is sent to CAN interface in the form of SDO request messages;
The CAN interface by the Modbus TCP orders of the SDO request messages form received be sent to corresponding CAN from It stands, and the SDO response messages that corresponding CAN slave stations return is sent to the microcontroller;
By the fills of the SDO response messages to Modbus TCP frames, the communication component will fill the microcontroller Complete Modbus TCP frames are sent to the Modbus TCP Clients.
CN201810225246.7A 2018-03-19 2018-03-19 A kind of device and method of protocol conversion Pending CN108418828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810225246.7A CN108418828A (en) 2018-03-19 2018-03-19 A kind of device and method of protocol conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810225246.7A CN108418828A (en) 2018-03-19 2018-03-19 A kind of device and method of protocol conversion

Publications (1)

Publication Number Publication Date
CN108418828A true CN108418828A (en) 2018-08-17

Family

ID=63132152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810225246.7A Pending CN108418828A (en) 2018-03-19 2018-03-19 A kind of device and method of protocol conversion

Country Status (1)

Country Link
CN (1) CN108418828A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912894A (en) * 2019-11-26 2020-03-24 天津华春智慧能源科技发展有限公司 Communication protocol conversion system and method for heat supply metering network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045334A (en) * 2010-09-27 2011-05-04 北京泰豪智能工程有限公司 Protocol conversion method and device
CN102947813A (en) * 2010-03-31 2013-02-27 施奈德电气自动控制有限责任公司 Method for transmitting data via canopen bus
US20140067146A1 (en) * 2012-06-07 2014-03-06 Grupo Guascor S.L. Power generator protection unit
CN205545358U (en) * 2016-03-25 2016-08-31 四川零点自动化系统有限公司 CANopen changes modbus TCP's protocol converter
CN206575428U (en) * 2017-02-06 2017-10-20 广州振铭机电科技有限公司 A kind of CANopen networks concentrated collection device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102947813A (en) * 2010-03-31 2013-02-27 施奈德电气自动控制有限责任公司 Method for transmitting data via canopen bus
CN102045334A (en) * 2010-09-27 2011-05-04 北京泰豪智能工程有限公司 Protocol conversion method and device
US20140067146A1 (en) * 2012-06-07 2014-03-06 Grupo Guascor S.L. Power generator protection unit
CN205545358U (en) * 2016-03-25 2016-08-31 四川零点自动化系统有限公司 CANopen changes modbus TCP's protocol converter
CN206575428U (en) * 2017-02-06 2017-10-20 广州振铭机电科技有限公司 A kind of CANopen networks concentrated collection device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912894A (en) * 2019-11-26 2020-03-24 天津华春智慧能源科技发展有限公司 Communication protocol conversion system and method for heat supply metering network

Similar Documents

Publication Publication Date Title
US9667699B2 (en) Method for transmitting data via a CANopen bus
CN103873324A (en) Universal bus testing system
CN102820959A (en) Method for performing large data volume communication between Modbus master station and Modbus slave station
CN102750249B (en) The method that host computer communicates with slave computer, Apparatus and system
CN106444657B (en) A kind of Modbus main website command processing method and main station controller
CN104750588A (en) Serial port communication based pressure testing method
CN106878131B (en) PROFIBUS coupler and data transmission method of PROFIBUS
CN103929439A (en) Data transmission method and MODBUS server
CN108322482A (en) A kind of method and device of protocol conversion
CN107222458A (en) A kind of data processing method and system of the BACnet protocol stacks of compatible Modbus agreements
CN201863869U (en) Train simulation system based on MVB (multifunction vehicle bus) network
CN105356991A (en) Driver real-time synchronization communication device
CN105379192A (en) Hardware management communication protocol
CN108418828A (en) A kind of device and method of protocol conversion
CN108132898A (en) Multiplex communication control method and communication box
CN112422485B (en) Communication method and device of transmission control protocol
CN105117353B (en) FPGA with conventional data interactive module and the information processing system using the FPGA
CN108521416B (en) ECN integrated circuit board
CN110048865A (en) A kind of bus data transmission method, device, electronic equipment and storage medium
CN109561032A (en) A kind of switch module and the interchanger including it
CN110098991B (en) Equipment for accessing EtherCAT bus system to universal Internet of things cloud platform
CN102722592B (en) Universal digital information recording device and method
CN106603357A (en) Sensor data reporting method, device and system
CN102143246B (en) Method for end-to-end communication between internet protocol version (IPV) 4 network and IPV6 network
CN109639847A (en) A kind of equipment that writing with a brush dipped in Chinese ink MAC Address, method and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180817

RJ01 Rejection of invention patent application after publication