Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Slave station conversion device based on MODBUS protocol and control method thereof

A technology of a conversion device and a control method, which is applied in the field of MODBUS protocol, can solve the problems of cumbersome process, low communication rate of MODBUS bus system, etc., and achieve the effect of simplifying cumbersomeness and improving communication rate.

Pending Publication Date: 2020-08-07
东莞市艾莫迅自动化科技有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when the existing MODBUS master station reads or writes multiple MODBUS slave stations, multiple read or write operations are required, the process is cumbersome, and the communication rate in the MODBUS bus system is low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Slave station conversion device based on MODBUS protocol and control method thereof
  • Slave station conversion device based on MODBUS protocol and control method thereof
  • Slave station conversion device based on MODBUS protocol and control method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] Embodiment 1 of the present invention provides a slave conversion device based on the MODBUS protocol, such as figure 1 As shown, it includes a slave station module 1, a conversion module 2 and a master station module 3, and the slave station module 1, the conversion module 2 and the master station module 3 are connected to the network in turn, and the slave station module 1 internally connects multiple MODBUS slaves Stations are connected by networking, the conversion module 2 maps multiple MODBUS slave stations into a new MODBUS slave station, and the master station module 3 scans the new MODBUS slave stations once to complete multiple MODBUS slave stations Read or write from the slave.

[0035] In this way, multiple MODBUS slave stations are connected in a networking mode through the slave station module 1, and multiple MODBUS slave stations are mapped into a new MODBUS slave station through the conversion module 2, and the new MODBUS slave station is connected throu...

Embodiment 2

[0069] Such as Figure 4 As shown, Embodiment 2 of the present invention provides a control method of a slave conversion device based on the MODBUS protocol, which specifically includes the following steps:

[0070] S1. Inside the slave station module, multiple MODBUS slave stations are connected by networking;

[0071] S2, the conversion module maps a plurality of MODBUS slave stations inside the slave station module in S1 into a new MODBUS slave station;

[0072] S3. The master station module performs one scan cycle on the new MODBUS slave station in the conversion module in S2, and can complete reading or writing to multiple MODBUS slave stations.

[0073] In the S1, the networking mode adopts a serial communication connection mode, and the attribute data of the MODBUS slave station includes coil register data, discrete register data, input register data and holding register data.

[0074] In this way, the ring register data, discrete register data, input register data an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a slave station conversion device based on an MODBUS protocol and a control method thereof. The slave station conversion device based on the MODBUS protocol comprises a slave station module, a conversion module and a master station module which are in network connection in sequence, and the conversion module maps a plurality of MODBUS slave stations into a new MODBUS slavestation. According to the slave station conversion device based on the MODBUS protocol, a plurality of MODBUS slave stations are connected in a networking mode through the slave station module; the plurality of MODBUS slave stations are mapped into a new MODBUS slave station through the conversion module; and the main station module scans the new MODBUS slave station once to complete reading or writing of the plurality of MODBUS slave stations, so that the complexity of application of an upper computer is effectively simplified, and the communication rate in a traditional MODBUS module bus system can be greatly improved.

Description

technical field [0001] The invention belongs to the technical field of MODBUS protocol, and in particular relates to a slave station switching device based on MODBUS protocol and a control method thereof. Background technique [0002] The MODBUS protocol is a common language applied to electronic controllers. Through this protocol, controllers can communicate with each other, controllers and other devices via a network (such as Ethernet). The MODBUS protocol has become a general industrial standard, and control devices produced by different manufacturers can be connected into an industrial network for centralized monitoring. [0003] The MODBUS protocol supports traditional RS-232, RS-422, RS-485 and Ethernet devices as well as many industrial devices, including PLC, DCS, smart instruments, etc., are using the MODBUS protocol as the communication standard between them. [0004] However, when the existing MODBUS master station reads or writes multiple MODBUS slave stations, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/40
CPCH04L12/40006H04L12/4013H04L2012/40228
Inventor 杨春付大刚
Owner 东莞市艾莫迅自动化科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products