CN206584215U - A kind of PLC system and its principal and subordinate link structure - Google Patents
A kind of PLC system and its principal and subordinate link structure Download PDFInfo
- Publication number
- CN206584215U CN206584215U CN201720202177.9U CN201720202177U CN206584215U CN 206584215 U CN206584215 U CN 206584215U CN 201720202177 U CN201720202177 U CN 201720202177U CN 206584215 U CN206584215 U CN 206584215U
- Authority
- CN
- China
- Prior art keywords
- main frame
- slave
- plc system
- interface
- interfaces
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 claims abstract description 52
- 230000003993 interaction Effects 0.000 claims abstract description 39
- 238000006243 chemical reaction Methods 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 claims description 5
- 230000011664 signaling Effects 0.000 claims 1
- 230000008054 signal transmission Effects 0.000 abstract description 6
- 230000002708 enhancing effect Effects 0.000 abstract description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
- Programmable Controllers (AREA)
Abstract
The utility model provides a kind of PLC system and its principal and subordinate link structure, PLC system includes main frame and multiple slaves, the data interaction interface of main frame and the data interaction interface of multiple slaves are connected to communication bus, and the address signal interfaces of the address signal interfaces of main frame and multiple slaves are sequentially connected in series by data wire;OPADD signal when electric on main frame, and address signal is transferred to by data wire by each slave successively, it is each slave distribution address;Differential signal is transmitted by communication bus between main frame and each slave, to realize data interaction.The utility model is by providing a kind of principal and subordinate link structure of improved PLC system, by communication bus between main frame and slave differential signal transmission, realize the data interaction between main frame and slave, the address signal that main frame is exported is transmitted to slave by data wire, for slave distribute address, can effectively improve the communication speed between the main frame of PLC system and slave, enhancing antijamming capability and it is with low cost, be easily achieved.
Description
Technical field
The utility model embodiment belongs to PLC (Programmable Logic Controller, Programmable logical controller
Device) technical field, more particularly to a kind of PLC system and its principal and subordinate link structure.
Background technology
In PLC system, PLC system generally includes CPU (Central Processing Unit, central processing unit) mould
Other modules such as block and I/O (Input/Output, input and output) module, power module, the quantity of other modules can basis
It is actually needed and is extended.The CPU module of PLC system is as main frame, and other each modules are as slave, between main frame and each slave
Data interaction is carried out by the way of bus communication.
However, the existing communication that the data interaction between the main frame of PLC system and slave is only realized by spi bus
There is the defects such as communication speed is low, antijamming capability is weak in mode, it is impossible to adapt to the industry development requirement gradually stepped up.
Utility model content
The utility model embodiment provides a kind of PLC system and its principal and subordinate link structure, by providing a kind of improved PLC
The principal and subordinate link structure of system, can effectively improve the communication speed between the main frame of PLC system and slave, strengthen anti-interference energy
Power and it is with low cost, be easily achieved.
On the one hand the utility model embodiment provides a kind of principal and subordinate link structure of PLC system, and the PLC system includes master
It is total that machine and multiple slaves, the data interaction interface of the main frame and the data interaction interface of the multiple slave are connected to communication
The address signal interfaces of line, the address signal interfaces of the main frame and the multiple slave are sequentially connected in series by data wire;
OPADD signal when electric on the main frame, and be transferred to the address signal often successively by the data wire
Individual slave, is each slave distribution address;Difference is transmitted between the main frame and each slave by the communication bus to believe
Number, to realize data interaction.
It is preferred that, the data interaction interface of the main frame and the data interaction interface of the multiple slave are SPI interface,
The communication bus is spi bus, and transmitting three pairs of difference by the spi bus between the main frame and the multiple slave believes
Number, the data interaction interface of the main frame and the data interaction interface of the multiple slave respectively pass through a differential signal modulus of conversion
Block is connected to the communication bus.
It is preferred that, by described between the SDI ends of the SDI ends of the SPI interface of the main frame and the SPI interface of each slave
SDI lines in spi bus transmit first pair of differential signal in three pairs of differential signals, the SDO of the SPI interface of the main frame
Three pairs of differential signals are transmitted by the SDO lines in the spi bus between the SDO ends of the SPI interface of end and each slave
In second pair of differential signal, between the SCLK ends of the SPI interface of the main frame and the SCLK ends of the SPI interface of each slave lead to
The 3rd pair of differential signal crossed in SCLK lines transmission three pairs of differential signals in the spi bus.
It is preferred that, the data interaction interface of the main frame and the data interaction interface of the multiple slave are asynchronous serial
Communication interface, the communication bus is asynchronous serial communication bus.
It is preferred that, the asynchronous serial communication interface is RS485 interfaces or RS422 interfaces, and the asynchronous serial communication is total
Line is RS485 buses corresponding with the asynchronous serial communication interface or RS422 buses.
It is preferred that, the asynchronous serial communication interface is RS485 interfaces, and the asynchronous serial communication bus is that RS485 is total
Line;
The data that the data of the RS485 interfaces of the main frame receive the RS485 interfaces of anode and each slave receive anode
Between positive phase signals in the differential signal, the RS485 interfaces of the main frame are transmitted by A lines in the RS485 buses
The data of the data RS485 interfaces that receive negative terminal and each slave receive between negative terminal by the B lines in the RS485 buses
Transmit the inversion signal in the differential signal.
It is preferred that, the address signal interfaces of the address signal interfaces of the main frame and the multiple slave are I/O interfaces.
On the other hand the utility model embodiment also provides a kind of PLC system, and its principal and subordinate for including above-mentioned PLC system connects
Binding structure.
The utility model embodiment passes through communication bus by providing a kind of principal and subordinate link structure of improved PLC system
The differential signal transmission between main frame and slave, to realize the data interaction between main frame and slave, by data wire by main frame
The address signal of output is transmitted to slave, is slave distribution address, can be effectively improved between the main frame of PLC system and slave
Communication speed, enhancing antijamming capability and it is with low cost, be easily achieved.
Brief description of the drawings
, below will be to needed for embodiment description in order to illustrate more clearly of the technical scheme in the utility model embodiment
The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present utility model,
For those of ordinary skill in the art, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings
Other accompanying drawings.
Fig. 1 is the structured flowchart of the principal and subordinate link structure for the PLC system that one embodiment of the present utility model is provided;
Fig. 2 is the structured flowchart of the principal and subordinate link structure for the PLC system that one embodiment of the present utility model is provided;
Fig. 3 is the structured flowchart of the principal and subordinate link structure for the PLC system that one embodiment of the present utility model is provided.
Embodiment
In order that those skilled in the art more fully understand the utility model scheme, it is real below in conjunction with the utility model
The accompanying drawing in example is applied, the technical scheme in the utility model embodiment is explicitly described, it is clear that described embodiment
It is the embodiment of the utility model part, rather than whole embodiments.Based on the embodiment in the utility model, this area
The every other embodiment that those of ordinary skill is obtained under the premise of creative work is not made, should all belong to this practicality
Novel protected scope.
Term " comprising " and their any changes in specification and claims of the present utility model and above-mentioned accompanying drawing
Shape, it is intended that covering is non-exclusive to be included.
As shown in figure 1, one embodiment of the present utility model provides a kind of principal and subordinate link structure of PLC system, the PLC systems
System includes main frame 10 and multiple slaves (multiple slaves are expressed as into 21,22 ... 2N in the present embodiment).
In a particular application, the quantity of slave can also be one or two.
As shown in figure 1, the annexation between the main frame and slave of the PLC system that the present embodiment is provided is:
The data interaction interface of main frame 10 and multiple 21~2N of slave data interaction interface are connected to communication bus 30,
The address signal interfaces of main frame 10 and multiple 21~2N of slave address signal interfaces are sequentially connected in series by data wire 40.
In the present embodiment, communication bus 30 is used to transmit a pair of differential signals, and differential signal includes a pair of opposite in phase
Positive phase signals (D+ is expressed as in Fig. 1) and inversion signal (D- is expressed as in Fig. 1), therefore, corresponding, communication bus 30 is also wrapped
Include two signal wires for being respectively used to transmit positive phase signals and inversion signal.
In a particular application, communication bus is specifically as follows synchronous serial communication bus or asynchronous serial communication bus, example
Such as SPI (Serial Peripheral Interface, Serial Peripheral Interface (SPI)) bus, RS485 buses or RS422 buses, correspondence
, data interaction interface is specifically as follows SPI interface, RS485 interfaces or RS422 interfaces;Address signal interfaces are specifically as follows
I/O interfaces.
In a particular application, PLC system also includes the differential data process chip being connected with communication bus, for controlling difference
The transmission of sub-signal.
The operation principle of the principal and subordinate link structure for the PLC system that the present embodiment is provided is:
OPADD signal when electric on main frame, and address signal is transferred to by data wire by each slave successively, it is every
Individual slave distributes address;Differential signal is transmitted by communication bus between main frame and each slave, to realize data interaction.
The present embodiment by providing a kind of principal and subordinate link structure of improved PLC system, by communication bus in main frame and
Differential signal transmission between slave, to realize the data interaction between main frame and slave, the ground for being exported main frame by data wire
Location signal is transmitted to slave, is slave distribution address, can effectively improve the communication speed between the main frame of PLC system and slave
Rate, enhancing antijamming capability and it is with low cost, be easily achieved.
As shown in Fig. 2 in one embodiment of the present utility model, the data interaction interface and multiple slaves 21 of main frame 10
~2N (i.e. 21,22 ... 2N altogether N number of slave) data interaction interface is SPI interface, and communication bus 30 is spi bus, main
The address signal interfaces of machine 10 and multiple 21~2N of slave address signal interfaces are I/O interfaces, main frame 10 and multiple slaves
Between 21~2N by spi bus transmit three pairs of differential signals (three pairs of differential signals are expressed as D1+, D1- in Fig. 2, D2+,
D2- and D3+, D3-), the data interaction interface of main frame 10 and multiple 21~2N of slave data interaction interface respectively pass through a difference
Sub-signal modular converter is connected to the (differential signal conversion module corresponding with each data interaction interface in Fig. 2 of communication bus 30
It is expressed as 40,41,42 ... 4N).
In a particular application, because SPI interface can not directly generate differential signal, it is therefore desirable in the data of SPI interface
Output end connects a differential signal conversion module to convert data to differential signal, the difference corresponding to each SPI interface
Signal conversion module may belong to the part of its corresponding main frame or slave, and (i.e. differential signal conversion module is corresponding
Main frame or slave integrated setting), can also be independently of setting (i.e. differential signal modulus of conversion outside its corresponding main frame or slave
Block as its corresponding main frame or slave peripheral apparatus presence).
In a particular application, differential signal conversion module can be specifically differential converter or difference chip,
Can have the integrated circuit or chip of differential signal translation function to realize by other, specifically can be according to actual needs
Selected, the particular type of differential signal conversion module is not particularly limited in the present embodiment.
The SPI interface of main frame SDI (main equipment data input) end pass through spi bus in SDI lines respectively with it is each from
SDI lines in the SDI ends connection of the SPI interface of machine, spi bus are used to transmit first pair of difference in three pairs of differential signals
Signal;SDO (main equipment data output) ends of the SPI interface of main frame pass through the SPI of SDO lines and each slave in spi bus
SDO lines in the SDO ends connection of interface, spi bus are used to transmit second pair of differential signal in three pairs of differential signals;It is main
SCLK in SCLK (clock signal) ends of the SPI interface of machine and the SCLK ends connection of the SPI interface of each slave, spi bus
Line transmits the 3rd pair of differential signal in three pairs of differential signals.Wherein, first pair of differential signal and second pair of differential signal
It is communicating data signals, the 3rd pair of differential signal is clock signal.
The present embodiment realizes the data interaction between main frame and slave by using synchronous serial communication interface, can be by
Data communication rates are improved to 12MHZ, and strong antijamming capability, with low cost, it is easy to accomplish, data biography can be effectively improved
Defeated speed, and strong antijamming capability.
As shown in figure 3, in one embodiment of the present utility model, the data interaction interface and multiple slaves 21 of main frame 10
~2N data interaction interface is RS485 interfaces, and communication bus 30 is RS485 buses, the address signal interfaces of main frame 10
Address signal interfaces with multiple 21~2N of slave are I/O interfaces.
The data of the RS485 interfaces of main frame receive anode by the A lines in RS485 buses respectively with each slave
RS485 interfaces are connected, the positive phase signals that the A lines in RS485 buses are used in differential signal transmission, the RS485 interfaces of main frame
Data receive negative terminal and are connected respectively with the RS485 interfaces of each slave by the B lines in RS485 buses, the B in RS485 buses
The inversion signal that line is used in differential signal transmission.
In a particular application, RS485 interfaces can be using equivalence replacement as RS422 interfaces, and similarly RS485 buses can also be waited
Effect replaces with RS422 buses.
The present embodiment realizes the data interaction between main frame and slave by using asynchronous serial communication interface, can be by
Data communication rates are improved to 10MHZ, and with low cost, it is easy to accomplish.
The principal and subordinate link structure for the PLC system that above-described embodiment of the present utility model is provided, by making main frame pass through communication
Bus is connected and differential signal transmission with each slave respectively, and by tandem data-signal is transmitted successively in the absence of traditional
PLC system present in signal latency issue, the data-signal between different slaves will not produce interference, therefore can be effective
Data transmission efficiency is improved, strong antijamming capability can also effectively improve the unit valid data handling capacity of system.
One embodiment of the present utility model also provides a kind of PLC system, including the PLC that any of the above-described embodiment is provided
The principal and subordinate link structure of system.
It should be noted that annexation in all embodiments of the invention is not direct by corresponding on practical significance
The physical couplings realized of solid data line, and refer to meet patrolling for above-mentioned logical relation in data transfer mode
Collect annexation.
Preferred embodiment of the present utility model is the foregoing is only, it is all at this not to limit the utility model
Any modifications, equivalent substitutions and improvements made within the spirit and principle of utility model etc., should be included in the utility model
Protection domain within.
Claims (8)
1. a kind of principal and subordinate link structure of PLC system, the PLC system includes main frame and multiple slaves, it is characterised in that described
The data interaction interface of main frame and the data interaction interface of the multiple slave are connected to communication bus, the address of the main frame
The address signal interfaces of signaling interface and the multiple slave are sequentially connected in series by data wire;
OPADD signal when electric on the main frame, and by the data wire by the address signal be transferred to successively it is each from
Machine, is each slave distribution address;Differential signal is transmitted by the communication bus between the main frame and each slave, with
Realize data interaction.
2. the principal and subordinate link structure of PLC system as claimed in claim 1, it is characterised in that the data interaction of the main frame connects
The data interaction interface of mouth and the multiple slave is SPI interface, and the communication bus is spi bus, the main frame and institute
State between multiple slaves and three pairs of differential signals are transmitted by the spi bus, the data interaction interface of the main frame and described many
The data interaction interface of individual slave is respectively connected to the communication bus by a differential signal conversion module.
3. the principal and subordinate link structure of PLC system as claimed in claim 2, it is characterised in that the SPI interface of the main frame
Three pairs of difference are transmitted between the SDI ends of the SPI interface of SDI ends and each slave by the SDI lines in the spi bus to believe
Lead between the SDO ends of first pair of differential signal in number, the SDO ends of the SPI interface of the main frame and the SPI interface of each slave
The second pair of differential signal crossed in SDO lines transmission three pairs of differential signals in the spi bus, the SPI of the main frame connects
Pass through the SCLK lines transmission described three in the spi bus between the SCLK ends of mouth and the SCLK ends of the SPI interface of each slave
To the 3rd pair of differential signal in differential signal.
4. the principal and subordinate link structure of PLC system as claimed in claim 1, it is characterised in that the data interaction of the main frame connects
The data interaction interface of mouth and the multiple slave is asynchronous serial communication interface, and the communication bus is asynchronous serial communication
Bus.
5. the principal and subordinate link structure of PLC system as claimed in claim 4, it is characterised in that the asynchronous serial communication interface
For RS485 interfaces or RS422 interfaces, the asynchronous serial communication bus is corresponding with the asynchronous serial communication interface
RS485 buses or RS422 buses.
6. the principal and subordinate link structure of PLC system as claimed in claim 4, it is characterised in that the asynchronous serial communication interface
For RS485 interfaces, the asynchronous serial communication bus is RS485 buses;
The data that the data of the RS485 interfaces of the main frame receive the RS485 interfaces of anode and each slave receive between anode
Positive phase signals in the differential signal, the number of the RS485 interfaces of the main frame are transmitted by the A lines in the RS485 buses
Receive to transmit by the B lines in the RS485 buses between negative terminal according to the data for the RS485 interfaces for receiving negative terminal and each slave
Inversion signal in the differential signal.
7. the principal and subordinate link structure of PLC system as claimed in claim 1, it is characterised in that the address signal of the main frame connects
The address signal interfaces of mouth and the multiple slave are I/O interfaces.
8. a kind of PLC system, it is characterised in that include the principal and subordinate link of the PLC system as described in any one of claim 1~7
Structure.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201720202177.9U CN206584215U (en) | 2017-03-01 | 2017-03-01 | A kind of PLC system and its principal and subordinate link structure |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201720202177.9U CN206584215U (en) | 2017-03-01 | 2017-03-01 | A kind of PLC system and its principal and subordinate link structure |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN206584215U true CN206584215U (en) | 2017-10-24 |
Family
ID=60111603
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201720202177.9U Active CN206584215U (en) | 2017-03-01 | 2017-03-01 | A kind of PLC system and its principal and subordinate link structure |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN206584215U (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106873513A (en) * | 2017-03-01 | 2017-06-20 | 深圳市亿维自动化技术有限公司 | A kind of PLC system and its principal and subordinate link structure |
| CN111552227A (en) * | 2020-05-20 | 2020-08-18 | 苏州精濑光电有限公司 | Communication system and method based on programmable logic controller |
-
2017
- 2017-03-01 CN CN201720202177.9U patent/CN206584215U/en active Active
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106873513A (en) * | 2017-03-01 | 2017-06-20 | 深圳市亿维自动化技术有限公司 | A kind of PLC system and its principal and subordinate link structure |
| CN111552227A (en) * | 2020-05-20 | 2020-08-18 | 苏州精濑光电有限公司 | Communication system and method based on programmable logic controller |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106873513A (en) | A kind of PLC system and its principal and subordinate link structure | |
| CN101931434B (en) | Network data conversion method based on power line carrier communication | |
| CN206584215U (en) | A kind of PLC system and its principal and subordinate link structure | |
| CN107168045A (en) | A kind of communication redundancy control system based on EtherCAT | |
| CN103972909A (en) | TSC (thyristor switched capacitor) system and RS485 communication method thereof based on FPGA (Field Programmable Gate Array) | |
| CN103064360B (en) | A kind of data transfer tele-control system based on dual port RAM | |
| CN103885349A (en) | Device for controlling multiplexing of communication serial ports of instrument | |
| CN201127024Y (en) | Two-way CAN bus and RS-232 serial communication interface | |
| CN207543138U (en) | A kind of data transmission system of more industrial bus | |
| CN210380922U (en) | Protocol conversion device and system | |
| CN201867802U (en) | Serial communication protocol converter | |
| CN107966936A (en) | A kind of RS485 telecommunication circuits | |
| CN207637147U (en) | It is a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries | |
| CN207529181U (en) | A kind of RS485 telecommunication circuits | |
| CN211791594U (en) | Protocol converter for gas field station instrument | |
| CN204168006U (en) | A kind of hardware structure of the power automatic device based on LVDS switching system | |
| CN204129454U (en) | A kind of data conversion adaptive circuit and electronic equipment | |
| CN107707558B (en) | Data transmission system of multi-industry bus | |
| CN203859765U (en) | Adapter for conversion from single-path wired cable to ethernet bus | |
| CN201533316U (en) | Power-line carrier adapter and power-line carrier communication equipment provided therewith | |
| CN202189463U (en) | M-bus host of collector | |
| CN201550116U (en) | A network communication converter | |
| CN210431455U (en) | Coupler module based on Profinet bus | |
| CN205485457U (en) | Intelligent data acquisition system and device | |
| CN105336153A (en) | Industrial field control device based on optical communication |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| GR01 | Patent grant | ||
| GR01 | Patent grant |