CN105988411A - DP intelligent module and PLC control system and method - Google Patents

DP intelligent module and PLC control system and method Download PDF

Info

Publication number
CN105988411A
CN105988411A CN201610274572.8A CN201610274572A CN105988411A CN 105988411 A CN105988411 A CN 105988411A CN 201610274572 A CN201610274572 A CN 201610274572A CN 105988411 A CN105988411 A CN 105988411A
Authority
CN
China
Prior art keywords
data
plc
module
slave station
interface module
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
CN201610274572.8A
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.)
Huadian Heavy Industries Co Ltd
Original Assignee
Huadian Heavy Industries 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 Huadian Heavy Industries Co Ltd filed Critical Huadian Heavy Industries Co Ltd
Priority to CN201610274572.8A priority Critical patent/CN105988411A/en
Publication of CN105988411A publication Critical patent/CN105988411A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13004Programming the plc

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention discloses a DP intelligent module, and is used for solving the technical problems that PLC algorithm program encryption protection is insufficient and one PLC control module can only apply one control algorithm. The DP intelligent module comprises a master controller, a DP slave station module and an RS485 interface module. The master controller is connected with the DP slave station module which is connected with the RS485 interface module. The RS485 interface module is connected with a Profibus-DP bus. The master controller is used for receiving, storing and operating a PLC control algorithm. The DP slave station module is used for realizing data interaction between the master controller and the RS485 interface module. The RS485 interface module is used for realizing data interaction between the DP slave station module and the Profibus-DP bus. The invention also discloses a PLC control system and method.

Description

A kind of DP intelligent object, PLC control system and method
Technical field
The present invention relates to PLC (Programmable Logic Controller, Programmable logical controller) skill Art field, is specifically related to a kind of DP (Decentralized Periphery, decentralized ancillary equipment) intelligence Module, PLC control system and method.
Background technology
Programmable logical controller PLC system is the replacement traditional relay dress that the U.S. releases at twentieth century Putting, for realizing some user-defined Automated condtrol, logical operations, counting with the one of timing function is Row use the logic controller of programmable logical storage.Due to PLC wide adaptability, stability in use The advantages such as good, anti-tampering ability is strong, have been widely used in industrial every field, its development Very fast.Big machinery and production line are nearly all to use PLC system based on industrial network real at present Execute control and communicate, thus the control realizing equipment and production technology is integrated with management.
But, owing to PLC software has opening, there is the situation that algorithm routine protection is not enough, In PLC system maintenance process, it is revised performance easily and causes fixing algorithm change in PLC program Rear field adjustable workload is big, and the cycle is long, and labour cost expenditure is big;Simultaneously as the office of PLC programming Sex-limited so that a PLC control module can only apply a kind of control algolithm, thus can only be for specifically Actuator completes single control.
Summary of the invention
In view of this, the present invention provides a kind of DP intelligent object, PLC control system and method, to solve Certainly present in prior art, PLC algorithm routine encipherment protection is not enough and a kind of PLC control module only The problem that can apply a kind of control algolithm.
For solving the problems referred to above, the technical scheme that the present invention provides is as follows:
A kind of DP intelligent object, described DP intelligent object includes:
Master controller, DP slave station module and RS485 interface module;
Described master controller is connected with described DP slave station module, described DP slave station module and described RS485 Interface module is connected, and described RS485 interface module is connected with Profibus-DP bus;
Described master controller, is used for receiving, store and run PLC control algolithm;
Described DP slave station module, is used for realizing between described master controller and described RS485 interface module Data interaction;
Described RS485 interface module, is used for realizing described DP slave station module and described Profibus-DP Data interaction between bus.
Accordingly, described master controller carries (SuSE) Linux OS, uses ARM controller to realize.
Accordingly, described DP slave station module includes microcontroller and VPC3 protocol conversion chip;Institute State microcontroller and use STMF103ZET6 chip microcontroller.
Accordingly, described microcontroller, slow for exporting from the data of described VPC3 protocol conversion chip Rush district's reading Data Concurrent and give described master controller;The data that described master controller sends are stored in described The data output buffer of VPC3 protocol conversion chip;
VPC3 protocol conversion chip, for obtaining data from described RS485 interface module, is stored in described Data output buffer;The data that described microcontroller is stored in described data output buffer are sent to institute State RS485 interface module.
Accordingly, described RS485 interface module uses ADM486 chip based on Magnetic isolation.
A kind of PLC control system, described PLC control system includes:
PLC master station, DP intelligent object and at least one PLC slave station;
Described PLC master station, described DP intelligent object and at least one described PLC slave station all with Profibus-DP bus is connected;
Described DP intelligent object is the DP intelligent object described in any one of claim 1-5.
Accordingly, described PLC control system also includes:
Monitor client, described monitor client is connected with described DP intelligent object, for being controlled by PLC Algorithm processed is sent to the master controller in described DP intelligent object.
A kind of PLC control method, described method is applied to DP intelligent object, described DP intelligent object Including master controller, DP slave station module and RS485 interface module, described master controller and described DP Slave station module is connected, and described DP slave station module is connected with described RS485 interface module, described RS485 Interface module is connected with Profibus-DP bus;Described method includes:
Described RS485 interface module obtains the data that PLC master station is exported by Profibus-DP bus;
Described DP slave station module obtains the number of described PLC master station output by described RS485 interface module According to, and the data that described PLC master station exports are sent to described master controller;
Described main operation controller PLC control algolithm, the data genaration exported according to described PLC master station Result data, and described result data is sent to described DP slave station module;
Described result data is sent to described RS485 interface module by described DP slave station module;
Described result data is sent to by described RS485 interface module by described Profibus-DP bus Described PLC master station.
Accordingly, described DP slave station module includes microcontroller and VPC3 protocol conversion chip;
Described DP slave station module obtains the number of described PLC master station output by described RS485 interface module According to, and the data that described PLC master station exports are sent to described master controller, including:
Described VPC3 protocol conversion chip obtains the output of described PLC master station from described RS485 interface module Data, and be stored in data output buffer;
Described microcontroller reads described from the data output buffer of described VPC3 protocol conversion chip The data of PLC master station output, and it is sent to described master controller.
Accordingly, described result data is sent to described RS485 interface module by described DP slave station module, Including:
The result data that described master controller sends is stored in described VPC3 protocol conversion by described microcontroller The data output buffer of chip;
Described result data is sent to described RS485 interface module by described VPC3 protocol conversion chip.
As can be seen here, the embodiment of the present invention has the advantages that
The embodiment of the present invention uses the ARM controller carrying (SuSE) Linux OS to replace traditional PLC Controller, constitutes embedded DP intelligent object, can with the different PLC control algolithm of downloading-running, from And a DP intelligent object can realize different control algolithms;Control algolithm downloads to ARM control In device, general maintenance engineering technical staff has the most revisable encryption performance to PLC control program;With Time, DP slave station module can realize the communication between main website in high quality.Therefore, the embodiment of the present invention The DP intelligent object provided can be articulated in Profibus-DP bus easily as slave station, passes through The various control algorithm that ARM controller realizes is possible not only to improve the function of PLC control system, it is ensured that Algorithm stable and reliable, moreover it is possible to notable shorten the field adjustable time, improve system reliability of operation and Maintainable.
Accompanying drawing explanation
The schematic diagram of the Fig. 1 DP intelligent object embodiment one for providing in the embodiment of the present invention;
The schematic diagram of the Fig. 2 DP intelligent object embodiment two for providing in the embodiment of the present invention;
Fig. 3 is the hardware realization figure of main control module in the embodiment of the present invention;
Fig. 4 is the hardware realization figure of DP slave station module in the embodiment of the present invention;
Fig. 5 is the hardware realization figure of RS485 interface module in the embodiment of the present invention;
The schematic diagram of the PLC control system embodiment that Fig. 6 provides in implementing for the present invention;
Fig. 7 is the flow chart downloading PLC control algolithm during the present invention implements to main controller module;
The flow chart of the PLC control method embodiment that Fig. 8 provides in implementing for the present invention;
Fig. 9 is the workflow diagram of DP slave station module during the present invention implements.
Detailed description of the invention
Understandable, below in conjunction with the accompanying drawings for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from With detailed description of the invention, the embodiment of the present invention is described in further detail.
Shown in Figure 1, it is the DP intelligent object embodiment one provided in the embodiment of the present invention, can wrap Include:
Master controller 1, DP slave station module 2 and RS485 interface module 3.
Master controller 1 is connected with DP slave station module 2, DP slave station module 2 and RS485 interface module 3 Being connected, RS485 interface module 3 is connected with Profibus-DP bus.Master controller 1 can pass through SPI (Serial Peripheral Interface, Serial Peripheral Interface (SPI)) interface is connected with DP slave station module 2, Profibus-DP bus based on Profibus agreement, logical for device level control system and distributing I/O Letter.This DP intelligent object can be connected with Profibus-DP bus as a PLC slave station, PLC master station and other PLC slave stations can also be connected in Profibus-DP bus, thus DP is intelligent Module, PLC master station and at least one PLC slave station can collectively form a kind of PLC control system.
In DP intelligent object, wherein, master controller 1, it is used for receiving, store and run PLC control Algorithm processed.
In some implementations of the present invention, master controller 1 carries (SuSE) Linux OS, uses ARM Controller realizes, and can download to the PLC control algolithm of various complexity carry (SuSE) Linux OS ARM controller is run, owing to the PLC control algolithm downloaded in ARM controller cannot be random Amendment, it is ensured that the Stability and dependability of PLC control algolithm, has reached to enter PLC control algolithm The effect of row encipherment protection, protects the intellectual property of program designer, solves PLC simultaneously and controls to calculate Because of change, method causes that field adjustable workload is big, the technical problem of cycle length.
DP slave station module, for realizing the data interaction between master controller and RS485 interface module.
RS485 interface module, for realizing the data between DP slave station module and Profibus-DP bus Alternately.
DP slave station module and RS485 interface module realize DP intelligent object and Profibus-DP jointly Communication between bus, thus DP intelligent object can receive PLC master by Profibus-DP bus Stand send data, it is also possible to send the data to PLC master station by Profibus-DP bus.
Shown in Figure 2, it is the DP intelligent object embodiment two provided in the embodiment of the present invention.Can wrap Include:
Master controller 1, DP slave station module 2 and RS485 interface module 3.
Shown in Figure 3, it is the hardware realization figure of main control module.Main control module uses ARM control Device processed, its minimum system figure includes reset circuit, crystal oscillating circuit etc., is the core of DP intelligent object Point, (SuSE) Linux OS can be carried, replace traditional PLC, it is achieved Various Complex PLC Control algolithm and PLC control algolithm can be encrypted protection so that this DP intelligent object can be complete Become specific PLC control algolithm, complete PLC control system can be constituted with PLC system again.
In some implementations of the present invention, DP slave station module 2 can include microcontroller 21 with And VPC3 protocol conversion chip 22.Shown in Figure 4, it is the hardware realization figure of DP slave station module, Microcontroller 21 can use STMF103ZET6 chip microcontroller, and microcontroller 21 can be to VPC3 Protocol conversion chip 22 configures, such as include the initialization to VPC3 protocol conversion chip and in Disconnected process etc..VPC3 protocol conversion chip can realize DP intelligent object as PLC slave station and PLC Data communication between main website.VPC3 protocol conversion chip is the specialized protocol chip of SIEMENS PLC, It supports PROFIBUS-DP agreement, and has been internally integrated the dual port RAM of 1.5k byte, internal lock Storage/register-bit in front 21 address locations, can improve communicating of DP intelligent object and main website PLC Speed.
The interrupt register of VPC3 protocol conversion chip 22 can be read by microcontroller 21 to judge Trigger the reason interrupted and carry out corresponding interrupt processing, to realize the communication between main website.
The operation principle of DP slave station module can be: when VPC3 protocol conversion chip is connect by RS485 After mouth die block receives the data that main website sends, produce DataOut and interrupt, VPC3 protocol conversion chip Monitor in DataOut and have no progeny, obtain data from RS485 interface module, place data into data input Restore data output buffer in relief area;Microcontroller is defeated from the data of VPC3 protocol conversion chip Go out relief area reading Data Concurrent and give master controller;After master controller produces result data, microcontroller The data that master controller sends are stored in the data output buffer of VPC3 protocol conversion chip, VPC3 by device Protocol conversion chip produces DataIn to interrupt, and it is defeated that microcontroller is stored in data by VPC3 protocol conversion chip The data going out relief area are sent to RS485 interface module.It addition, VPC3 protocol conversion chip is in number During according to swap status, in addition to same main website carries out inputoutput data exchange, it is also possible to receive it from main website He controls parameter.
Shown in Figure 5, it is the hardware realization figure of RS485 interface module, in some realizations of the present invention In mode, RS485 interface module can use ADM486 chip based on Magnetic isolation, and it uses at a high speed CMOS (Complementary Metal Oxide Semiconductor, complementary metal oxide semiconductors (CMOS)) Technique and the transformer technology of chip-scale, the everyways such as performance, power consumption, volume have traditional optocoupler every From the advantage that period is incomparable, based on this ADM486 chip realize DP slave station module with Data interaction between Profibus-DP bus, it is ensured that the transmission that data efficient is stable.
So, the embodiment of the present invention uses the ARM controller carrying (SuSE) Linux OS to replace tradition PLC, constitute embedded DP intelligent object, can control to calculate with the different PLC of downloading-running Method, thus a DP intelligent object can realize different control algolithms;Control algolithm downloads to ARM In controller, general maintenance engineering technical staff has the most revisable encryption to PLC control program Energy;Meanwhile, DP slave station module can realize the communication between main website in high quality.Therefore, the present invention The DP intelligent object that embodiment provides can be articulated in Profibus-DP bus easily as slave station, The various control algorithm realized by ARM controller is possible not only to improve the function of PLC control system, Ensure the stable and reliable of algorithm, moreover it is possible to significantly shorten the field adjustable time, improve the reliable of system operation Property and maintainability.
Shown in Figure 6, it is the PLC control system embodiment provided in the embodiment of the present invention, can wrap Include:
PLC master station 601, DP intelligent object 602 and at least one PLC slave station 603;PLC master Stand, DP intelligent object and at least one PLC slave station are all connected with Profibus-DP bus.Wherein, DP intelligent object can be the DP intelligent object in above-described embodiment.
In some implementations of the present invention, PLC control system can also include:
Monitor client, monitor client is connected with DP intelligent object, for PLC control algolithm being sent out Deliver to the master controller in DP intelligent object.
Related description about DP intelligent object may refer to above-described embodiment, does not repeats them here.
Shown in Figure 7, it is the flow process downloading PLC control algolithm during the present invention implements to main controller module Figure, may include that
Step 701: main controller module creation socket, keeps listening state.
Step 702: determine whether the connection from monitor client by monitoring, if it is, enter Step 703, if it does not, return step 702.
The program being currently running of step 703:Kill last downloaded.When there being the company from monitor client Connect, then explanation has new PLC control program to need to download in master controller, under first Kill last time The PLC control algolithm being currently running carried.
Step 704: definition file stream, opens file, completes transmission.
Step 705: perform the program file downloaded.
In the present embodiment, the PLC programming software of monitor client can configure DP intelligent object Address and input/output interface variable, main PLC control algolithm program can be downloaded to by interface In the middle of master controller i.e. ARM controller, generally downloading to the file in master controller is .o lattice The executable file of formula, the programmed environment carried by ARM controller, can store and run these PLC control algolithm, thus the some parts within PLC controls function algorithm and can be loaded into DP intelligence In module, coordinated by ARM controller and realize complicated Industry Control.Operator can call DP Intelligent object and cannot see that the program in DP intelligent object, prevent operator from arbitrarily it being repaiied Change.
So, the embodiment of the present invention uses the ARM controller carrying (SuSE) Linux OS to replace tradition PLC, constitute embedded DP intelligent object, can control to calculate with the different PLC of downloading-running Method, thus a DP intelligent object can realize different control algolithms;Control algolithm downloads to ARM In controller, general maintenance engineering technical staff has the most revisable encryption to PLC control program Energy;Meanwhile, DP slave station module can realize the communication between main website in high quality.Therefore, the present invention The DP intelligent object that embodiment provides can be articulated in Profibus-DP bus easily as slave station, The various control algorithm realized by ARM controller is possible not only to improve the function of PLC control system, Ensure the stable and reliable of algorithm, moreover it is possible to significantly shorten the field adjustable time, improve the reliable of system operation Property and maintainability.
Shown in Figure 8, it is the PLC control method embodiment provided in the embodiment of the present invention, the method Can apply to the DP intelligent object provided in the above embodiment of the present invention, DP intelligent object can include Master controller, DP slave station module and RS485 interface module, master controller and DP slave station module phase Even, DP slave station module is connected with RS485 interface module, and RS485 interface module is total with Profibus-DP Line is connected;The method may include that
Step 801:RS485 interface module obtains what PLC master station was exported by Profibus-DP bus Data;
Step 802:DP slave station module obtains the data of PLC master station output by RS485 interface module, And the data that PLC master station exports are sent to master controller;
Step 803: main operation controller PLC control algolithm, according to the data genaration of PLC master station output Result data, and result data is sent to DP slave station module;
Result data is sent to RS485 interface module by step 804:DP slave station module;
Result data is sent to PLC by Profibus-DP bus by step 805:RS485 interface module Main website.
In some implementations of the present invention, DP slave station module can include microcontroller and VPC3 Protocol conversion chip;
Then DP slave station module obtains the data of PLC master station output by RS485 interface module, and will The data of PLC master station output are sent to master controller, may include that
VPC3 protocol conversion chip obtains the data of PLC master station output from RS485 interface module, and deposits Enter data output buffer;Microcontroller reads from the data output buffer of VPC3 protocol conversion chip The data of PLC master station output, and it is sent to master controller.
Result data is sent to RS485 interface module by DP slave station module, may include that
The data that the result data that master controller sends is stored in VPC3 protocol conversion chip by microcontroller are defeated Go out relief area;Result data is sent to RS485 interface module by VPC3 protocol conversion chip.
Shown in Figure 9, it is the workflow diagram of DP slave station module, then to DP slave station module from master The process of reception data of standing illustrates, and may include that
Step 901: microcontroller STMF103ZET6 single-chip microcomputer internal register initializes.
Step 902: VPC3 protocol conversion chip is initialized by microcontroller STMF103ZET6.
The initialization of VPC3 protocol conversion chip may include that arrange protocol conversion chip interruption allow, Write slave station identifier and address, arrange VPC3 mode register, arrange diagnosis relief area, parameter delay Rush district, configuration relief area, address buffer, each buffer length of initialization, and according to above initial value Draw the pointer of each relief area and the pointer of supplementary buffer.
Step 903: start VPC3 protocol conversion chip.Can be by microcontroller to VPC3 agreement Conversion chip sends the mode of start up command signals and starts VPC3 protocol conversion chip.
Step 904: microcontroller STMF103ZET6 judges whether main website exports data, if it is, Enter step 905, if it does not, return step 904.
After VPC3 protocol conversion chip receives, by RS485 interface module, the data that main website sends, Place data into data input buffer district to restore data output buffer;
Microcontroller can be by reading the data pointer of VPC3 protocol conversion chip data output buffer Judge whether main website exports data, namely VPC3 protocol conversion chip places data into data output and delays After rushing district, the data pointer of data output buffer is not empty, then there are output data in main website.
Step 905: read main website data.Microcontroller can be from the data of VPC3 protocol conversion chip Output buffer reads main website data.
Step 906: prepare SPI interface input data.
Step 907: by being conveyed into data on SPI interface.
SPI interface is used to be connected between microcontroller and master controller in DP slave station module, microcontroller The main website data of reading can be sent to master controller by SPI interface.
During it addition, VPC3 protocol conversion chip is in data swap status, except same main website inputs Outside output data exchange, it is also possible to receive new parameter exchange, can post by reading the interruption of VPC3 Storage judges trigger the reason interrupted and carry out corresponding interrupt processing.
So, the embodiment of the present invention uses the ARM controller carrying (SuSE) Linux OS to replace tradition PLC, constitute embedded DP intelligent object, can control to calculate with the different PLC of downloading-running Method, thus a DP intelligent object can realize different control algolithms;Control algolithm downloads to ARM In controller, general maintenance engineering technical staff has the most revisable encryption to PLC control program Energy;Meanwhile, DP slave station module can realize the communication between main website in high quality.Therefore, the present invention The DP intelligent object that embodiment provides can be articulated in Profibus-DP bus easily as slave station, The various control algorithm realized by ARM controller is possible not only to improve the function of PLC control system, Ensure the stable and reliable of algorithm, moreover it is possible to significantly shorten the field adjustable time, improve the reliable of system operation Property and maintainability.
It should be noted that each embodiment uses the mode gone forward one by one to describe in this specification, each enforcement What example stressed is all the difference with other embodiments, identical similar portion between each embodiment See mutually.For system disclosed in embodiment or device, disclosed in itself and embodiment Method is corresponding, so describe is fairly simple, relevant part sees method part and illustrates.
Also, it should be noted in this article, the relational terms of such as first and second or the like is only used One entity or operation are separated with another entity or operating space, and not necessarily requires or secretly Show relation or the order that there is any this reality between these entities or operation.And, term " bag Include ", " comprising " or its any other variant be intended to comprising of nonexcludability, so that include one The process of list of elements, method, article or equipment not only include those key elements, but also include not having Other key elements being expressly recited, or also include being consolidated by this process, method, article or equipment Some key elements.In the case of there is no more restriction, statement " including ... " key element limited, It is not precluded from there is also in including the process of described key element, method, article or equipment other identical Key element.
The method described in conjunction with the embodiments described herein or the step of algorithm can directly use hardware, The software module that processor performs, or the combination of the two implements.Software module can be placed in and deposit at random Reservoir (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electric erasable can be compiled Well known in journey ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses The present invention.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art See, generic principles defined herein can without departing from the spirit or scope of the present invention, Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein, And it is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (10)

1. a DP intelligent object, it is characterised in that described DP intelligent object includes:
Master controller, DP slave station module and RS485 interface module;
Described master controller is connected with described DP slave station module, described DP slave station module and described RS485 Interface module is connected, and described RS485 interface module is connected with Profibus-DP bus;
Described master controller, is used for receiving, store and run PLC control algolithm;
Described DP slave station module, is used for realizing between described master controller and described RS485 interface module Data interaction;
Described RS485 interface module, is used for realizing described DP slave station module and described Profibus-DP Data interaction between bus.
DP intelligent object the most according to claim 1, it is characterised in that described master controller is taken Carry (SuSE) Linux OS, use ARM controller to realize.
DP intelligent object the most according to claim 1, it is characterised in that described DP slave station mould Block includes microcontroller and VPC3 protocol conversion chip;Described microcontroller uses STMF103ZET6 Chip microcontroller.
DP intelligent object the most according to claim 3, it is characterised in that
Described microcontroller, for reading from the data output buffer of described VPC3 protocol conversion chip Data Concurrent gives described master controller;The data that described master controller sends are stored in described VPC3 association The data output buffer of view conversion chip;
VPC3 protocol conversion chip, for obtaining data from described RS485 interface module, is stored in described Data output buffer;The data that described microcontroller is stored in described data output buffer are sent to institute State RS485 interface module.
DP intelligent object the most according to claim 1, it is characterised in that described RS485 interface Module uses ADM486 chip based on Magnetic isolation.
6. a PLC control system, it is characterised in that described PLC control system includes:
PLC master station, DP intelligent object and at least one PLC slave station;
Described PLC master station, described DP intelligent object and at least one described PLC slave station all with Profibus-DP bus is connected;
Described DP intelligent object is the DP intelligent object described in any one of claim 1-5.
PLC control system the most according to claim 6, it is characterised in that described PLC controls System also includes:
Monitor client, described monitor client is connected with described DP intelligent object, for being controlled by PLC Algorithm processed is sent to the master controller in described DP intelligent object.
8. a PLC control method, it is characterised in that described method is applied to DP intelligent object, Described DP intelligent object includes master controller, DP slave station module and RS485 interface module, described Master controller is connected with described DP slave station module, described DP slave station module and described RS485 interface mould Block is connected, and described RS485 interface module is connected with Profibus-DP bus;Described method includes:
Described RS485 interface module obtains the data that PLC master station is exported by Profibus-DP bus;
Described DP slave station module obtains the number of described PLC master station output by described RS485 interface module According to, and the data that described PLC master station exports are sent to described master controller;
Described main operation controller PLC control algolithm, the data genaration exported according to described PLC master station Result data, and described result data is sent to described DP slave station module;
Described result data is sent to described RS485 interface module by described DP slave station module;
Described result data is sent to by described RS485 interface module by described Profibus-DP bus Described PLC master station.
Method the most according to claim 8, it is characterised in that described DP slave station module includes micro- Controller and VPC3 protocol conversion chip;
Described DP slave station module obtains the number of described PLC master station output by described RS485 interface module According to, and the data that described PLC master station exports are sent to described master controller, including:
Described VPC3 protocol conversion chip obtains the output of described PLC master station from described RS485 interface module Data, and be stored in data output buffer;
Described microcontroller reads described from the data output buffer of described VPC3 protocol conversion chip The data of PLC master station output, and it is sent to described master controller.
Method the most according to claim 9, it is characterised in that described DP slave station module is by institute State result data and be sent to described RS485 interface module, including:
The result data that described master controller sends is stored in described VPC3 protocol conversion by described microcontroller The data output buffer of chip;
Described result data is sent to described RS485 interface module by described VPC3 protocol conversion chip.
CN201610274572.8A 2016-04-28 2016-04-28 DP intelligent module and PLC control system and method Pending CN105988411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610274572.8A CN105988411A (en) 2016-04-28 2016-04-28 DP intelligent module and PLC control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610274572.8A CN105988411A (en) 2016-04-28 2016-04-28 DP intelligent module and PLC control system and method

Publications (1)

Publication Number Publication Date
CN105988411A true CN105988411A (en) 2016-10-05

Family

ID=57044007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610274572.8A Pending CN105988411A (en) 2016-04-28 2016-04-28 DP intelligent module and PLC control system and method

Country Status (1)

Country Link
CN (1) CN105988411A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533267A (en) * 2016-11-04 2017-03-22 北京金自天正智能控制股份有限公司 Motor soft start DSP control panel integrating PROFIBUS protocol

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201673398U (en) * 2010-05-14 2010-12-15 盛云科技有限公司 On site bus cluster curing barn centralized control system
CN202093383U (en) * 2011-05-31 2011-12-28 天津市津达执行器有限公司 Field bus control module of VPC3+C chip-based electric execution mechanism
CN102710478A (en) * 2012-05-22 2012-10-03 天津理工大学 Integration slave node device of Profibus-DP (profibus-data processing) and Modbus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201673398U (en) * 2010-05-14 2010-12-15 盛云科技有限公司 On site bus cluster curing barn centralized control system
CN202093383U (en) * 2011-05-31 2011-12-28 天津市津达执行器有限公司 Field bus control module of VPC3+C chip-based electric execution mechanism
CN102710478A (en) * 2012-05-22 2012-10-03 天津理工大学 Integration slave node device of Profibus-DP (profibus-data processing) and Modbus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533267A (en) * 2016-11-04 2017-03-22 北京金自天正智能控制股份有限公司 Motor soft start DSP control panel integrating PROFIBUS protocol

Similar Documents

Publication Publication Date Title
CN106021163B (en) For carrying out scrambled method and apparatus to high speed data transfer
JP2001506785A (en) IO and memory bus system for DFP and unit with programmable 2D or multidimensional cell structure
CN102959482B (en) Field equipment connecting and the communication system controlling equipment superposed
CN204537117U (en) A kind of FPGA remote online upgrade-system based on microprocessor
CN107703878B (en) A kind of PLC distributed remote I/O expansion module
CN108062230A (en) Serial port transparent transmission and program updating system and method in Internet range
CN107918545A (en) A kind of remote update system and its implementation based on ZYNQ
CN114238187B (en) FPGA-based full-stack network card task processing system
CN107483372B (en) Data transmission method and system based on industrial Internet of Things
CN106789258A (en) The collocation method of EPA
CN106874051A (en) A kind of multiple FPGA high speed dynamic loading device and method based on Ethernet
WO2021129992A1 (en) Sync network
Gu et al. Design of a distributed multiaxis motion control system using the IEEE-1394 bus
CN110321319A (en) System on chip
CN105978896A (en) Communication device for converting industry Ethernet slave station into Modbus master station
CN205721308U (en) A kind of DP intelligent object and PLC control system
CN104346584B (en) A kind of FPGA system encryption and method for parameter configuration
CN105988411A (en) DP intelligent module and PLC control system and method
CN104298936B (en) A kind of FPGA encryptions and parameter configuring system based on CPLD chips
CN109344115A (en) A kind of unitized FPGA configuration system and method and reconfiguration system and method
KR102153968B1 (en) A method for configurating memory map comprising service model block related to service provided by electronic device
Baglini et al. A real-time distributed architecture for large-scale tactile sensing
CN105137903A (en) Method for realizing PLC operation environment in SocFPGA
CN208861323U (en) A kind of high-speed secure encryption Micro SD card
CN204066120U (en) A kind of FPGA based on CPLD chip encrypts and parameter configuring 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20161005

RJ01 Rejection of invention patent application after publication