CN100511051C - Share connection expansion method of controller and device thereof - Google Patents

Share connection expansion method of controller and device thereof Download PDF

Info

Publication number
CN100511051C
CN100511051C CNB2006100875210A CN200610087521A CN100511051C CN 100511051 C CN100511051 C CN 100511051C CN B2006100875210 A CNB2006100875210 A CN B2006100875210A CN 200610087521 A CN200610087521 A CN 200610087521A CN 100511051 C CN100511051 C CN 100511051C
Authority
CN
China
Prior art keywords
controller
interface
transmission interface
plc
connects
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2006100875210A
Other languages
Chinese (zh)
Other versions
CN101089761A (en
Inventor
廖世杰
黄泰璁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Delta Electronics Inc
Delta Optoelectronics Inc
Original Assignee
Delta Optoelectronics Inc
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 Delta Optoelectronics Inc filed Critical Delta Optoelectronics Inc
Priority to CNB2006100875210A priority Critical patent/CN100511051C/en
Publication of CN101089761A publication Critical patent/CN101089761A/en
Application granted granted Critical
Publication of CN100511051C publication Critical patent/CN100511051C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

A method for expanding shared connection of controller includes building PLC separately in internal of multiple controller, forming internal communication between various controllers through signal transmission interface to coordinate with build-in setting program and to detect unused transmission interface in build-in PLC of controller, forming another expansion interface of controller through share-setting and interface function-setting.

Description

The expanding shared connection of controller and device thereof
Technical field
The present invention relates to a kind of controller, relate in particular to a kind of at the built-in programmable logic controller (PLC) of controller (PLC), when the signal between a plurality of controllers transmits, can detect the untapped transmission interface of the built-in programmable logic controller (PLC) of a certain controller (PLC), to share, use as extended interface to other controller.
Background technology
As everyone knows, each quasi-controller such as frequency converter, server, human-computer interface device, temperature control module have been applied to having in the electric of motor device and the electronic product control operation at present.But the connection of above-mentioned various controllers and operation control, all be to realize by built-in programmable logic controller (PLC) (PLC), and can be directly by programmable logic controller (PLC) controls internal storage output control signal, form and do not have delay, Noise Control controller function, it has a plurality of for setting of pin bit function and the outside terminal that is connected, and expands and control by add-in program editor pin bit function with the cooperation demand.But can only being limited in, controller realizes in the default transmission interface quantity of programmable logic controller (PLC) (PLC) being connected control with the outside.If when wanting to expand, just need repurchase enlargement module (expansion board).
With regard to the frequency converter that has programmable logic controller (PLC) (PLC) in general, as shown in Figure 1, this biography is counted interface and mainly is provided with simulating signal connecting interface (Analog input/output) 11,12, digital signal connecting interface (Digital In/Out) 13,14 and fixing transmission interface such as communication interface (Communication) 15, in reality connection and control are used, unavoidably there be the demand for control of user according to reality, need to expand frequency converter 1 and the outside transmission interface quantity that is connected, at this moment, the user often will buy each simulating signal again and connect adapter (Analog input/output card), digital signal connects adapter (Digital In/Outcard) and communications adapter (Communication card), and extendibility is limited.When the user buys frequency converter more than two groups; the transmission interface of the programmable logic controller (PLC) (PLC) that the outer frequency converter of its primary controller is built-in is understood some usually and is not used; perhaps the user need control by the mechanism of communication, yet this needs the user to expend the too much time to go to write suitable communicating by letter and control program with human cost usually.
Summary of the invention
Fundamental purpose of the present invention, be to address the aforementioned drawbacks, avoid defective to exist, according to the present invention, when a plurality of controllers communicate to connect, can detect untapped transmission interface in the built-in programmable logic controller (PLC) of each controller (PLC), share and the interface function setting by program setting, use as extended interface for other controller, to reduce the cost of buying expansion board.
For achieving the above object, the invention provides a kind of shared connection expanding device of controller, comprising:
A plurality of controllers, The built-in has programmable logic controller (PLC), and this programmable logic controller (PLC) has a plurality of transmission interfaces; And
Signal transmission interface, be electrically connected between above-mentioned a plurality of controller, when signal transmission interface is connected to form intercommunication, can detect the untapped transmission interface of the built-in programmable logic controller (PLC) of arbitrary controller (PLC), set and the interface function setting by sharing, can be used as the extended interface of other controller.
To achieve these goals, the invention provides a kind of expanding shared connection of controller, its method step comprises:
Provide a plurality of controllers, built-in programmable logic controller (PLC) (PLC) in each controller, a plurality of connecting interfaces, and built-in program; And
Between above-mentioned a plurality of controllers, establish a communications link, by communicate to connect detect each controller untapped transmission interface in the built-in programmable logic controller (PLC) (PLC), and untapped transmission interface shared by program set and interface function is set, use as the transmission interface that expands for other controller.
Description of drawings
Fig. 1 is that known frequency converter connecting interface expands the framework block diagram;
Fig. 2 is the shared formula expanded structure block diagram of one embodiment of the invention;
Fig. 3 is the shared formula expansion connection diagram that the present invention is applied to frequency converter embodiment;
Fig. 4 is the method step process flow diagram of one embodiment of the invention;
Fig. 5 is that the not use interface of one embodiment of the invention detects and the shared flow chart of steps of setting; And
Fig. 6 is that the call duration time of a plurality of master controllers in interface inquiry step of one embodiment of the invention divided the setting synoptic diagram.
In the accompanying drawing, the list of parts of each label representative is as follows:
Known primary clustering symbol description:
Frequency converter 1
Simulating signal connecting interface 11,12
Digital signal connecting interface 13,14
Communication connection interface 15
Primary clustering symbol description of the present invention:
Controller 2,3,4
First 2a of system
Second 4a of system
Signal transmission interface 5,9
First frequency converter 7
Second frequency converter 8
Analog input interface 21,31,41
Analog signal output interface 22,32,42
Digital signal input interface 23,33,43
Digital signal output interface 24,34,44
Communication interface 25,35,45
Digital input interface 71,72,81,82
Digital output interface 73,74,83,84
Analog input interface 75,85
Simulation output interface 76,86
Process step 600~606
Process step 610~620
Embodiment
Below in conjunction with accompanying drawing technology contents of the present invention is elaborated:
Fig. 2 is the shared connection expanding device block diagram of controller of the present invention.As shown in the figure: the shared connection expanding device of controller of the present invention comprises a plurality of controllers 2,3,4 that are electrical connection, and aforesaid each the controller all built-in programmable logic controller (PLC)s in 2,3,4 inside (PLC) (not shown), this programmable logic controller (PLC) (PLC) comprises analog input interface (Analog input) 21,31,41 to the transmission interface of the control end connection of outside; Analog signal output interface (Analog output) 22,32,42; Digital signal input interface (Digital In) 23,33,43; Digital signal output interface (Digital Out) 24,34,44 and communication interface (Communication) 25,35,45 etc.When above-mentioned controller 2,3,4 moves, if the transmission interface (empty pin position) that some controllers are arranged is not when being used, can share to another controller and use, to reach the shared utilization of transmission interface (empty pin position), can save cost and usage quantity that expansion board spends, The whole control is connected be more prone to, efficient.
Above-mentioned controller 2,3,4 is made a general reference the may command unit that has programmable logic controller (PLC) (PLC) in various, comprises any of frequency converter, server, human-computer interface device, temperature control module etc.The signal transmission interface 5 that controller is 2,3,4, be meant the intercommunication mutually that forms 2,3,4 of each controllers by CANBUS, RS485 or internetwork connection mode, by communications interface 5, controller 2,3,4 can be known the remaining each other transmission interface that is not used, and untapped transmission interface is shared to the controller use that needs.Like this, just can utilize the obsolete transmission interface of other controller to come, or give different systems and use, expand cost with effective reduction as expansion from body controller.
As shown in Figure 2, as three group controllers 2,3,4 o'clock, controller 2,4 can be set at main (master), and be divided into first 2a of system and second 4a of system, and the transmission interface of controller 3 will be split into three parts, first is the untapped digital signal input interface of programmable logic controller (PLC) (PLC) (Digital input) 33 that controller 3 is built-in, sets as sharing for controller 2, forms the connecting interface that the extendibility of controller 2 is used; Second portion is analog input interface (Analog input) 31 and digital signal output interface (Digital Out) 34; Third part is with untapped analog signal output interface of the programmable logic controller (PLC) of controller 3 (PLC) (Analog output) 32 and communication interface (Communication) 35, set as sharing and use the connecting interface that the extendibility of formation controller 4 is used for controller 4.
Fig. 3 is the shared expansion connection diagram that is applied to frequency converter embodiment of the present invention.As shown in the figure: at programmable logic controller (PLC) (PLC, when Programmable Logic-Controller) being integrated in first and second frequency converter 7,8 inside, first frequency converter 7 is electrically connected with second frequency converter 8 by signal transmission interface 9, and first and second frequency converter 7,8 is respectively equipped with two-digit input interface (DI0, DI1) 71,72,81,82; Two-digit output interface (DO0, DO1) 73,74,83,84; An analog input interface (AI0) 75,85 and simulations output interface (AO0) 76,86.
Can predict first frequency converter, 7 built-in programmable logic controller (PLC)s (PLC) by the connection of built-in program by internal signal transmission interface 9 and use a digital input interface (DI0) 71, two-digit output interface (DO0, DO1) 73,74 and analog input interfaces (AI0) 75; In other words, first frequency converter, 7 built-in programmable logic controller (PLC)s (PLC) have a untapped digital input interface (DI1) 72 and simulations output interface (AO0) 76, the user can set for other frequency converter by program and interface function and expand use, certainly the user can further cooperate the ID parameter of setting second frequency converter 8, the extendibility connecting interface that makes first frequency converter, the 7 built-in untapped digital input interface of programmable logic controller (PLC) (PLC) (DI1) 72 and simulations output interfaces (AO0) 76 be set at second frequency converter 8 uses, in other words, second frequency converter 8 can directly utilize built-in programmable logic controller (PLC) (PLC) or parameter directly to control and share a untapped digital input interface (DI1) 72 and simulations output interface (AO0) 76 of first frequency converter 7.
Since the present invention with a plurality of controllers by communicating to connect, utilize built-in program can learn each controller the built-in untapped transmission interface of programmable logic controller (PLC) (PLC), and shared and interface function setting by program setting, expand use for other controller that communicates to connect, the outside that can expand controller connects, improve its extendibility and fully use untapped transmission interface, also reduced the cost of buying and dispose expansion board.
Fig. 4 has shown the above-mentioned expanding device embodiment according to the present invention, connects the schematic flow sheet of an embodiment of extending method with the shared formula of carrying out controller, describes the operating process of the inventive method in detail.
As step 600, a plurality of controllers are provided, and in each controller, have programmable logic controller (PLC) (PLC), this programmable logic controller (PLC) (PLC) has a plurality of transmission interfaces;
In Connection Step,,, between above-mentioned a plurality of controllers, set up communicating to connect of intercommunication mutually by communications modes such as CANBUS, RS485 or networks as step 602;
Then, in detecting step, as step 604, by above-mentioned built-in program by each controller of signal transmission interface joint detection the untapped transmission interface of built-in programmable logic controller (PLC) (PLC);
Then, share in the setting step at interface, as step 606, outside according to each controller connects the control requirement, with each controller of above-mentioned detection the built-in untapped transmission interface of programmable logic controller (PLC) (PLC), share setting and interface function setting by program, use as the connecting interface that expands for other controller that communicates to connect.
Fig. 5 has shown that the shared formula of controller of the present invention connects extending method, in detecting the shared setting of step and interface step, does not use the detection of transmission interface and shares the steps flow chart of setting for programmable logic controller (PLC) in the controller (PLC), comprising:
Start each controller, as step 610, the master controller that comprises at least one setting that communicates to connect (as shown in Figure 2, controller 2,4 is set at main (master)), and at least one is set at slave controller (as shown in Figure 2, controller 3 is set at the controller that can share transmission interface), master controller judges whether use expansion programmable logic controller (PLC) (PLC) function;
Postpone and the warming-up step, as step 612, behind above-mentioned each controller setting up procedure, use the function that expands programmable logic controller (PLC) (PLC) if desired, then master controller can postpone a period of time wait warming-up, and this warming-up program is to pass through parameter-definition by the user;
Expand in the determination step at interface,, whether will use the function that expands programmable logic controller (PLC) (PLC) according to parameter decision by the master controller of setting as step 614;
Interface inquiry step, whether master controller will read each slave controller through communicating to connect again according to parameter decision, as step 616; If be set at be, whether master controller will send interrogating signal one by one has sharable transmission interface to each slave controller inquiry, and slave controller detects and sends the signal that untapped transmission interface is arranged oneself automatically according to the query signal, as step 618, in other words, if master controller is carried out the inquiry of not using interface to a slave controller, return path signal is when not having to share interface, master controller can wait a period of time earlier, waiting time is to pass through parameter setting by the user, and lasting master controller has by the time been inquired all slave controllers;
In addition, under the situation that is provided with a plurality of master controllers (Master), in above-mentioned interface inquiry step, each master controller (Master) is by communicating to connect to each slave controller to send whether sharable transmission interface interrogating signal is arranged, cause blurring for fear of sending simultaneously, the call duration time that interrogating signal transmits is set by dividing, if 4 master controllers (Master) are arranged, then call duration time is divided into 4 equal portions, as shown in Figure 6, wherein set and use by first master controller (Master) in the transmission channel of the first section time, and use by second master controller (Master) in the transmission channel of the second section time, by that analogy, and cycling, just can realize each master controller (Master) inquires whether each slave controller has sharable transmission interface, and slave controller detects and sends the signal that untapped transmission interface is arranged oneself automatically according to the query signal.
The correspondence that interface is shared is set step, and as step 620, master controller is carried out the inquiry result who obtains according to each step of above-mentioned interface inquiry step, can carry out internal processes to change corresponding slave controller and untapped transmission interface thereof.
Being set as follows of the parameter literary style of above-mentioned corresponding slave controller in programmable logic controller (PLC) (PLC), for example the literary style of input of user's numeral and output interface is 0xAABB, wherein AA is the name of station of slave controller slave station, and BB is numeral input and the output of sharing.In addition, analog input and output interface be for corresponding to 2 inner buffers of programmable logic controller (PLC) (PLC), and one of them is corresponding to from the station control name, and another is a numerical value, is 0~FFFF as the numerical value in 16.
Share extending method by above-mentioned interface, the transmission interface that makes the built-in programmable logic controller (PLC) of each controller (PLC) is by efficient application, the user can set up the untapped transmission interface of each controller on their own to share to other controller use simultaneously, and the function of setting each the untapped transmission interface that is shared, thereby reach the maneuverability of expansion, and reduce the cost of purchasing expansion board in addition.
The above is the preferred embodiments of the present invention only, is not so promptly limits claim of the present invention, and the equivalence that claim and description are carried out according to the present invention changes or modifies, and should belong to patent covering scope of the present invention.

Claims (23)

1, a kind of shared connection expanding device of controller, described device comprises:
A plurality of controllers;
A plurality of programmable logic controller (PLC)s are built in a described controller inside in each described programmable logic controller (PLC), each described programmable logic controller (PLC) has a plurality of outside transmission interfaces that connect;
At least one signal transmission interface, it is electrically connected between described a plurality of controller;
Wherein, when being connected to form intercommunication by described signal transmission interface between the described controller, can detect the untapped outside transmission interface that connects of the built-in programmable logic controller (PLC) of arbitrary controller, set and the interface function setting by sharing, as the outside connection extended interface of other controller.
2, the shared connection expanding device of controller as claimed in claim 1, wherein, described a plurality of controllers are frequency converter.
3, the shared connection expanding device of controller as claimed in claim 1, wherein, described a plurality of controllers are server.
4, the shared connection expanding device of controller as claimed in claim 1, wherein, described a plurality of controllers are human-computer interface device.
5, the shared connection expanding device of controller as claimed in claim 1, wherein, described a plurality of controllers are temperature control module.
6, the shared connection expanding device of controller as claimed in claim 1, wherein, described signal transmission interface is CANBUS.
7, the shared connection expanding device of controller as claimed in claim 1, wherein, described signal transmission interface is RS485.
8, the shared connection expanding device of controller as claimed in claim 1, wherein, described signal transmission interface is the Internet.
9, a kind of shared formula of controller connects extending method, and described method step comprises:
A) provide a plurality of controllers, have programmable logic controller (PLC) in each controller, each described programmable logic controller (PLC) has and the outside outside connection transmission interface that is connected;
B) between described a plurality of controllers, communicate to connect mutually to set up by the signal transmission interface connection;
C), detect the untapped outside transmission interface that connects of the built-in programmable logic controller (PLC) of each controller by described signal transmission interface communication; And
D) the untapped outside transmission interface that connects of programmable logic controller (PLC) that arbitrary described controller is built-in is set and interface function is set by sharing, and the outside of expanding as other controller in described a plurality of controllers connects transmission interface and uses.
10, the shared formula of controller as claimed in claim 9 connects extending method, and wherein, described a plurality of controllers further comprise: at least one is set at master controller and at least one is set at slave controller.
11, the shared formula of controller as claimed in claim 9 connects extending method, and wherein, untapped outside detection and the shared setting process step that connects transmission interface of described each controller internal programmable logic controller comprises:
A) start described each controller that communicates to connect, comprise described at least one master controller and described at least one slave controller of setting;
B) by the master controller of described setting, whether to use the function that expands described programmable logic controller (PLC) according to parameter decision;
C) whether described master controller will read described each slave controller through communicating to connect again according to parameter decision;
D) according to the setting requirement that will read described each slave controller that communicates to connect again, whether have sharable outside connect transmission interface, described each slave controller detects automatically and sends according to described interrogating signal oneself the untapped outside signal that connects transmission interface by described master controller if sending the interrogating signal inquiry one by one to described each slave controller; And
E) described master controller is carried out the inquiry result who obtains according to each step of above-mentioned interface inquiry step, can carry out internal processes to change corresponding slave controller and the untapped outside transmission interface that connects thereof.
12, the shared formula of controller as claimed in claim 11 connects extending method, wherein, described process step further comprises: in described step (b) afterwards, if will use the function that expands described programmable logic controller (PLC), described master controller will postpone a period of time wait warming-up.
13, the shared formula of controller as claimed in claim 12 connects extending method, wherein, described warming-up program by the user according to parameter-definition.
14, the shared formula of controller as claimed in claim 11 connects extending method, wherein, described master controller is carried out the inquiry of not using interface to a slave controller, when return path signal when not having to share interface, described master controller can be carried out the stand-by period of setting, has inquired all described slave controllers up to described master controller.
15, the shared formula of controller as claimed in claim 14 connects extending method, and wherein, the described stand-by period is to pass through parameter setting by the user.
16, the shared formula of controller as claimed in claim 10 connects extending method, wherein, described method further comprises: described a plurality of master controllers are to the outside communication that transmission interface is inquired that connects of not using of described slave controller, set several sections time by dividing call duration time, and only taken sending interrogating signal to each slave controller by a master controller a section time, and slave controller detects automatically and sends according to interrogating signal the untapped outside signal that connects transmission interface is arranged oneself.
17, the shared formula of controller as claimed in claim 9 connects extending method, and wherein, described signal transmission interface is CANBUS.
18, the shared formula of controller as claimed in claim 9 connects extending method, and wherein, described signal transmission interface is RS485.
19, the shared formula of controller as claimed in claim 9 connects extending method, and wherein, described signal transmission interface is the Internet.
20, the shared formula of controller as claimed in claim 9 connects extending method, and wherein, described a plurality of controllers are frequency converter.
21, the shared formula of controller as claimed in claim 9 connects extending method, and wherein, described a plurality of controllers are server.
22, the shared formula of controller as claimed in claim 9 connects extending method, and wherein, described a plurality of controllers are human-computer interface device.
23, the shared formula of controller as claimed in claim 9 connects extending method, and wherein, described a plurality of controllers are temperature control module.
CNB2006100875210A 2006-06-13 2006-06-13 Share connection expansion method of controller and device thereof Expired - Fee Related CN100511051C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100875210A CN100511051C (en) 2006-06-13 2006-06-13 Share connection expansion method of controller and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100875210A CN100511051C (en) 2006-06-13 2006-06-13 Share connection expansion method of controller and device thereof

Publications (2)

Publication Number Publication Date
CN101089761A CN101089761A (en) 2007-12-19
CN100511051C true CN100511051C (en) 2009-07-08

Family

ID=38943139

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100875210A Expired - Fee Related CN100511051C (en) 2006-06-13 2006-06-13 Share connection expansion method of controller and device thereof

Country Status (1)

Country Link
CN (1) CN100511051C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102332668A (en) * 2011-07-29 2012-01-25 铜陵富仕三佳机械有限公司 Signal concentrated transmission device based on switching values
EP2624084A1 (en) * 2012-02-03 2013-08-07 Siemens Aktiengesellschaft Scalable architecture for human machine interface device
CN110456726B (en) * 2019-07-30 2022-07-29 深圳市云林电气技术有限公司 Interface extension method and device for programmable logic controller and frequency converter

Also Published As

Publication number Publication date
CN101089761A (en) 2007-12-19

Similar Documents

Publication Publication Date Title
CN101454731B (en) Addressing device and method, and converter
CN106878459B (en) Self-adaptive Internet of things intelligent gateway implementation method and equipment thereof
RU2454838C2 (en) Field device control along low-voltage wireless networks
US8239500B2 (en) Flexible graphical extension engine
CN103188122B (en) Communication system and communication method based on CAN (Controller Area Network)
CN107360068A (en) Household appliance controlling system, method and its equipment
CN102281254A (en) Design system and method of server serial port
CN101132328A (en) Real-time industry Ethernet EtherCAT communication controller
CN101477506A (en) Addressing system and method of master equipment to slave equipment
CN105425669B (en) Communication interface circuit and its control method and apply its household electrical appliance
CN105677605A (en) Highly-efficient interconnected system capable of configuring chips and realization system thereof and device
CN100511051C (en) Share connection expansion method of controller and device thereof
US9043178B2 (en) Operating method of sensor node, operating method of data sink in sensor network, and sensor network
CN102970325A (en) File upload method and system
CN102445981B (en) Data transmission system and data transmission method
CN105718403A (en) Expansion interface and method for data communication through same
KR20160016843A (en) Method for communicating data, communication controller and circuit arrangement
CN116074397A (en) Data sharing system
US20080126497A1 (en) Controller Apparatus with Shared Expansion Connection and Method for the same
CN106871336B (en) The RS485 bus control system and its control method of fresh air purifier
WO1991007719A3 (en) User interface for management
CN104603701B (en) input and output response control setting device
CN104714535B (en) The diagnostic method and its PLC system of PLC system
Hur et al. Building automation system via LonWorks and Linux based personal computer
US20090312886A1 (en) Temperature controller system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Assignee: Zhongda Photoelectric Industry (Wujiang) Co.,Ltd.

Assignor: Delta Optoelectronics Inc.

Contract record no.: 2011990001006

Denomination of invention: Share connection expansion method of controller and its device

Granted publication date: 20090708

License type: Exclusive License

Open date: 20071219

Record date: 20111027

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

Granted publication date: 20090708

Termination date: 20160613

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