CN109347884A - A kind of real-time ethernet is to the conversion method and device of fieldbus, storage medium - Google Patents
A kind of real-time ethernet is to the conversion method and device of fieldbus, storage medium Download PDFInfo
- Publication number
- CN109347884A CN109347884A CN201811480534.3A CN201811480534A CN109347884A CN 109347884 A CN109347884 A CN 109347884A CN 201811480534 A CN201811480534 A CN 201811480534A CN 109347884 A CN109347884 A CN 109347884A
- Authority
- CN
- China
- Prior art keywords
- real
- ethernet
- fieldbus
- time ethernet
- slave station
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Communication Control (AREA)
- Small-Scale Networks (AREA)
Abstract
This application discloses a kind of conversion method of real-time ethernet to fieldbus and devices, storage medium, described device includes ether net side communication module and bus side communication module, ether net side communication module is for starting real-time ethernet slave station protocol stack, the asynchronous transfer of data that real-time ethernet main website is sent is received, the configuration of real-time ethernet slave station and the read-write operation of the exclusive object of real-time ethernet application layer are completed;Bus side communication module parses the read-write operation of the exclusive object of real-time ethernet application layer, completes the configuration of fieldbus main website and fieldbus slave station for starting fieldbus master station protocol stack.The application completes the configuration of fieldbus main website and fieldbus slave station, so that the protocol conversion of real-time ethernet to fieldbus is more flexible by parsing in read-write operation of the bus side to the exclusive object of real-time ethernet application layer.
Description
Technical field
The present invention relates to, but not limited to technical field of automation in industry more particularly to a kind of real-time ethernets to fieldbus
Conversion method and device, storage medium.
Background technique
With industrial automation from low speed to high speed, from low precision to high-precision, from centerized fusion to distributed AC servo system
Development, transmission speed and data volume to fieldbus be proposed new requirement, industrial real-time ethernet comply with industry from
Dynamicization technical need is grown rapidly.POWERLINK is the real-time ethernet technology of an open source, is not necessarily to specific integrated circuit
(Application Specific Integrated Circuit, ASIC) chip, development cost are low;Based on standard ethernet,
Support the message transmission rate of 100,000,000/1000 Gigabits per seconds (Mbps);Support hardware platform diversification, performance is brilliant.These are excellent
Point determines that POWERLINK is a kind of work favored by terminal user and system integrator in existing industrial Ethernet technology
Industry real-time ethernet technology, has good development prospect.
Currently, the scene equipment level of industrial automation is still with fieldbus for most important communication mode, and short-term
It is inside not in the situation that Ethernet rules all the land.Program bus network (PROcess FIeld BUS, PROFIBUS) is that have
Broad field of application, open digital communication system is uniquely can to cover comprehensively factory automation and process automation is answered
Fieldbus, the upper leadership for occuping international market always is applied in bussing technique field and market at the scene.Therefore exist
In the application demand angle of industrial control field market, the association of realization POWERLINK real-time ethernet to PROFIBUS fieldbus
View conversion is extremely necessary and urgent.
Summary of the invention
The embodiment of the invention provides a kind of conversion method of real-time ethernet to fieldbus and device, storage medium,
Enable to real-time ethernet more flexible to the protocol conversion of fieldbus.
The technical solution of the embodiment of the present invention is achieved in that
The embodiment of the invention provides a kind of conversion equipments of real-time ethernet to fieldbus, including ether net side to communicate
Module and bus side communication module, in which:
Ether net side communication module receives real-time ethernet main website and sends for starting real-time ethernet slave station protocol stack
Asynchronous transfer of data, complete real-time ethernet slave station configuration and the exclusive object of real-time ethernet application layer read-write behaviour
Make;
Bus side communication module, it is exclusive to the real-time ethernet application layer for starting fieldbus master station protocol stack
The read-write operation of object is parsed, and the configuration of fieldbus main website and fieldbus slave station is completed.
In one embodiment, the exclusive object of real-time ethernet application layer is to pass through real-time ethernet Service Data Object
The bus side protocol data object of SDO description.
In one embodiment, the ether net side communication module includes Ethernet core and Ethernet logic conversion unit, institute
Stating bus side communication module includes total line core and bus logic converting unit, in which:
The Ethernet core includes the Ethernet protocol application layer list for realizing real-time ethernet slave station protocol application layer
Member, and the Ethernet protocol stack cell for realizing real-time ethernet slave station protocol stack;
The Ethernet logic conversion unit for realizing real-time ethernet slave station protocol data link layer and physical layer
The conversion logic of signal is handled;
Total line core includes the bus protocol application layer unit for realizing fieldbus master station protocol application layer, and
For realizing the bus protocol stack cell of Real-time Fieldbus master station protocol stack;
The bus logic converting unit for realizing fieldbus master station protocol data link layer and physical layer signal
Conversion logic processing;
Between the Ethernet core and the Ethernet logic conversion unit, total line core and the bus logic conversion
Pass through shared drive respectively between unit, between the Ethernet protocol application layer unit and the bus protocol application layer unit
Interaction data.
In an example of the embodiment, the Ethernet protocol application layer unit includes protocol stack scheduling manager, answers
With layer event call-back processor, input and output IO copy actuator and mailbox task performer, in which:
The protocol stack scheduling manager, for completing the processing of real-time ethernet slave station protocol stack state and event;
The application-layer events callback processor, for the SDO read-write operation according to the Ethernet protocol stack cell, note
Record the aperiodic data transmission message task of mailbox;
The IO copies actuator, for completing the process data between the Ethernet protocol stack cell and shared drive
The interaction process of object PDO;
The mailbox task performer, for executing the read-write operation of the exclusive object of real-time ethernet application layer.
In an example of the embodiment, the Ethernet protocol stack cell includes protocol stack network manager, link layer
Task processor and SDO reading and writing data manager, in which:
The protocol stack network manager, for starting and detecting real-time ethernet slave station protocol stack link layer state machines
It jumps, corresponding protocol parameter setting is completed under each state;
The link layer task processor is realized for completing the Ethernet core and the Ethernet logic conversion unit
Data link layer between transmission and response message processing;
The SDO reading and writing data manager, for handling the SDO reading and writing data task of real-time ethernet slave station protocol.
In an example of the embodiment, the bus protocol application layer unit includes mailbox task parsing actuator, matches
Set parameter manager and data copy actuator, in which:
The mailbox task parses actuator, for the read-write operation to the exclusive object of real-time ethernet application layer into
Row is parsed and is executed;
The configuration parameter manager, parses for the configuration parameter set to the fieldbus master station protocol received
And management;
The data copy actuator, for completing the process data between the bus protocol stack cell and shared drive
The interaction process of object PDO.
In an example of the embodiment, the bus protocol stack cell includes slave station state supervisor and link layer process
Device, in which:
The slave station state supervisor, for completing the scheduling and management of fieldbus networks slave station state machine;
The link layer processor, for completing the data-link of total line core and bus logic converting unit realization
Transmission and response message processing between the floor of road.
In an example of the embodiment, the Ethernet core and total line core are double-core central processor CPU, described
Ethernet logic conversion unit and the bus logic converting unit are realized based on on-site programmable gate array FPGA.
The embodiment of the invention also provides a kind of conversion methods of real-time ethernet to fieldbus, comprising:
Receive real-time ethernet main website send asynchronous transfer of data, complete real-time ethernet slave station configuration and in real time
The read-write operation of the exclusive object of Ethernet application layer;
The read-write operation of the exclusive object of real-time ethernet application layer is parsed, fieldbus main website is completed and is showed
The configuration of field bus slave station.
The embodiment of the invention also provides a kind of storage medium, the storage medium is stored with one or more program,
One or more of programs can be executed by one or more processor, to realize that real-time ethernet as described above arrives
The step of conversion method of fieldbus.
The embodiment of the invention also provides a kind of conversion equipment of real-time ethernet to fieldbus, including processor and deposit
Reservoir, in which:
The processor is for executing the program stored in memory, to realize real-time ethernet as described above to now
The step of conversion method of field bus.
The technical solution of the embodiment of the present invention, has the following beneficial effects:
Real-time ethernet provided in an embodiment of the present invention passes through to the conversion method and device of fieldbus, storage medium
It is parsed in read-write operation of the bus side to the exclusive object of real-time ethernet application layer, completes fieldbus main website and scene is total
The configuration of line slave station, so that the protocol conversion of real-time ethernet to fieldbus is more flexible.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 be the embodiment of the present invention a kind of real-time ethernet to fieldbus conversion equipment structural schematic diagram;
Fig. 2 be the embodiment of the present invention another real-time ethernet to fieldbus conversion equipment structural schematic diagram;
Fig. 3 be the embodiment of the present invention a kind of real-time ethernet to fieldbus conversion method flow diagram;
Fig. 4 be the embodiment of the present invention another real-time ethernet to fieldbus conversion equipment structural schematic diagram;
Fig. 5 be the embodiment of the present invention another real-time ethernet to fieldbus conversion method flow diagram.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature can mutual any combination.
As shown in Figure 1, a kind of conversion equipment 10 of the real-time ethernet according to an embodiment of the present invention to fieldbus, including
Ether net side communication module 101 and bus side communication module 102, in which:
Ether net side communication module 101 receives real-time ethernet main website hair for starting real-time ethernet slave station protocol stack
The asynchronous transfer of data sent completes the configuration of real-time ethernet slave station and the read-write behaviour of the exclusive object of real-time ethernet application layer
Make;
Bus side communication module 102, it is special to the real-time ethernet application layer for starting fieldbus master station protocol stack
The read-write operation for belonging to object is parsed, and the configuration of fieldbus main website and fieldbus slave station is completed.
In one embodiment of this invention, the exclusive object of real-time ethernet application layer is to pass through real-time ethernet service
The bus side protocol data object of data object (Service Data Objects, SDO) description.
The application describes bus side protocol data object by using real-time ethernet Service Data Object SDO, and in reality
When Ethernet the asynchronous transmission stage, this class object is handed down to the fieldbus networks equipment of lower layer, so that real-time ethernet
Protocol conversion to fieldbus is more flexible.
In one embodiment of this invention, the real-time ethernet is POWERLINK network.
In one embodiment of this invention, the fieldbus is PROFIBUS.
In one embodiment of this invention, as shown in Fig. 2, the ether net side communication module 101 includes Ethernet core
1011 and Ethernet logic conversion unit 1012, the bus side communication module 102 includes that total line core 1021 and bus logic turn
Change unit 1022, in which:
The Ethernet core 1011 includes for realizing the Ethernet protocol application of real-time ethernet slave station protocol application layer
Layer unit 10111, and the Ethernet protocol stack cell 10112 for realizing real-time ethernet slave station protocol stack;
The Ethernet logic conversion unit 1012 for realizing real-time ethernet slave station protocol data link layer and object
Manage the conversion logic processing of layer signal;
Total line core 1021 includes the bus protocol application layer unit for realizing fieldbus master station protocol application layer
10211, and for realizing the bus protocol stack cell 10212 of Real-time Fieldbus master station protocol stack;
The bus logic converting unit 1022 for realizing fieldbus master station protocol data link layer and physical layer
The conversion logic of signal is handled;
Between the Ethernet core 1011 and the Ethernet logic conversion unit 1012, total line core 1021 and described
Between bus logic converting unit 1022, the Ethernet protocol application layer unit 10111 and the bus protocol application layer list
Pass through shared drive interaction data between member 10211 respectively.
In one embodiment of this invention, after described device powers on, total line core 1021 first starts operation, completes program
After initialization, start command is sent to the Ethernet core 1011 and the Ethernet core 1011 is informed by shared drive interface
It is ready for receiving message;Whether total line core 1021 is inquired in shared drive interface has the mailbox of the exclusive object of application layer to disappear
Breath, if so, obtaining the configuration that the mailbox messages are parsed and complete fieldbus main website and fieldbus slave station;
The Ethernet core 1011 on such devices electricity after wait enabling signal, start laggard line program and initialize and open
Dynamic real-time ethernet slave station protocol stack, receives the asynchronous transfer of data of real-time ethernet main website, completes real-time ethernet slave station
Configuration completes the filling and hair to mailbox messages in shared drive interface when receiving the exclusive object read-write operation of application layer
It send.
In an example of the embodiment, the Ethernet core 1011 and total line core 1021 are double-core central processing unit
(Central Processing Unit, CPU), the Ethernet logic conversion unit 1012 and bus logic conversion are single
Member 1022 is realized based on field programmable gate array (Field Programmable Gate Array, FPGA).
The protocol conversion technology of existing Industrial Ethernet to fieldbus is typically based on operating system, and exploitation debugging is to behaviour
Certain accumulation will be had by making systems technology, and POWERLINK and PROFIBUS are that pure software is realized or POWERLINK is adopted
With pure software, PROFIBUS is realized using asic chip, and the two performance is all lacking.Real-time ether provided by the present application
Net is to the conversion equipment of fieldbus, and software architecture is without operating system, and double-core is using asymmetric multiprocessing (Asymmetric
Multi Processing, AMP) operational mode, POWERLINK slave station protocol operates in Ethernet core 1011, and PROFIBUS
Master station protocol operates in total line core 1021, and the data link layer deals and the design of physical layer signal conversion logic of two kinds of protocol stacks are all
The resource of FPGA is made full use of to realize.
In another example of the embodiment, the Ethernet core 1011 and total line core 1021 are respectively advanced simplify
Instruction set machine (Advanced RISC Machine, ARM) chip, the Ethernet logic conversion unit 1012 and described total
Line logic conversion unit 1022 is realized based on FPGA.
In an example of the embodiment, the Ethernet protocol application layer unit 10111 includes protocol stack management and running
Device, application-layer events callback processor, input and output (Input Output, IO) copy actuator and mailbox task performer,
Wherein:
The protocol stack scheduling manager, for completing the processing of real-time ethernet slave station protocol stack state and event;
The application-layer events callback processor records postal for the SDO read-write operation according to Ethernet protocol stack cell
The aperiodic data transmission message task of case;
The IO copies actuator, for completing the process data between the Ethernet protocol stack cell and shared drive
The interaction process of object (Process Data Object, PDO);
The mailbox task performer, for executing the read-write operation of the exclusive object of real-time ethernet application layer.
In an example of the embodiment, the Ethernet protocol stack cell 10112 includes protocol stack network manager, chain
Road floor task processor and SDO reading and writing data manager, in which:
The protocol stack network manager, for starting and detecting real-time ethernet slave station protocol stack link layer state machines
It jumps, corresponding protocol parameter setting is completed under each state;
The link layer task processor is realized for completing the Ethernet core and the Ethernet logic conversion unit
Data link layer between transmission and response message processing;
The SDO reading and writing data manager, for handling the SDO reading and writing data task of real-time ethernet slave station protocol.
In an example of the embodiment, the bus protocol application layer unit 10211 includes that the parsing of mailbox task executes
Device, configuration parameter manager and data copy actuator, in which:
The mailbox task parses actuator, for the read-write operation to the exclusive object of real-time ethernet application layer into
Row is parsed and is executed;
The configuration parameter manager, parses for the configuration parameter set to the fieldbus master station protocol received
And management;
The data copy actuator, for completing the process data between the bus protocol stack cell and shared drive
The interaction process of object PDO.
In an example of the embodiment, the bus protocol stack cell 10212 includes slave station state supervisor and link
Layer processor, in which:
The slave station state supervisor, for completing the scheduling and management of fieldbus networks slave station state machine;
The link layer processor, for completing the data-link of total line core and bus logic converting unit realization
Transmission and response message processing between the floor of road.
As shown in figure 3, the embodiment of the invention also provides a kind of conversion methods of real-time ethernet to fieldbus, including
Following steps:
Step 301: receiving the asynchronous transfer of data that real-time ethernet main website is sent, complete the configuration of real-time ethernet slave station
And the read-write operation of the exclusive object of real-time ethernet application layer;
In one embodiment of this invention, the exclusive object of real-time ethernet application layer is to pass through real-time ethernet SDO
The bus side protocol data object of description.
The application describes bus side protocol data object by using real-time ethernet SDO, and in the different of real-time ethernet
The transmission stage is walked, this class object is handed down to the fieldbus networks equipment of lower layer, so that real-time ethernet is to fieldbus
Protocol conversion is more flexible.
In one embodiment of this invention, the real-time ethernet is POWERLINK network.
Step 302: the read-write operation of the exclusive object of real-time ethernet application layer being parsed, fieldbus is completed
The configuration of main website and fieldbus slave station.
In one embodiment of this invention, the fieldbus is PROFIBUS.
The embodiment of the invention also provides a kind of storage medium, the storage medium is stored with one or more program,
One or more of programs can be executed by one or more processor, to realize that real-time ethernet as described above arrives
The step of conversion method of fieldbus.
The embodiment of the invention also provides a kind of conversion equipment of real-time ethernet to fieldbus, including processor and deposit
Reservoir, in which:
The processor is for executing the program stored in memory, to realize real-time ethernet as described above to now
The step of conversion method of field bus.
The Software Architecture Design that the embodiment of the present invention stresses POWERLINK to PROFIBUS protocol conversion is realized and agreement turns
The exclusive application layer objectification software processing scheme changed.In a kind of embodiment of the embodiment of the present invention, as shown in figure 4, adopting
Use the double-core CPU of ZYNQ chip (match company of Sentos release a expansible processing platform) as the main body hardware of gateway,
Wherein Core0 is total line core, including PROFIBUS protocol stacking unit and PROFIBUS agreement application layer unit, is accomplished that respectively
PROFIBUS master station protocol and PROFIBUS master station application layer;Core1 is Ethernet core, including POWERLINK protocol stacking unit
With POWERLINK agreement application layer unit, it is accomplished that POWERLINK slave station protocol and POWERLINK slave station application layer respectively.
The starting operation of whole system is controlled by Core0;The FPGA portion of ZYNQ chip realizes at the data link layer of double agreements
The conversion logic of reason and physical layer signal designs, while FPGA is equipped with the double PHY+ of bus line data transceiver part that double agreements need
Double RS485 chips.Wherein between the PROFIBUS logic unit and Core0 of FPGA, POWERLINK logic unit and Core1 it
Between, all pass through shared drive interaction data between POWERLINK agreement application layer unit and PROFIBUS agreement application layer unit.
The software operational flow diagram of the present embodiment is shown in that the POWERLINK slave station of Fig. 5 turns the software fortune of PROFIBUS main website
Row process.Operational process is as follows:
After system electrification, Core0 first starts operation, after completing Core0 program initialization, sends start command to Core1
And it is ready for receiving message by shared drive interface informing Core1;Whether answered in Core0 inquiry shared drive interface
With the mailbox messages of layer object, is parsed if so, obtaining the mailbox messages and start matching for PROFIBUS bus network
It sets;
The channel established by Core1 and Core0, carries out between POWERLINK main website and PROFIBUS slave station equipment
Normal cycle data interaction.
Core1 waits enabling signal upon power-up of the system, software systems initialization is carried out after starting, after everything is ready
Core1 starts to start POWERLINK protocol stack, completes POWERLINK slave station object by asynchronous transmission by POWERLINK main website
Setting can be triggered when the POWERLINK protocol stacking unit in Core1 receives the exclusive object read-write operation of application layer
The exclusive object read-write operation of POWERLINK agreement application layer unit, to complete to fill out mailbox messages in shared drive interface
It fills and sends.
Software kernels component in Core1 mainly has: protocol stack scheduling manager, application-layer events callback processor, association
Discuss stack network manager, IO copies actuator, mailbox task performer, link layer task processor, SDO reading and writing data management
Device, in which:
Protocol stack scheduling manager: the main processing for completing agreement stack state and event.
Application-layer events callback processor: mainly according to the read-write operation using exclusive object, the non-of mailbox is recorded
Cycle data transfer message task.
Protocol stack network manager: starting and detection protocol stack link layer state machines jump, and completes under each state
Work is arranged in corresponding protocol parameter.
IO copies actuator: main complete process data interaction.
Mailbox task performer: the main read-write operation for executing the exclusive object of POWERLINK protocol stack application layer.
Link layer task processor: it is main complete POWERLINK logic unit is realized in Core1 and FPGA link layer it
Between transmission and response message processing.
SDO reading and writing data manager: the SDO reading and writing data task of main processing POWERLINK agreement.
Software kernels component in Core0 mainly has: mailbox task parses actuator, configuration parameter manager, slave station shape
State manager, data copy actuator, link layer processor etc., in which:
Mailbox task parses actuator: the main exclusive object read-write of POWERLINK protocol stack application layer for completing Core0 is appointed
The parsing and execution of business.
Configuration parameter manager: mainly the PROFIBUS protocol configuration parameters collection received is parsed and is managed.
Slave station state supervisor: the main scheduling and management for completing PROFIBUS network slave station state machine.
Data copy actuator: the main interaction for completing the process data inside protocol stack between shared drive.
Link layer processor: main to complete between the link layer that PROFIBUS logic unit is realized in Core0 and FPGA
It sends and response message is handled.
POWERLINK logic unit in FPGA is mainly accomplished that the data link layer state machine of POWERLINK agreement
It realizes, data group packet is unpacked and data transmit-receive signal logical transition.
PROFIBUS logic unit in FPGA is mainly accomplished that the data link layer state machine of PROFIBUS agreement
It realizes, data group packet is unpacked and data transmit-receive signal logical transition.
The protocol conversion between POWERLINK and PROFIBUS in the embodiment of the present invention uses POWERLINK slave station
The exclusive objectification processing of side application layer, and lower layer's PROFIBUS network is transferred to by the asynchronous communication stage of POWERLINK.
POWERLINK slave station protocol stack Core1 in the asynchronous data frame for receiving this class object generates application-layer events readjustment, such
Object information is pushed to the configuration parameter manager in the PROFIBUS protocol stacking unit of Core0 and carries out dissection process.
Using the embodiment of the present invention realize industrial real-time ethernet to field bus protocol conversion method and device, not
It is assisted using any communication protocol chip and any operating system, relies on ZYNQ chip cpu resource abundant and FPGA money completely
Source has carried out reasonable Software Architecture Design to dual stack itself and function is distributed, and maintains high-performance and avoids operation system
It unites this technological difficulties;In addition the agreement that POWERLINK agreement application layer object dictionary and asynchronous communication is adequately utilized is excellent
All aperiodic object-oriented data to be interacted of lower layer PROFIBUS are handled, and are completed by asynchronous paths by gesture.The present invention
It is upper more flexible that application read-write processing method in example scheme realizes protocol conversion, any in subsequent development
POWERLINK gateway both provides software technology guidance.
Those of ordinary skill in the art will appreciate that all or part of the steps in the above method can be instructed by program
Related hardware is completed, and described program can store in computer readable storage medium, such as read-only memory, disk or CD
Deng.Optionally, one or more integrated circuits also can be used to realize, accordingly in all or part of the steps of above-described embodiment
Ground, each module/unit in above-described embodiment can take the form of hardware realization, can also use the shape of software function module
Formula is realized.The present invention is not limited to the combinations of the hardware and software of any particular form.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (11)
1. a kind of real-time ethernet is to the conversion equipment of fieldbus, which is characterized in that including ether net side communication module and total
Line side communication module, in which:
Ether net side communication module receives the different of real-time ethernet main website transmission for starting real-time ethernet slave station protocol stack
Step transmission data, complete the configuration of real-time ethernet slave station and the read-write operation of the exclusive object of real-time ethernet application layer;
Bus side communication module, for starting fieldbus master station protocol stack, to the exclusive object of real-time ethernet application layer
Read-write operation parsed, complete the configuration of fieldbus main website and fieldbus slave station.
2. conversion equipment according to claim 1, which is characterized in that the exclusive object of real-time ethernet application layer is logical
Cross the bus side protocol data object of real-time ethernet Service Data Object SDO description.
3. conversion equipment according to claim 1, which is characterized in that the ether net side communication module includes Ethernet core
With Ethernet logic conversion unit, the bus side communication module includes total line core and bus logic converting unit, in which:
The Ethernet core includes the Ethernet protocol application layer unit for realizing real-time ethernet slave station protocol application layer, with
And the Ethernet protocol stack cell for realizing real-time ethernet slave station protocol stack;
The Ethernet logic conversion unit for realizing real-time ethernet slave station protocol data link layer and physical layer signal
Conversion logic processing;
Total line core includes the bus protocol application layer unit for realizing fieldbus master station protocol application layer, and is used for
Realize the bus protocol stack cell of Real-time Fieldbus master station protocol stack;
The bus logic converting unit is for realizing the data link layer of fieldbus master station protocol and turning for physical layer signal
Change logical process;
Between the Ethernet core and the Ethernet logic conversion unit, total line core and the bus logic converting unit
Between, pass through shared drive interaction between the Ethernet protocol application layer unit and the bus protocol application layer unit respectively
Data.
4. conversion equipment according to claim 3, which is characterized in that the Ethernet protocol application layer unit includes agreement
Stack scheduling manager, application-layer events callback processor, input and output IO copy actuator and mailbox task performer, in which:
The protocol stack scheduling manager, for completing the processing of real-time ethernet slave station protocol stack state and event;
The application-layer events callback processor records postal for the SDO read-write operation according to the Ethernet protocol stack cell
The aperiodic data transmission message task of case;
The IO copies actuator, for completing the process data object between the Ethernet protocol stack cell and shared drive
The interaction process of PDO;
The mailbox task performer, for executing the read-write operation of the exclusive object of real-time ethernet application layer.
5. conversion equipment according to claim 3, which is characterized in that the Ethernet protocol stack cell includes protocol stack net
Network manager, link layer task processor and SDO reading and writing data manager, in which:
The protocol stack network manager, for starting and detecting the jump of real-time ethernet slave station protocol stack link layer state machines
Turn, corresponding protocol parameter setting is completed under each state;
The link layer task processor, the number realized for completing the Ethernet core and the Ethernet logic conversion unit
According to the transmission and response message processing between link layer;
The SDO reading and writing data manager, for handling the SDO reading and writing data task of real-time ethernet slave station protocol.
6. conversion equipment according to claim 3, which is characterized in that the bus protocol application layer unit includes that mailbox is appointed
Business parsing actuator, configuration parameter manager and data copy actuator, in which:
The mailbox task parses actuator, solves for the read-write operation to the exclusive object of real-time ethernet application layer
It analyses and executes;
The configuration parameter manager is parsed and is managed for the configuration parameter set to the fieldbus master station protocol received
Reason;
The data copy actuator, for completing the process data object between the bus protocol stack cell and shared drive
The interaction process of PDO.
7. conversion equipment according to claim 3, which is characterized in that the bus protocol stack cell includes slave station state pipe
Manage device and link layer processor, in which:
The slave station state supervisor, for completing the scheduling and management of fieldbus networks slave station state machine;
The link layer processor, for completing the data link layer of total line core and bus logic converting unit realization
Between transmission and response message processing.
8. conversion equipment according to claim 3, which is characterized in that the Ethernet core and total line core is in double-cores
Central processor CPU, the Ethernet logic conversion unit and the bus logic converting unit are based on field programmable gate array
FPGA is realized.
9. a kind of real-time ethernet is to the conversion method of fieldbus characterized by comprising
Receive the asynchronous transfer of data that real-time ethernet main website is sent, the configuration of completion real-time ethernet slave station and real-time ether
The read-write operation of the exclusive object of net application layer;
The read-write operation of the exclusive object of real-time ethernet application layer is parsed, fieldbus main website is completed and scene is total
The configuration of line slave station.
10. a kind of storage medium, which is characterized in that the storage medium is stored with one or more program, it is one or
The multiple programs of person can be executed by one or more processor, to realize real-time ethernet as described in claim 9 to now
The step of conversion method of field bus.
11. a kind of real-time ethernet is to the conversion equipment of fieldbus, which is characterized in that including processor and memory, in which:
The processor is for executing the program stored in memory, to realize real-time ethernet as described in claim 9
To fieldbus conversion method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811480534.3A CN109347884B (en) | 2018-12-05 | 2018-12-05 | Method and device for converting real-time Ethernet to field bus and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811480534.3A CN109347884B (en) | 2018-12-05 | 2018-12-05 | Method and device for converting real-time Ethernet to field bus and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109347884A true CN109347884A (en) | 2019-02-15 |
CN109347884B CN109347884B (en) | 2021-05-28 |
Family
ID=65319854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811480534.3A Active CN109347884B (en) | 2018-12-05 | 2018-12-05 | Method and device for converting real-time Ethernet to field bus and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109347884B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430110A (en) * | 2019-08-12 | 2019-11-08 | 北京和利时***工程有限公司 | A kind of field bus gateway and its method for converting protocol |
CN110519161A (en) * | 2019-09-29 | 2019-11-29 | 杭州和利时自动化有限公司 | A kind of gateway apparatus and the method for data protocol conversion |
CN110535759A (en) * | 2019-09-20 | 2019-12-03 | 杭州和利时自动化有限公司 | A kind of communication gate, correlation technique and relevant apparatus |
CN110687854A (en) * | 2019-11-05 | 2020-01-14 | 杭州和利时自动化有限公司 | PA bus controller and PA bus control system |
CN112039743A (en) * | 2020-08-27 | 2020-12-04 | 湖南华数智能技术有限公司 | Device for interconnection and intercommunication of ASI bus and EtherCAT bus |
CN112398714A (en) * | 2020-10-22 | 2021-02-23 | 北京和利时***工程有限公司 | Backboard bus master station, system and data communication method thereof |
CN112436988A (en) * | 2020-10-23 | 2021-03-02 | 武汉华中数控股份有限公司 | Device for converting standard Ethernet to NCUC field bus protocol and implementation method |
CN113741360A (en) * | 2021-08-09 | 2021-12-03 | 北京和利时控制技术有限公司 | Industrial control gateway, system, control method and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102947813A (en) * | 2010-03-31 | 2013-02-27 | 施奈德电气自动控制有限责任公司 | Method for transmitting data via canopen bus |
CN103401866A (en) * | 2013-07-31 | 2013-11-20 | 北京华电天仁电力控制技术有限公司 | Device for switching from PowerLink industrial Ethernet to Profibus-DP |
CN105306326A (en) * | 2015-11-13 | 2016-02-03 | 上海新时达电气股份有限公司 | Implementation method of integration of various industrial buses on driver |
CN106230826A (en) * | 2016-08-02 | 2016-12-14 | 哈尔滨工业大学 | Application system interface protocol automatic analyzer |
CN106506447A (en) * | 2016-09-23 | 2017-03-15 | 上海新时达电气股份有限公司 | The Hardware Implementation of POWERLINK communications protocol |
US20170126424A1 (en) * | 2015-10-30 | 2017-05-04 | Buerkert Werke Gmbh | Method of Configuring Field Devices and Field Device Having a Configuration for Two Bus Systems |
CN108650136A (en) * | 2018-05-17 | 2018-10-12 | 中工科安科技有限公司 | A kind of design method of master/slave station card that realizing the communication of Powerlink industry real-time ethernets |
CN108768981A (en) * | 2018-05-17 | 2018-11-06 | 中工科安科技有限公司 | A kind of IP kernel for realizing the communication of Powerlink industry real-time ethernets |
CN108833269A (en) * | 2018-06-26 | 2018-11-16 | 中国兵器装备集团自动化研究所 | A kind of intelligent things gateway towards industry spot |
-
2018
- 2018-12-05 CN CN201811480534.3A patent/CN109347884B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102947813A (en) * | 2010-03-31 | 2013-02-27 | 施奈德电气自动控制有限责任公司 | Method for transmitting data via canopen bus |
CN103401866A (en) * | 2013-07-31 | 2013-11-20 | 北京华电天仁电力控制技术有限公司 | Device for switching from PowerLink industrial Ethernet to Profibus-DP |
US20170126424A1 (en) * | 2015-10-30 | 2017-05-04 | Buerkert Werke Gmbh | Method of Configuring Field Devices and Field Device Having a Configuration for Two Bus Systems |
CN105306326A (en) * | 2015-11-13 | 2016-02-03 | 上海新时达电气股份有限公司 | Implementation method of integration of various industrial buses on driver |
CN106230826A (en) * | 2016-08-02 | 2016-12-14 | 哈尔滨工业大学 | Application system interface protocol automatic analyzer |
CN106506447A (en) * | 2016-09-23 | 2017-03-15 | 上海新时达电气股份有限公司 | The Hardware Implementation of POWERLINK communications protocol |
CN108650136A (en) * | 2018-05-17 | 2018-10-12 | 中工科安科技有限公司 | A kind of design method of master/slave station card that realizing the communication of Powerlink industry real-time ethernets |
CN108768981A (en) * | 2018-05-17 | 2018-11-06 | 中工科安科技有限公司 | A kind of IP kernel for realizing the communication of Powerlink industry real-time ethernets |
CN108833269A (en) * | 2018-06-26 | 2018-11-16 | 中国兵器装备集团自动化研究所 | A kind of intelligent things gateway towards industry spot |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430110A (en) * | 2019-08-12 | 2019-11-08 | 北京和利时***工程有限公司 | A kind of field bus gateway and its method for converting protocol |
CN110535759A (en) * | 2019-09-20 | 2019-12-03 | 杭州和利时自动化有限公司 | A kind of communication gate, correlation technique and relevant apparatus |
CN110519161A (en) * | 2019-09-29 | 2019-11-29 | 杭州和利时自动化有限公司 | A kind of gateway apparatus and the method for data protocol conversion |
CN110519161B (en) * | 2019-09-29 | 2022-03-15 | 杭州和利时自动化有限公司 | Gateway device and data protocol conversion method |
CN110687854A (en) * | 2019-11-05 | 2020-01-14 | 杭州和利时自动化有限公司 | PA bus controller and PA bus control system |
CN112039743A (en) * | 2020-08-27 | 2020-12-04 | 湖南华数智能技术有限公司 | Device for interconnection and intercommunication of ASI bus and EtherCAT bus |
CN112039743B (en) * | 2020-08-27 | 2022-04-12 | 湖南华数智能技术有限公司 | Device for interconnection and intercommunication of ASI bus and EtherCAT bus |
CN112398714A (en) * | 2020-10-22 | 2021-02-23 | 北京和利时***工程有限公司 | Backboard bus master station, system and data communication method thereof |
CN112436988A (en) * | 2020-10-23 | 2021-03-02 | 武汉华中数控股份有限公司 | Device for converting standard Ethernet to NCUC field bus protocol and implementation method |
CN113741360A (en) * | 2021-08-09 | 2021-12-03 | 北京和利时控制技术有限公司 | Industrial control gateway, system, control method and storage medium |
CN113741360B (en) * | 2021-08-09 | 2023-09-29 | 北京和利时控制技术有限公司 | Industrial control gateway, system, control method and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109347884B (en) | 2021-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109347884A (en) | A kind of real-time ethernet is to the conversion method and device of fieldbus, storage medium | |
CN100588204C (en) | A kind of real-time viewing platform of communication network simulation tool and its implementation | |
US20060140209A1 (en) | Field device, system and process for multi-protocol field device emulator | |
CN105787065A (en) | Method for realizing integrated exchange platform | |
CN109376866A (en) | The operation method and device of the recording method of metadata and device, quantum program | |
CN104394211A (en) | Hadoop-based user behavior analysis system design and implementation method | |
CN114301995B (en) | Conversion switching and intercommunication fusion system and method of real-time industrial Ethernet protocol | |
CN104798010B (en) | At least part of serial storage protocol compliant frame conversion | |
CN107210967A (en) | System and method for optimizing network transmission | |
CN106789258A (en) | The collocation method of EPA | |
CN109670081A (en) | The method and device of service request processing | |
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 | |
CN104243536B (en) | A kind of bullet train controls network semi-matter simulating system | |
CN106027534A (en) | System for implementing financial message processing based on Netty | |
CN107577820A (en) | Method, equipment and the system of data processing | |
WO2008082021A1 (en) | Open framework system for heterogeneous computing and service integration | |
CN110838961A (en) | General aviation bus message scheduling system | |
CN105518610B (en) | Storage system, method and apparatus for processing operation request | |
CN110417760A (en) | The mutual operation method and middleware of marginal layer in industry internet | |
CN102811152A (en) | Method for realizing real-time transaction and data exchange of multiple main bus network communication | |
CN102263709A (en) | Gateway for realizing communication transformation between EtherCAT (Ethernet for control and automation technology) and RS485 and communication method thereof | |
CN102629352B (en) | Towards compound event method for mode matching and the system of real-time perception environment | |
CN110430110B (en) | On-site bus gateway and protocol conversion method thereof | |
CN110417860A (en) | File transfer management method, apparatus, equipment and storage medium | |
Bai | Modeling analysis of Intelligent Manufacturing System based on SDN |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |