[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN103454981A - Embedded multiple master-slave Modbus controller - Google Patents

Embedded multiple master-slave Modbus controller Download PDF

Info

Publication number
CN103454981A
CN103454981A CN2012101695174A CN201210169517A CN103454981A CN 103454981 A CN103454981 A CN 103454981A CN 2012101695174 A CN2012101695174 A CN 2012101695174A CN 201210169517 A CN201210169517 A CN 201210169517A CN 103454981 A CN103454981 A CN 103454981A
Authority
CN
China
Prior art keywords
embedded
master
slave
modbus
multiple master
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
CN2012101695174A
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.)
Jiangsu LANSWON System Integrated Co., Ltd.
Original Assignee
SUZHOU HUIYUNDING INFORMATION SCIENCE & 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 SUZHOU HUIYUNDING INFORMATION SCIENCE & TECHNOLOGY Co Ltd filed Critical SUZHOU HUIYUNDING INFORMATION SCIENCE & TECHNOLOGY Co Ltd
Priority to CN2012101695174A priority Critical patent/CN103454981A/en
Publication of CN103454981A publication Critical patent/CN103454981A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses an embedded multiple master-slave Modbus controller which is developed according to existing embedded system technology. On the basis of a Samsung S3C6410X hardware platform and an embedded Linux operation system, an N:M multiple master-slave control mode is expanded to overcome defects of a one-master multiple-slave control mode. Further, a serial-port time-sharing control strategy with functions of automatically analyzing protocols, automatically saving operating logs, manually configuring serial ports and the like is researched and developed; furthermore, according to an embedded light database Sqlite, storage and reading of the operating logs and configuration data are completed; by the aid of an embedded open-source Web Servicer software platform boa, an embedded web server is built as a human-computer interactive interface of the Modbus controller so as to realize operations of viewing the operating logs, configuring serial port numbers and the like.

Description

Embedded many principals and subordinates Modbus bus controller
Technical field
The present invention relates to a kind of embedded many principals and subordinates Modbus bus controller, be applied to industrial control field.
Background technology
The Modbus bus is applied very extensive in centralized control system, but the control mode of its one master and multiple slaves has also been brought much inconvenience, especially in completed system, adding multimachine to control can't realize especially, crash or repeated priming even add by force also to bring, more can't realize massive dataflow mutual (as mutual as the real time data of controlling between computing machine and field apparatus).
Summary of the invention
For above-mentioned defect, the Modbus procotol bus under the RS485 hardware environment is the host-guest architecture bus, has proposed the implementation method of many master-slave modes.
The present invention utilizes existing embedded system technology, has developed embedded many principals and subordinates Modbus bus controller.This controller is based on Samsung S3C6410X hardware platform and built-in Linux operating system, for main many control Defect expandings many master-slave control methods of N: M.On this basis, independent research a set of serial ports timesharing control strategy, possess the functions such as automatic analysis agreement, autosave operation daily record, manual configuration serial ports.In conjunction with embedded light-duty database Sqli te, the storage of complete operation daily record and configuration data with read.And, in conjunction with the embedded Web Server software platform boa that increases income, build the Man Machine Interface of embedded web server as the Modbus bus controller, and to realize checking Operation Log, the settings such as configuration string slogan.
Modbus bus controller of the present invention mainly is connected with many serial ports by embedded-type ARM 6410 core boards, realize that the Modbus bus system of single master-slave control method becomes the Modbus bus system of complete many master-slave control methods, more can realize that main frame is by the data interaction of Ethernet and bus, and realize the monitoring of the data interaction on the Modbus bus.The ARM system is passed through human-computer interaction interface, the number of configuration master controller, corresponding hardware end slogan, distribute corresponding data buffer (minute reception area and sending area), distribute respective ends slogan and control word simultaneously, comprise baud rate, data characteristics, reiving/transmitting state etc.Set the monitoring buffer zone simultaneously.System sequentially judges the source that receives data according to the reiving/transmitting state table, data are delivered to Modbus bus and monitoring buffer zone.Then receive the validity of packet by analyzing the agreement judgement, if effectively, wait for and receive data, if invalid, return.Finally will receive data and deliver to corresponding data transmission buffer zone.
Beneficial effect of the present invention has: utilize existing embedded system technology, realized embedded many principals and subordinates Modbus bus controller, filled up the vacancy in market; Measured Modbus Realization analysis function, can online mode analyze the Modbus network in whole service; The use of built-in Linux operating system, contribute to the upgrading of the abundant and product of function; Embedded server boa sets up, and only checking of analytical structure need to utilize the web browser on host computer, can check in this locality, also can long-rangely check, makes man-machine interaction mode very flexible and convenient.
The accompanying drawing explanation
The embedded many principals and subordinates Modbus of Fig. 1 bus controller hardware structure diagram
The embedded many principals and subordinates Modbus of Fig. 2 bus controller software flow pattern
Embodiment
The specific embodiment of the present invention is described by reference to the accompanying drawings, as Fig. 1, Fig. 2, Modbus bus controller of the present invention mainly is connected with many serial ports by embedded-type ARM 6410 core boards, realize that the Modbus bus system of single master-slave control method becomes the Modbus bus system of complete many master-slave control methods, more can realize that main frame is by the data interaction of Ethernet and bus, and realize the monitoring of the data interaction on the Modbus bus.The ARM system is passed through human-computer interaction interface, the number of configuration master controller, corresponding hardware end slogan, distribute corresponding data buffer (minute reception area and sending area), distribute respective ends slogan and control word simultaneously, comprise baud rate, data characteristics, reiving/transmitting state etc.Set the monitoring buffer zone simultaneously.System sequentially judges the source that receives data according to the reiving/transmitting state table, data are delivered to Modbus bus and monitoring buffer zone.Then receive the validity of packet by analyzing the agreement judgement, if effectively, wait for and receive data, if invalid, return.Finally will receive data and deliver to corresponding data transmission buffer zone.

Claims (2)

1. embedded many principals and subordinates Modbus bus controller is characterized in that: it comprises control procedure and the communication modes of realization;
2. embedded many principals and subordinates Modbus bus controller according to claim 1, it is characterized in that: it realizes the monitoring mutual to the Modbus bus data by Ethernet.
CN2012101695174A 2012-05-29 2012-05-29 Embedded multiple master-slave Modbus controller Pending CN103454981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101695174A CN103454981A (en) 2012-05-29 2012-05-29 Embedded multiple master-slave Modbus controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101695174A CN103454981A (en) 2012-05-29 2012-05-29 Embedded multiple master-slave Modbus controller

Publications (1)

Publication Number Publication Date
CN103454981A true CN103454981A (en) 2013-12-18

Family

ID=49737473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101695174A Pending CN103454981A (en) 2012-05-29 2012-05-29 Embedded multiple master-slave Modbus controller

Country Status (1)

Country Link
CN (1) CN103454981A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580187A (en) * 2014-12-31 2015-04-29 厦门为那通信科技有限公司 Method for achieving interaction of external devices of different MODULEBUS protocols and server
CN107465576A (en) * 2017-08-23 2017-12-12 江苏舾普泰克自动化科技有限公司 A kind of more host communication system and methods based on Modbus agreements
CN111679611A (en) * 2020-06-24 2020-09-18 航天新长征大道科技有限公司 Modbus bus controller and control method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580187A (en) * 2014-12-31 2015-04-29 厦门为那通信科技有限公司 Method for achieving interaction of external devices of different MODULEBUS protocols and server
CN104580187B (en) * 2014-12-31 2018-09-04 厦门为那通信科技有限公司 A method of realizing that the external device of different MODULEBUS agreements is interacted with server
CN107465576A (en) * 2017-08-23 2017-12-12 江苏舾普泰克自动化科技有限公司 A kind of more host communication system and methods based on Modbus agreements
CN111679611A (en) * 2020-06-24 2020-09-18 航天新长征大道科技有限公司 Modbus bus controller and control method thereof

Similar Documents

Publication Publication Date Title
CN101262486B (en) Modbus bus analysis system based on built-in platform
CN105677556B (en) A kind of dispatching automation main station system method for testing software and its platform
CN105760241B (en) A kind of internal storage data deriving method and system
CN103279846A (en) Project acceptance method and system based on BIM model
CN105607998B (en) A kind of System and method for carrying out embedded software debugging by online mode
CN107124358A (en) A kind of 4G PROFIBUS embedded system gateway devices based on FPGA
CN105278906A (en) Programmable indicator
CN103454981A (en) Embedded multiple master-slave Modbus controller
CN101551774B (en) Software automatic test system
CN101145970B (en) System and method for online location of communication system device failures
CN102884515B (en) Serial ports re-orientation processes method, apparatus and system
CN105373398A (en) Whole cabinet server BMC IP batch setting method based on Xshell script
CN103164776A (en) Medicine tracing system, medicine tracing method and process monitoring method
CN101403919A (en) Locomotive touch display system
CN104750041B (en) Abnormality monitoring method and system in WinCE system
CN102135762B (en) Time trigger type real-time simulation control system
CN102854862B (en) Functional block with FF (foundation fieldbus) interface
CN202267950U (en) Remote upgrading device of embedded devices
CN112486877B (en) Outfield guarantee and test platform of generalized FC conversion interface module
CN205210679U (en) Motorcycle hand -held type diagnostic apparatus
CN103365266A (en) Agent-based distributed intelligent photoetching equipment
CN102622937A (en) Robot demonstrator
CN103246607B (en) The emulation test method of aerial camera address bit pattern communication interface
CN106713093A (en) Avionics data distribution model and method thereof
CN201345051Y (en) Touch sensitive display system for locomotive

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: JIANGSU LANSWON SYSTEM INTEGRATION CO., LTD.

Free format text: FORMER OWNER: SUZHOU HUIYUNDING INFORMATION SCIENCE + TECHNOLOGY CO., LTD.

Effective date: 20140613

C41 Transfer of patent application or patent right or utility model
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Huo Jianjun

Inventor after: Xia Chaobin

Inventor before: Huo Jianjun

Inventor before: Yang Jun

Inventor before: Xia Chaobin

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: HUO JIANJUN YANG JUN XIA CHAOBIN TO: HUO JIANJUN XIA CHAOBIN

Free format text: CORRECT: ADDRESS; FROM: 215000 SUZHOU, JIANGSU PROVINCE TO: 214125 WUXI, JIANGSU PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20140613

Address after: Xuelang Street Melia Binhu District in Jiangsu province 214125 Ze road Wuxi City No. 28 Software Science Park B District No. 7

Applicant after: Jiangsu LANSWON System Integrated Co., Ltd.

Address before: 239, building 12, building 5, Castle Peak Road, hi tech Zone, Jiangsu, Suzhou, 215000

Applicant before: Suzhou Huiyunding Information Science & Technology Co., Ltd.

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131218