CN203445899U - Embedded gateway based on Modbus and TCP/IP protocol conversion - Google Patents

Embedded gateway based on Modbus and TCP/IP protocol conversion Download PDF

Info

Publication number
CN203445899U
CN203445899U CN201320528115.9U CN201320528115U CN203445899U CN 203445899 U CN203445899 U CN 203445899U CN 201320528115 U CN201320528115 U CN 201320528115U CN 203445899 U CN203445899 U CN 203445899U
Authority
CN
China
Prior art keywords
module
modbus
communication module
serial
protocol conversion
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.)
Expired - Lifetime
Application number
CN201320528115.9U
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.)
WUXI FANTAI TECHNOLOGY Co Ltd
Original Assignee
WUXI FANTAI 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 WUXI FANTAI TECHNOLOGY Co Ltd filed Critical WUXI FANTAI TECHNOLOGY Co Ltd
Priority to CN201320528115.9U priority Critical patent/CN203445899U/en
Application granted granted Critical
Publication of CN203445899U publication Critical patent/CN203445899U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The utility model discloses an embedded gateway based on Modbus and TCP/IP protocol conversion. The embedded gateway comprises a serial communication module, an Ethernet communication module, a processor module, a display module and a power module. The serial communication module and the processor module are connected, the Ethernet communication module and the processor module are connected, the processor module and the display module are connected, and the power module and the processor module are connected. By using the embedded gateway based on Modbus and TCP/IP protocol conversion, the mutual conversion between serial link data and network data is realized, the realization of industrial on-site equipment networking is facilitated, the equipment operation is controlled in multiple expansion modes in an original operation environment, the system scalability is improved, and the construction of large-scale control networks is facilitated.

Description

Embedded gateway based on Modbus and ICP/IP protocol conversion
Technical field
The utility model relates to a kind of gateway, relates in particular to a kind of embedded gateway based on Modbus and ICP/IP protocol conversion.
Background technology
Along with improving constantly of industry spot intelligent requirements, the introducing of network technology is an inevitable choice in industrial automatic control field, but most industrial field device does not have network interface, so in the situation that not changing existing equipment, how modern communication technology is successfully applied to industrial automatic control field, whole control network of networkization transformation is very important, especially how serial link is converted to network link, serial data frame and transmission control protocol/Internet Interconnection agreement (TCP/IP) packet are changed mutually.
Utility model content
The purpose of this utility model is, by a kind of embedded gateway based on Modbus and ICP/IP protocol conversion, to solve the problem that above background technology is partly mentioned.
For reaching this object, the utility model by the following technical solutions:
An embedded gateway based on Modbus and ICP/IP protocol conversion, it comprises serial communication module, ethernet communication module, processor module, display module and power module;
Described serial communication module is connected with processor module, for receiving and send serial data packet;
Described ethernet communication module is connected with processor module, for receiving and send network packet;
Described processor module is connected with display module, be used for based on Modbus serial protocol and ICP/IP protocol, accordingly the serial data packet of receiving and network packet are analyzed to judgement, serial data packet is converted to network packet, export to ethernet communication module, network packet is converted to serial data packet, exports to serial communication module, and related data is presented on display module in real time;
Described power module is connected with processor module, for input voltage is carried out to step-down processing, is different demand power supplies.
Especially, described serial communication module comprises RS232 interface and RS485 interface.
Especially, described ethernet communication module comprises RJ45 interface.
Especially, described processor module is selected STM32f103 series processors.
Especially, described display module is selected touching liquid-crystal display screen.
The embedded gateway based on Modbus and ICP/IP protocol conversion that the utility model provides has been realized the mutual conversion between serial link data and network data, be convenient to realize the networking of industrial field device, equipment is operated under original running environment to be controlled with multiple extended mode, improve the system expandability, be conducive to the construction of large-scale control network implementation.
Accompanying drawing explanation
The embedded gateway structure chart based on Modbus and ICP/IP protocol conversion that Fig. 1 provides for the utility model embodiment;
The processor module workflow diagram that Fig. 2 provides for the utility model embodiment.
Embodiment
Below in conjunction with drawings and Examples, the utility model is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the utility model, but not to restriction of the present utility model.It also should be noted that, for convenience of description, in accompanying drawing, only show the part relevant to the utility model but not full content.
Please refer to shown in Fig. 1 the embedded gateway structure chart based on Modbus and ICP/IP protocol conversion that Fig. 1 provides for the utility model embodiment.
Embedded gateway based on Modbus and ICP/IP protocol conversion in the present embodiment comprises serial communication module 101, ethernet communication module 102, processor module 103, display module 104 and power module 105.
Described serial communication module 101 is connected with processor module 103, for receiving and send serial data packet.Described ethernet communication module 102 is connected with processor module 103, for receiving and send network packet.Described processor module 103 is connected with display module 104, be used for based on Modbus serial protocol and ICP/IP protocol, accordingly the serial data packet of receiving and network packet are analyzed to judgement, serial data packet is converted to network packet, export to ethernet communication module 102, network packet is converted to serial data packet, exports to serial communication module 101, and related data is presented on display module 104 in real time.Described power module 105 is connected with processor module 103, for input voltage is carried out to step-down processing, is different demand power supplies.Wherein, Modbus is a brand by Modicon(Xian Wei Schneider Electric Devices company) utility model in 1979, be the whole world first really for the bus protocol of industry spot.TCP/IP is transmission control protocol/Internet Interconnection agreement, has another name called network communication protocol.
In the present embodiment, described serial communication module 101 comprises RS232 interface and RS485 interface.Described ethernet communication module 102 comprises RJ45 interface.Described processor module 103 is selected STM32f103 series processors.Described display module 104 is selected touching liquid-crystal display screen, by 240*320 touch screen liquid crystal, ILI9341 chip and TSC2046 chip, formed, ILI9341 chip is used for controlling liquid crystal display screen, TSC2046 chip is as controlling touch-screen, STM32f103 series processors drives liquid crystal display screen by its FSMC, provide man-machine interface, handled easily personnel surveillance equipment ruuning situation.Described power module 105AMS1111-3.3 and AMS1111-2.5 and other passive devices form, and respectively external 5V power supply being reduced to 3.3V is different demand power supplies from 2.5V.
RS232 interface and RS485 interface are all connected the subordinate computer node 106 of industrial automation control appliance.RS485 interface is, by SN75LBC184-TTL-RS485 interface driver chip, the two paths of signals line of RS485 interface is transferred to the connected RX of STM32f103 series processors serial ports and TX end.RJ45 interface picks out by network control chip and network transformer, be connected with the SPI2 of STM32f103 series processors, by spi bus, operate the realization that reaches network interface layer, be responsible for carrying out communication with PC or other network access devices 107 with network function.In practical application, this embedded gateway selects STM32f103VET6 in STM32f103 series as core processor, its external high speed 8Mhz and low speed 32.768khz crystal oscillator and BOOT circuit.The minimum system that STM32f103VET6, power module 105, clock module 108 and jtag interface 109 build, completes peripheral hardware and the program management of whole gateway.
As shown in Figure 2, the processor module of take selects STM32f103 series processors as example, and its workflow is specific as follows:
One, judgement serial/network data state, what judgement received is the serial data packet that subordinate computer node sends by serial communication module, or the network packet that network access device sends by ethernet communication module, if serial data packet, execution step (two) is to (five), if network packet, execution step (six) is to (nine).Two, the RTU pattern based on Modbus agreement resolves to clear data bag by serial data packet.Three, deposit the clear data bag after serial data packet parsing in data buffer storage.Four, call TCP/IP-lwIP protocol stack and send function, clear data bag is processed.Five, the network packet that meets ICP/IP protocol form is sent to network access device by ethernet communication module.Six, call network interface peripheral hardware and drive, network packet is converted to the data packet form that TCP/IP-lwIP agreement can be identified, be uploaded to processor module.Seven, calling TCP/IP-lwIP protocol stack resolves network packet.Eight, network packet is converted to clear data, deposits data buffer storage in.Nine, call the mainframe program based on Modbus agreement, clear data is converted to serial data frame by sending to subordinate computer node to serial communication module.
The technical scheme the utility model proposes has realized the mutual conversion between serial link data and network data, be convenient to realize the networking of industrial field device, equipment is operated under original running environment to be controlled with multiple extended mode, improve the system expandability, be conducive to the construction of large-scale control network implementation.
These are only preferred embodiment of the present utility model, be not limited to the utility model, to those skilled in the art, can have various changes and variation.All any modifications of doing, be equal to replacement etc., within all should being included in protection range of the present utility model within spirit of the present utility model and principle.

Claims (5)

1. the embedded gateway based on Modbus and ICP/IP protocol conversion, is characterized in that, comprises serial communication module, ethernet communication module, processor module, display module and power module;
Described serial communication module is connected with processor module, for receiving and send serial data packet;
Described ethernet communication module is connected with processor module, for receiving and send network packet;
Described processor module is connected with display module, be used for based on Modbus serial protocol and ICP/IP protocol, accordingly the serial data packet of receiving and network packet are analyzed to judgement, serial data packet is converted to network packet, export to ethernet communication module, network packet is converted to serial data packet, exports to serial communication module, and related data is presented on display module in real time;
Described power module is connected with processor module, for input voltage is carried out to step-down processing, is different demand power supplies.
2. the embedded gateway based on Modbus and ICP/IP protocol conversion according to claim 1, is characterized in that, described serial communication module comprises RS232 interface and RS485 interface.
3. the embedded gateway based on Modbus and ICP/IP protocol conversion according to claim 1, is characterized in that, described ethernet communication module comprises RJ45 interface.
4. the embedded gateway based on Modbus and ICP/IP protocol conversion according to claim 1, is characterized in that, described processor module is selected STM32f103 series processors.
5. according to the embedded gateway based on Modbus and ICP/IP protocol conversion one of claim 1 to 4 Suo Shu, it is characterized in that, described display module is selected touching liquid-crystal display screen.
CN201320528115.9U 2013-08-27 2013-08-27 Embedded gateway based on Modbus and TCP/IP protocol conversion Expired - Lifetime CN203445899U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201320528115.9U CN203445899U (en) 2013-08-27 2013-08-27 Embedded gateway based on Modbus and TCP/IP protocol conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201320528115.9U CN203445899U (en) 2013-08-27 2013-08-27 Embedded gateway based on Modbus and TCP/IP protocol conversion

Publications (1)

Publication Number Publication Date
CN203445899U true CN203445899U (en) 2014-02-19

Family

ID=50096910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201320528115.9U Expired - Lifetime CN203445899U (en) 2013-08-27 2013-08-27 Embedded gateway based on Modbus and TCP/IP protocol conversion

Country Status (1)

Country Link
CN (1) CN203445899U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506516A (en) * 2014-12-19 2015-04-08 平顶山中选自控系统有限公司 Gateway for conversion between Modbus RTU/ASCII (remote terminal unit/American standard code for information interchange) communication protocol and Modbus TCP (transmission control protocol) communication protocol and implementation method for gateway
CN104932995A (en) * 2014-03-18 2015-09-23 上海斐讯数据通信技术有限公司 RS485 bus-to-HBI bus system
CN115174308A (en) * 2022-07-30 2022-10-11 湖南瑞菱科技有限公司 Multi-path communication link method and integrated multifunctional controller
CN115766684A (en) * 2021-09-02 2023-03-07 台州市海特自动控制技术有限公司 Protocol conversion gateway

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932995A (en) * 2014-03-18 2015-09-23 上海斐讯数据通信技术有限公司 RS485 bus-to-HBI bus system
CN104506516A (en) * 2014-12-19 2015-04-08 平顶山中选自控系统有限公司 Gateway for conversion between Modbus RTU/ASCII (remote terminal unit/American standard code for information interchange) communication protocol and Modbus TCP (transmission control protocol) communication protocol and implementation method for gateway
CN115766684A (en) * 2021-09-02 2023-03-07 台州市海特自动控制技术有限公司 Protocol conversion gateway
CN115174308A (en) * 2022-07-30 2022-10-11 湖南瑞菱科技有限公司 Multi-path communication link method and integrated multifunctional controller

Similar Documents

Publication Publication Date Title
CN203445899U (en) Embedded gateway based on Modbus and TCP/IP protocol conversion
CN103595598A (en) Remote transparent transmission serial server based on fiber and control mode thereof
CN205210626U (en) Embedded network data communication control unit
CN103176429B (en) A kind of high performance PCB drilling machine control system
CN201163782Y (en) Intelligent network gateway used for EPA/HART interconnection
CN202183779U (en) Ethernet access device of serial bus
CN103595690A (en) A multi-serial port communication protocol converter based on an ARM
CN2705957Y (en) On-site bus communication protocol switching interface module
CN207995122U (en) A kind of multi-protocols intelligent gateway based on narrowband Internet of Things
CN207115132U (en) Bus-type motion controller and system
CN205983171U (en) Robot control system
CN103118085A (en) Serial server system based on the Internet
CN202331168U (en) Embedded controller for intelligent building terminal unit integration
CN202696645U (en) Modularized and channelized Ethernet gateway
CN103019210B (en) A kind of bus connection system of flexible production line traffic control
CN205301872U (en) Embedded many IC interface control circuit
CN202889275U (en) Remote motor control system based on eCos and Web server
CN202353595U (en) Gateway for EtherCAT (Ethernet for control and automation technology) and RS485 communication switching
CN202141922U (en) Distributed real time control system and main station module
CN203573377U (en) Four-gate access controller of IP (internet protocol) network
CN205015457U (en) Servo motor drives testing arrangement
Hao et al. Development for protocol conversion gateway of industrial field bus
CN204069004U (en) High performance communication management devices
CN204948101U (en) A kind of PROFIBUS-DP bridge with state machine scheduling and fault diagnosis functions
CN205092876U (en) Embedded gateway based on ARM

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of utility model: Embedded gateway based on Modbus and TCP/IP protocol conversion

Effective date of registration: 20141204

Granted publication date: 20140219

Pledgee: Agricultural Bank of China Limited by Share Ltd. Wuxi science and Technology Branch

Pledgor: WUXI FANTAI TECHNOLOGY Co.,Ltd.

Registration number: 2014990001033

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20181114

Granted publication date: 20140219

Pledgee: Agricultural Bank of China Limited by Share Ltd. Wuxi science and Technology Branch

Pledgor: WUXI FANTAI TECHNOLOGY Co.,Ltd.

Registration number: 2014990001033

PC01 Cancellation of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of utility model: Embedded gateway based on Modbus and TCP/IP protocol conversion

Effective date of registration: 20181114

Granted publication date: 20140219

Pledgee: Agricultural Bank of China Limited by Share Ltd. Wuxi science and Technology Branch

Pledgor: WUXI FANTAI TECHNOLOGY Co.,Ltd.

Registration number: 2018990001077

PE01 Entry into force of the registration of the contract for pledge of patent right
CX01 Expiry of patent term

Granted publication date: 20140219

CX01 Expiry of patent term