CN102710478B - Integration slave node device of Profibus-DP (profibus-data processing) and Modbus - Google Patents

Integration slave node device of Profibus-DP (profibus-data processing) and Modbus Download PDF

Info

Publication number
CN102710478B
CN102710478B CN201210159655.4A CN201210159655A CN102710478B CN 102710478 B CN102710478 B CN 102710478B CN 201210159655 A CN201210159655 A CN 201210159655A CN 102710478 B CN102710478 B CN 102710478B
Authority
CN
China
Prior art keywords
microprocessor
circuit
profibus
protocol
modbus
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 - Fee Related
Application number
CN201210159655.4A
Other languages
Chinese (zh)
Other versions
CN102710478A (en
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.)
Tianjin University of Technology
Original Assignee
Tianjin University of Technology
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 Tianjin University of Technology filed Critical Tianjin University of Technology
Priority to CN201210159655.4A priority Critical patent/CN102710478B/en
Publication of CN102710478A publication Critical patent/CN102710478A/en
Application granted granted Critical
Publication of CN102710478B publication Critical patent/CN102710478B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides an integration slave node device of Profibus-DP (profibus-data processing) and Modbus. The integration slave node device comprises a protocol processing and communication interface unit and a protocol switchover and RS-485 interface unit, wherein the protocol processing and communication interface unit is based on a microprocessor STC90C51RD+, and is used for processing complete communication protocols of Profibus-DP and Modbus, setting a node number of SPC3 (communication protocol chip 3), accomplishing the data communication between the microprocessor and external equipment, and providing a power supply for the whole device; and a SPC3 protocol chip accomplishes the process to the Profibus-DP communication protocol; a slave station protocol switchover circuit accomplishing device switches between the two protocols; and the power supply at the RS485 interface driving side is isolated from the power supply of a master device by an optical coupler isolating circuit. The slave node communication device provided by the invention has a good generality; when any one of the field buses such as the Profibus-DP or the Modbus is selected for industrial network control, the field equipment such as a frequency converter, a sensor, a PLC (programmable logic controller) and the like can be accessed into a field bus control system conveniently through the device.

Description

Profibus-DP and Modbus is integrated from node apparatus
Technical field
The present invention relates to industrial network communication technical field, particularly relate to Profibus-DP and Modbus two kinds of industrial field bus integrated technologies from node apparatus.
Background technology
The industrial network communications field is the focus of research both at home and abroad always, Profibus-DP and and the development of Modbus field bus technique also quite ripe, all define respective standard communication protocol specification.
At present, the occupation rate of PROFIBUS in China's fieldbus market is more than more than 30%, and in various fieldbus, occupy first, application covers the multiple industries such as automobile making, weaving, papermaking, traffic signal system, food, chemical industry and electric power.PROFIBUS is global most widely used field bus system at present, PLC product and the automation equipment product of whole world most manufacturers all provide PROFIBUS communication interface, and this is comprising various transducer, transmitter, pneumatic operated valve, electromagnetically operated valve and relay etc.By 2005, existing upper hundred enterprises (as Siemens, AEG, ABB, WOODHEAD company etc.) in the whole world add PROFIBUS tissue, the product developed reaches kind more than 2500, has had and has been successfully applied to industrial automation more than 10,000,000 PROFIBUS bus network nodes.
MODBUS is developed by Modicon company at first, and at the end of 1979, the said firm becomes a part for Schneider automation department, and present MODBUS has been the most popular agreement in the industrial circle whole world.This agreement supports traditional RS-232, RS-422, RS-485 and ethernet device.Many industrial equipments, comprise PLC, DCS, and intelligent instrument etc. are all using MODBUS agreement as the communication standard between them.
At present, in order to industrial equipment is accessed a kind of industrial field bus, traditional method be by a slave station meeting this bus standard by this equipment connection on industrial field bus, for the industrial field bus of various criterion, just need different from node apparatus, this uses the enterprise of multiple fieldbus to need purchase multiple from node apparatus with regard to causing those, causes the raising of cost, is also not easy among industrial equipment access fieldbus.
Summary of the invention
The present invention seeks to solve prior art and need the different problem from node apparatus for the industrial field bus of various criterion, there is provided a kind of Profibus-DP and Modbus integrated from node apparatus, by this device, can make user easily by its equipment access on Profibus-DP or Modbus fieldbus, and non-usage two different complete the interconnected of industrial equipment and fieldbus from node apparatus.This device facilitates technical staff to install, highly versatile, has great practical significance.
Profibus-DP and Modbus provided by the invention is integrated from node apparatus, forms by based on the protocol processes of microprocessor STC90C51RD+ and communications interface unit and protocol switching and RS-485 interface unit;
The described protocol processes based on microprocessor STC90C51RD+ and communications interface unit, for the treatment of the communication protocol that Profibus-DP and Modbus is complete, include:
Based on protocol processes and the communications interface unit of microprocessor STC90C51RD+, for the treatment of the communication protocol that Profibus-DP and Modbus is complete, include:
Microprocessor, for carrying out initial configuration and its user program of process to the Communication protocol chip SPC3 of Profibus-DP bus, process complete Modbus communication protocol, completed and the communicating of external equipment by external data Fabric Interface circuit, receive the tributary address number that toggle switch circuit is arranged;
External data Fabric Interface circuit, for whole device provides power supply, realizes being bi-directionally connected of microprocessor and external equipment by being bi-directionally connected with microprocessor;
Power circuit, be connected with external data Fabric Interface circuit, by external equipment for power circuit provides 5V power supply, power circuit is connected with microprocessor simultaneously, again by isolated from power chip, be respectively main device and RS485 interface driver side provides stable 5V power supply;
Toggle switch circuit, is bi-directionally connected with microprocessor, for arranging the node number of SPC3;
SPC3 communication protocol chip, and microprocessor is bi-directionally connected, inside is integrated with the communication protocol of whole Profibus-DP data link layer, is configured and data management SPC3 by microprocessor, completes the proper communication with Profibus-DP main website;
Described protocol switching and RS-485 interface unit, include slave station protocol commutation circuit and light-coupled isolation and RS-485 interface driving circuit.
Slave station protocol commutation circuit, be bi-directionally connected with based on the microprocessor in the protocol processes of microprocessor STC90C51RD+ and communications interface unit, finishing device switches between two agreements;
Slave station protocol commutation circuit, is made up of tri-state gate circuit and wire jumper circuit; Wire jumper circuit on one side is connected with 5V power supply, the other end is connected with an I/O mouth of microprocessor through current-limiting resistance, the low and high level state of this I/O mouth is judged by program, when this I/O mouth is high level, program jumps into industrial process bus DP main program, performs industrial process bus DP from nodal function, when this I/O mouth is low level, program jumps into Modbus main program, performs Modbus from nodal function; Reading and writing and the transmission of microprocessor are controlled pin and were both connected by SPC3 and RS-485 interface, the holding wire of reading and writing simultaneously is also connected with RS-485 interface through tri-state gate circuit, when device as Profibus-DP from node time, tri-state gate circuit is in high-impedance state, the read and write pin of microprocessor and SPC3 are bi-directionally connected, when device as Modbus from node time, tri-state gate circuit conducting, directly and RS-485 interface circuit two-way admittance, SPC3 is not selected for the read and write pin of microprocessor.
Light-coupled isolation and RS-485 interface driving circuit, inner and slave station protocol commutation circuit is bi-directionally connected, and be bi-directionally connected with based on the SPC3 communication protocol chip in the protocol processes of microprocessor STC90C51RD+ and communications interface unit, outside and Profibus-DP and Modbus industrial field bus is bi-directionally connected, on the one hand the power supply of RS-485 interface driver side and the isolated from power of main device are opened, Profibus-DP or Modbus field bus control system can easily be accessed on the other hand.
Light-coupled isolation and RS-485 interface driving circuit are made up of optical coupling isolation circuit and RS-485 interface driving circuit;
Optical coupling isolation circuit, is kept apart the main body circuit of this device and RS-485 interface driving circuit by light-coupled isolation chip, to eliminate the interference of slave station equipment to bus signals, improves signal quality;
RS-485 interface driving circuit, makes integratedly can easily access Profibus-DP or Modbus field bus control system from node module by RS-485 interface.
Described toggle switch circuit comprises eight toggle switchs and tri-state bidirectional bus transceiver 74LS245, wherein 74LS245 side bus is connected with toggle switch, opposite side bus is connected with the P0 mouth of microprocessor, is set Profibus-DP protocol slave station address number by toggle switch.
Described external data Fabric Interface circuit comprises the 2mm standard connector of address latch 74HC573, dual port RAM and IDT7130 and 14 × 2; A dual port RAM chip has two and overlaps independently address, data and control line, allow two CPU to carry out randomness access to this memory chip simultaneously, as the shared data storage of microprocessor and external equipment, for exchanging the data between microprocessor and external equipment, two overlap independently logic control line guarantees the correctness of two single-chip microcomputers to its same unit read-write operation, solves port contention problem; The right side address bus of dual port RAM and control bus and microprocessor is unidirectional is connected, address and logic control signal is provided by microprocessor, the right side data/address bus of dual port RAM and microprocessor are bi-directionally connected, dual port RAM left data, address and control bus are connected on interface circuit, provide address, data and logic control signal by external equipment; Patch device by the standard of the spacing 2.0mm of a group 14 × 2, itself and dual port RAM left data, address and logic control bus are bi-directionally connected, facilitate the access of external equipment.
Described power circuit comprises a slice isolated from power chip ADUM5000, the external power source pin VDD1 of this chip is connected on interface circuit, general supply is provided by external equipment, the exportable new 5V power supply of this chip outlet side pin VISO, for RS-485 interface driving circuit side powers, realize the isolated from power of the power supply of main device side and RS-485 interface driving circuit side to open by isolated from power chip ADUM5000.
Advantage of the present invention and beneficial effect:
From above technical scheme provided by the invention, compared with prior art, the invention provides a kind of integrate Profibus-DP and Modbus agreement from node apparatus, its have integrated two kinds of fieldbus from nodal function, by this device, easily industrial equipment can be linked on Profibus-DP or Modbus industrial field bus, there is great practical significance.
Accompanying drawing explanation
Fig. 1 is the integrated overall construction drawing from node apparatus of Profibus-DP and Modbus;
Fig. 2 is microcontroller circuit figure;
Fig. 3 and Fig. 4 is external data Fabric Interface circuit;
Fig. 5 is the power isolation circuit figure of device;
Fig. 6 is the circuit diagram of toggle switch;
Fig. 7 is the circuit diagram of Profibus-DP and protocol processes chip SPC3;
Fig. 8 is working state indicating circuit figure;
Fig. 9 is protocol switching circuit diagram;
Figure 10 is light-coupled isolation and RS-485 interface driving circuit figure.
In order to make those skilled in the art person understand the present invention program better, below in conjunction with drawings and embodiments, the present invention will be described.
Embodiment
Fig. 1 is the integrated overall construction drawing from node apparatus of Profibus-DP and MODBUS, and this device comprises based on the protocol processes of microprocessor STC90C51RD+ and communications interface unit 101 and protocol switching and RS-485 interface unit 102, wherein:
Based on protocol processes and the communications interface unit 101 of microprocessor STC90C51RD+, for the treatment of the communication protocol that Profibus-DP and Modbus is complete, the node number of SPC3 is set, complete the data communication of microprocessor and external equipment, for whole device provides power supply, SPC3 protocol chip completes the process to Profibus-DP communication protocol;
Protocol switching and RS-485 interface unit 102, be connected with communications interface unit 101 with protocol processes, switches between two agreements for finishing device, the message of protocol processing unit 101 is sent to main website simultaneously, receives the message from main website;
The described protocol processes based on microprocessor STC90C51RD+ and communications interface unit 101 include:
Microprocessor 1011, see Fig. 2, for carrying out initial configuration and its user program of process to the Communication protocol chip SPC3 1016 of Profibus-DP bus, process complete Modbus communication protocol, completed and the communicating of external equipment by external data Fabric Interface circuit 1013, receive the tributary address number that toggle switch circuit 1012 is arranged;
In specific implementation, described microprocessor 1011 receives the field data collected by external data Fabric Interface circuit 1013, then these data transaction are become to meet the message of standard for Fieldbus by microprocessor, are sent to industrial bus through light-coupled isolation and RS485 interface driving circuit 1022.In addition, the main website order sended over from RS-485 interface is also obtained;
It should be noted that, this device as Profibus-DP from node time, after an initial power up, the state of all parameters all needs an initial value to microprocessor, could enter normal operating conditions in an initial state like this.When microcontroller is started working, relevant parameter such as node address, communication baud rate, timer initially need be remembered the write such as parameter, communication data configuration parameter microcontroller, therefore to relevant parameter be written in SPC3 1016 register by assignment statement, thus complete initialization, then device enters Message processing link.Equally, during as Modbus from node, to the initiation parameter set be write in the register of microprocessor 1011, after initialization success, the message that microprocessor will be sent in Modbus main website is packed, make it meet Modbus Communications Protocol Specification, after being resolved by the message that Modbus main website sends over, be sent to user interface simultaneously;
External data Fabric Interface circuit 1013, see Fig. 3, 4, comprising a dual port RAM model is IDT7130, the 2mm standard connector of address latch 74HC573 and 14 × 2, the address, left side of dual port RAM, data and logic control signal are connected on connector, leave user for use, in concrete connection, as shown in Figure 6, 1 and 28 pins of connector are respectively device provides power supply (VCC) and ground (GND), 2-9 pin is connected with dual port RAM left end data wire I/O [7:0] R successively, with external equipment swap data, 10-19 pin is connected with address bus A [10:0] R on the left of dual port RAM successively, address gating signal is provided to provide address signal logic for dual port RAM by external equipment, patch device 20 pin connects dual port RAM left end INTR to 24 pin, BUSYR, OER, R/WR, CER pin, logic control is provided to dual port RAM by external equipment, patch device 26 pin and 27 pins are serial port data pin, be connected with TXD and the RXD pin of microprocessor 1011, carry out serial communication swap data in order to communication interface and PC and carry out download program.Right side address bus is by address latch and the unidirectional connection of microprocessor, and right side data/address bus is connected with microprocessor two-phase, is provided the logic control signal on right side by microprocessor;
Power circuit 1014, see Fig. 5, comprise a slice isolated from power chip ADUM5000, external power source pin VDD1 and VDD2 of this chip is connected on interface circuit, jointly power supply is provided by external equipment with main device, it is that RS485 driving side is powered that this chip outlet side pin VISO can generate a 5V power supply automatically, the effect that the power supply that can realize main device and RS485 driving interface is like this isolated mutually.In every sheet chip power pins of this device, connect the electrochemical capacitor of a slice 10uF, the minus earth of electrochemical capacitor, can filter out the interference signal in 5V power supply like this, for every sheet chip provides stable voltage simultaneously;
Toggle switch circuit 1012, see Fig. 6, is bi-directionally connected with microprocessor 1011, for arranging the node address number of SPC3 interface unit;
SPC3 1016, see Fig. 7, and microprocessor 1011 is bi-directionally connected, and inside is integrated with the communication protocol of whole Profibus-DP data link layer, is configured and data management SPC3 by microprocessor, completes the proper communication with Profibus-DP main website;
It should be noted that the concrete communication mode between SPC3 1016 and Profibus-DP industrial control network is: described SPC3 receives the message from Profibus-DP main website, and after message is resolved, be sent to microprocessor 1011, the data obtained from microprocessor are carried out being packaged into the message meeting Profibus-DP protocol specification simultaneously, be sent in Profibus-DP main website;
Indicating circuit 1015, see Fig. 8, three unidirectional connections of I/O mouth of three light-emitting diodes and microprocessor, for the operating state of real-time displaying device, microprocessor 1011, by the different operating state of judgment means, makes indicator light show different signals;
It should be noted that, the anode of 3 light-emitting diodes is connected with power supply 5V voltage, the negative electrode of 3 light-emitting diodes is by P1.5, P1.6 and P1.7 tri-unidirectional connections of I/O mouth of current-limiting resistance and microprocessor 1011, when these three I/O are low level, namely corresponding light-emitting diode is lit, and initialization result, network connection etc. can be reflected to indicating circuit 1015 by microprocessor
In the present invention, protocol switching and RS-485 interface unit 102 include:
Slave station protocol commutation circuit 1021, see Fig. 9, is made up of tri-state gate circuit and wire jumper circuit.Wire jumper circuit on one side is connected with 5V power supply, the other end is connected with the P4.0 mouth of microprocessor 1011 through current-limiting resistance, the low and high level state of P4.0 mouth is judged by program, when P4.0 mouth is high level, program jumps into Profibus-DP main program, performs Profibus-DP from nodal function, when P4.0 mouth is low level, program jumps into Modbus main program, performs Modbus from nodal function.Reading and writing and the transmission of microprocessor 1011 are controlled pin and were both connected with light-coupled isolation and RS-485 interface driving circuit 1022 by SPC3 1016, also be connected with light-coupled isolation and RS-485 interface driving circuit 1022 through tri-state gate circuit, when device as Profibus-DP from node time, tri-state gate circuit is in high-impedance state, and the reading and writing of microprocessor and transmission control pin and SPC3 1016 is bi-directionally connected.When device as Modbus from node time, tri-state gate circuit conducting, the reading and writing of microprocessor and sending control pin directly and light-coupled isolation and RS485 interface driving circuit circuit 1022 be bi-directionally connected, SPC3 is not selected;
Wire jumper circuit is embodied by single-pole double-throw switch (SPDT), when wire jumper switches to 5V power supply, P4.0 mouth is through current-limiting resistance R1 input high level, and module switches to Profibus-DP from nodal function, and now P1.0 mouth exports high level, tristate buffer 74HC244 is in high-impedance state, when wire jumper switch to (GND) time, P4.0 mouth input low level, module switches to Modbus from nodal function, P1.0 mouth output low level, tristate buffer 74HC244 is in conducting state.
Light-coupled isolation and RS-485 interface driving circuit 1022, as shown in Figure 10, be bi-directionally connected with protocol chip SPC31016 and protocol switching circuit 1021, microprocessor 1011(as Modbus from node time) or SPC3(as Profibus-DP from node time) serial interface close up, serial send mouth and request send mouth link together through light-coupled isolation chip HCPL0601 and HCPL7721 and RS485 interface, thus reach signal isolate effect.Integratedly can easily access Profibus-DP or Modbus field bus control system from node module by RS485 interface.
In specific implementation, Profibus-DP and Modbus provided by the invention is integrated from node apparatus, after device powers on, under the program judgment means first in microprocessor is set at the mode of operation of which kind of fieldbus.Device is according to the correspondence arranged from nodal function, and enter different execution links, detailed process is as follows:
When device is switched to Profibus-DP slave station function, first microprocessor 1011 will carry out initialization to SPC3, comprise successively setting SPC3 register variable title, setting house dog value, setting SPC3 address, set each buffer length, setting supplementary buffer length and sector address, configuration is set and reads configuration buffer length, obtain input block pointer, obtain diagnosis buffer pointer, the enable and initialization of SPC3 work terminates.After above initial work completes, initialization result shows by indicating circuit 1015, then Profibus-DP configuration, configuration is carried out, again by after Profibus-DP bus configuration, configuration, node has just connected Profibus-DP bus, SPC3 enters the Message processing stage, SPC3 receives the message from Profibus-DP main website, and after message is resolved, be sent to microprocessor 1011, microprocessor sends data to external equipment through external data switched circuit and interface circuit again; The external data obtained from microprocessor is carried out being packaged into the message meeting Profibus-DP protocol specification simultaneously, be sent to Profibus-DP main website through RS485 interface, so just enter unlimited message switching state.
When device is switched to Modbus from node, first program enters initial phase, mainly comprises setting I/O and supplemental characteristic size, house dog configure, from node address number, the number of input/output switching amount and the number etc. of input and output analog quantity.After initialization completes, slave station starts the request command receiving main website, then resolve command, parsed request command is sent to external equipment and wait-for-response information, slave station meets with a response after information, response message packed and is sent to main website, so far having entered infinite data swap status.
Simultaneously this device on a slice microprocessor 1011, is integrated with two kinds from nodal function, on software simulating, by two are transplanted to microprocessor from station code, two separate from station code, when needing switching namely to switch from nodal function the code run in the microprocessor, realized the switching of microprocessor internal code by a boot.User interface provides the connector of 14 × 2 of standard for user, facilitate the quick access of subscriber equipment.
The invention described above device is integrated from node apparatus, use the invention described above provide from node apparatus, can easily by industrial equipment if the equipment access such as frequency converter, transducer and PLC are in Profibus-DP or Modbus main website, and do not need to select for dissimilar industrial bus different from node device.
In sum, compared with prior art, the invention provides a kind of Profibus-DP and Modbus integrated from node apparatus.By switching, this device both can use from node as Profibus-DP, also can use from node as Modbus, had protocol switching flexible, facilitated the advantages such as external equipment access.This installation cost is cheap, is easy to use, and has great practical significance.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (6)

1. Profibus-DP and Modbus is integrated from a node apparatus, it is characterized in that this device is formed by based on the protocol processes of microprocessor STC90C51RD+ and communications interface unit and protocol switching and RS-485 interface unit;
Based on protocol processes and the communications interface unit of microprocessor STC90C51RD+, for the treatment of the communication protocol that Profibus-DP and Modbus is complete, include:
Microprocessor, for carrying out initial configuration and its user program of process to the Communication protocol chip SPC3 of Profibus-DP bus, process complete Modbus communication protocol, completed and the communicating of external equipment by external data Fabric Interface circuit, receive the tributary address number that toggle switch circuit is arranged;
External data Fabric Interface circuit, for whole device provides power supply, realizes being bi-directionally connected of microprocessor and external equipment by being bi-directionally connected with microprocessor;
Power circuit, be connected with external data Fabric Interface circuit, by external equipment for power circuit provides 5V power supply, power circuit is connected with microprocessor simultaneously, again by isolated from power chip, be respectively main device and RS485 interface driver side provides stable 5V power supply;
Toggle switch circuit, is bi-directionally connected with microprocessor, for arranging the node number of SPC3;
SPC3 communication protocol chip, and microprocessor is bi-directionally connected, inside is integrated with the communication protocol of whole Profibus-DP data link layer, is configured and data management SPC3 by microprocessor, completes the proper communication with Profibus-DP main website;
Protocol switching and RS-485 interface unit, include:
Slave station protocol commutation circuit, be bi-directionally connected with based on the microprocessor in the protocol processes of microprocessor STC90C51RD+ and communications interface unit, finishing device switches between two agreements; Described slave station protocol commutation circuit, is made up of tri-state gate circuit and wire jumper circuit; Wire jumper circuit on one side is connected with 5V power supply, the other end is connected with an I/O mouth of microprocessor through current-limiting resistance, the low and high level state of this I/O mouth is judged by program, when this I/O mouth is high level, program jumps into Profibus-DP main program, performs Profibus-DP from nodal function, when this I/O mouth is low level, program jumps into Modbus main program, performs Modbus from nodal function; Reading and writing and the transmission of microprocessor are controlled pin and were both connected by SPC3 and RS-485 interface, the holding wire of reading and writing simultaneously is also connected with RS-485 interface through tri-state gate circuit, when device as Profibus-DP from node time, tri-state gate circuit is in high-impedance state, the read and write pin of microprocessor and SPC3 are bi-directionally connected, when device as Modbus from node time, tri-state gate circuit conducting, directly and RS-485 interface circuit two-way admittance, SPC3 is not selected for the read and write pin of microprocessor;
Light-coupled isolation and RS-485 interface driving circuit, inner and slave station protocol commutation circuit is bi-directionally connected, and be bi-directionally connected with based on the SPC3 communication protocol chip in the protocol processes of microprocessor STC90C51RD+ and communications interface unit, outside and Profibus-DP and Modbus industrial field bus is bi-directionally connected, on the one hand the power supply of RS-485 interface driver side and the isolated from power of main device are opened, Profibus-DP or Modbus field bus control system can easily be accessed on the other hand.
2. device as claimed in claim 1, is characterized in that the described protocol processes based on microprocessor STC90C51RD+ and communications interface unit also comprise indicating circuit; Indicating circuit is connected with microprocessor, and by indicating circuit display Profibus-DP and the Modbus integrated operating state from node apparatus, when this device operation irregularity, indicating circuit shows abnormality signal, get rid of abnormal after, indication signal is normal.
3. device as claimed in claim 1 or 2, it is characterized in that described toggle switch circuit comprises eight toggle switchs and tri-state bidirectional bus transceiver 74LS245, wherein 74LS245 side bus is connected with toggle switch, opposite side bus is connected with the P0 mouth of microprocessor, is set Profibus-DP protocol slave station address number by toggle switch.
4. device as claimed in claim 1 or 2, is characterized in that described external data Fabric Interface circuit comprises the 2mm standard connector of address latch 74HC573, dual port RAM and IDT7130 and 14 × 2; A dual port RAM chip has two and overlaps independently address, data and control line, allow two CPU to carry out randomness access to this memory chip simultaneously, as the shared data storage of microprocessor and external equipment, for exchanging the data between microprocessor and external equipment, two overlap independently logic control line guarantees the correctness of two single-chip microcomputers to its same unit read-write operation, solves port contention problem; The right side address bus of dual port RAM and control bus and microprocessor is unidirectional is connected, address and logic control signal is provided by microprocessor, the right side data/address bus of dual port RAM and microprocessor are bi-directionally connected, dual port RAM left data, address and control bus are connected on interface circuit, provide address, data and logic control signal by external equipment; Patch device by the standard of the spacing 2.0mm of a group 14 × 2, itself and dual port RAM left data, address and logic control bus are bi-directionally connected, facilitate the access of external equipment.
5. device as claimed in claim 1 or 2, it is characterized in that described power circuit comprises a slice isolated from power chip ADUM5000, the external power source pin VDD1 of this chip is connected on external data Fabric Interface circuit, general supply is provided by external equipment, this chip outlet side pin VISO exports a new 5V power supply, for RS-485 interface driving circuit side powers, realize the isolated from power of the power supply of main device side and RS-485 interface driving circuit side to open by isolated from power chip ADUM5000.
6. device as claimed in claim 1 or 2, is characterized in that described light-coupled isolation and RS-485 interface driving circuit are made up of optical coupling isolation circuit and RS-485 interface driving circuit, wherein:
Optical coupling isolation circuit, is kept apart the main body circuit of this device and RS-485 interface driving circuit by light-coupled isolation chip, to eliminate the interference of slave station equipment to bus signals, improves signal quality;
RS-485 interface driving circuit, makes integratedly can easily access Profibus-DP or Modbus field bus control system from node module by RS-485 interface.
CN201210159655.4A 2012-05-22 2012-05-22 Integration slave node device of Profibus-DP (profibus-data processing) and Modbus Expired - Fee Related CN102710478B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210159655.4A CN102710478B (en) 2012-05-22 2012-05-22 Integration slave node device of Profibus-DP (profibus-data processing) and Modbus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210159655.4A CN102710478B (en) 2012-05-22 2012-05-22 Integration slave node device of Profibus-DP (profibus-data processing) and Modbus

Publications (2)

Publication Number Publication Date
CN102710478A CN102710478A (en) 2012-10-03
CN102710478B true CN102710478B (en) 2015-06-03

Family

ID=46903048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210159655.4A Expired - Fee Related CN102710478B (en) 2012-05-22 2012-05-22 Integration slave node device of Profibus-DP (profibus-data processing) and Modbus

Country Status (1)

Country Link
CN (1) CN102710478B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103293995B (en) * 2013-06-09 2016-01-20 南车株洲电力机车研究所有限公司 Based on the fieldbus communications module of microcontroller
CN105207868B (en) * 2014-06-24 2019-01-04 中国科学院沈阳自动化研究所 A kind of PROFIBUS DP communication module
CN104410600B (en) * 2014-08-06 2017-05-24 内蒙古科技大学 Control network multi-protocol data converting device
CN104898311B (en) * 2015-06-10 2019-03-19 武汉华星光电技术有限公司 A kind of chip, liquid crystal display panel and false pressure test method
CN105512066B (en) * 2015-11-24 2018-11-20 长沙奥托自动化技术有限公司 Soft starter communication protocol conversion device and method based on profibus
CN105988411A (en) * 2016-04-28 2016-10-05 华电重工股份有限公司 DP intelligent module and PLC control system and method
CN105911468A (en) * 2016-04-28 2016-08-31 北京中水科水电科技开发有限公司 Uniform accessing apparatus for onsite test parameters for waterpower set
CN106227100A (en) * 2016-08-26 2016-12-14 华创天元实业发展有限责任公司 A kind of frequency converter control system for the in good time communication of steel skeleton composite production line
CN106444501A (en) * 2016-09-26 2017-02-22 宋正刚 Programmable Profibus bus bridge and remote measurement and control module
CN106789183A (en) * 2016-12-03 2017-05-31 易泰帝传动技术(烟台)有限公司 It is a kind of to communicate the method that configuration data is parsed automatically
CN107682467A (en) * 2017-10-01 2018-02-09 北京迪利科技有限公司 A kind of bus address distribution that communication is realized by powering step by step is with knowing method for distinguishing
CN109960183B (en) * 2017-12-22 2020-10-23 合肥欣奕华智能机器有限公司 Distributed control system and robot equipment
CN112487749B (en) * 2020-11-23 2023-04-25 河北金士顿科技有限责任公司 Profibus-DP and Modbus integrated slave station device based on singlechip

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753407A (en) * 2005-10-20 2006-03-29 上海电器科学研究所(集团)有限公司 Communication adapter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753407A (en) * 2005-10-20 2006-03-29 上海电器科学研究所(集团)有限公司 Communication adapter

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
史宝库,等.一种低成本的Profibus与Modbus转换接口的设计.《中国仪器仪表》.2011,90-93. *
赵小国,等.基于SPC3的MODBUS-PROFIBUS总线桥的设计.《仪表技术与传感器》.2010,63-65,86. *

Also Published As

Publication number Publication date
CN102710478A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN102710478B (en) Integration slave node device of Profibus-DP (profibus-data processing) and Modbus
CN104734980B (en) Industrial field bus MPR and multi protocol conversion method
CN103095537B (en) Numerical control device capable of concurrently controlling two-class industrial Ethernet bus slave station equipment
CN101345629B (en) Double on-site bus interface converter
CN203054557U (en) A position sensor interface servo control device supporting multiple sensor communication protocols
CN102231718B (en) Gateway of communication between Ethernet for control and automation technology (EtherCAT) and CAN, and communication method thereof
CN105939253A (en) Industrial wireless gateway device and protocol conversion method thereof
CN100524122C (en) Bus controller for numerical control system of full digital ring bus
CN104765321A (en) Motion controller being compatible with various field bus protocols
CN101132328A (en) Real-time industry Ethernet EtherCAT communication controller
CN104410600B (en) Control network multi-protocol data converting device
CN100504688C (en) Private chip for implementing bus controller function in ring bus numerical control system
CN103901814B (en) A kind of multiaxial motion digital control system
CN102291337B (en) Gateway for switching communication based on EtherCAT (Ethernet for Control and Automation Technology) protocol and Profibus-DP (Process Field Bus-Decentralized Periphery) protocol and communication method thereof
CN101013315A (en) General numerical control system based on full digital ring bus
CN204481848U (en) Industrial field bus MPR
CN104238517A (en) PROFIBUS-DPV1 main communication station and method
CN104678918B (en) CANOPEN main control devices and control method based on PC104 buses
CN102724090A (en) Process field bus (PROFIBUS) DP/PA integrated embedded slave node communication device based on DP controller with integrated 8031 core (DPC31)
CN115982050A (en) Multifunctional test system and method for IO-Link master station
CN210380922U (en) Protocol conversion device and system
CN106773907A (en) A kind of Remote I/O Control System and its controller and I/O module
CN202168097U (en) Gateway for communication of EtherCAT and CAN
CN202383479U (en) Control system for numerical control machine tool
CN201000569Y (en) Special chip for realizing bus controller function in ring bus numerical control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150603

Termination date: 20160522

CF01 Termination of patent right due to non-payment of annual fee