CN107219822B - Serial communication branch equipment and serial communication system - Google Patents

Serial communication branch equipment and serial communication system Download PDF

Info

Publication number
CN107219822B
CN107219822B CN201710174979.8A CN201710174979A CN107219822B CN 107219822 B CN107219822 B CN 107219822B CN 201710174979 A CN201710174979 A CN 201710174979A CN 107219822 B CN107219822 B CN 107219822B
Authority
CN
China
Prior art keywords
slave
signal
serial communication
equipment
main equipment
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
Application number
CN201710174979.8A
Other languages
Chinese (zh)
Other versions
CN107219822A (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.)
Fanuc Corp
Original Assignee
Fanuc Corp
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 Fanuc Corp filed Critical Fanuc Corp
Publication of CN107219822A publication Critical patent/CN107219822A/en
Application granted granted Critical
Publication of CN107219822B publication Critical patent/CN107219822B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
    • G05B19/4144Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by using multiplexing for control system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
    • G06F13/364Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control using independent requests or grants, e.g. using separated request and grant lines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • G06F13/404Coupling between buses using bus bridges with address mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4247Bus transfer protocol, e.g. handshake; Synchronisation on a daisy chain bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/44Star or tree networks
    • 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/30Nc systems
    • G05B2219/31From computer integrated manufacturing till monitoring
    • G05B2219/31137Sercos serial real time communications system between servo and cpu

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)
  • Information Transfer Systems (AREA)
  • Numerical Control (AREA)

Abstract

The present invention provides a kind of serial communication branch equipment and serial communication system.The multiple slaves (14) being connected by daisy chain with main equipment (12) are branched into multiple systems by the serial communication branch equipment, are had: the 1st telecommunication circuit (30) for being communicated with the main equipment (12) for being connected to preceding-stage side;Multiple 2nd telecommunication circuits (32) for being communicated with the slave (14) for each system for being connected to rear-stage side;It is arranged between the 1st telecommunication circuit (30) and multiple 2nd telecommunication circuits (32), when being connected to the slave (14) of rear-stage side according to answer signal is sent to main equipment (12) from the transmission signal that main equipment (12) issue, the system that selection sends the slave (14) of answer signal exports the Systematic selection circuit (34) of the answer signal of selected system to main equipment (12).

Description

Serial communication branch equipment and serial communication system
Technical field
The present invention relates to the multiple slaves for being connected to main equipment are divided to the serial communication that multiple systems carry out branch Branch equipment and the serial communication system for having the serial communication branch equipment.
Background technique
In the past, between numerical control device and lathe, in order to carry out input signal (DI signal)/output signal (DO letter Number) input and output, multiple external signal input and output are connected to numerical value control with equipment (slave) in a daisy chain fashion Device (main equipment) processed.
A kind of numerical control device is disclosed in Japanese Unexamined Patent Publication 2008-191989 bulletin, is believed by multiple outsides Number input and output are connected in a daisy chain fashion in the structure of numerical control device with equipment, even if defeated changing external signal When entering the configuration structure of output equipment, be also capable of detecting when configuration structure mistake and simply to each external signal input it is defeated Identiflication number (group #) is automatically distributed with equipment out.
However, when multiple external signal input and output are connected to numerical control device in a daisy chain fashion with equipment, It can be elongated according to numerical control device and the allocation position of multiple external signal input and output equipment, wiring lengths.In addition, When the quantity for the external signal input and output equipment for being connected to numerical control device in a daisy chain fashion is more, wiring lengths It even more can be elongated.
Summary of the invention
Therefore, even if the object of the present invention is to provide one kind in a daisy chain fashion to set main equipment and multiple subordinates When standby connection, prevented also from the elongated serial communication branch equipment of wiring lengths and serial communication system.
1st mode of the invention is in main equipment and multiple slaves for being connected by daisy chain with the main equipment Between carry out serial communication when, multiple slaves are branched into the serial communication branch equipment of multiple systems, are had: 1st telecommunication circuit is used to be communicated with the main equipment connecting in the preceding-stage side of the serial communication branch equipment;It is more A 2nd telecommunication circuit, described in each system for being used to connect with the rear-stage side in the serial communication branch equipment Slave is communicated;And Systematic selection circuit, it is arranged on the 1st telecommunication circuit and is communicated with the multiple 2nd Between circuit, when the slave for being connected to rear-stage side is set according to the transmission signal sent from the main equipment to the master When preparation send answer signal, selection sends the system of the slave of the answer signal, to being connected to preceding-stage side The main equipment export the answer signal of the selected system.
With this configuration, matching signal wire that main equipment is connect with multiple slaves in a daisy chain fashion can be shortened Line length.In addition, can in such a way that the answer signal sent from the slave for each system for being connected to rear class is non-interfering, Answer signal is sent to main equipment.
1st mode of the invention is the serial communication branch equipment, and the Systematic selection circuit can be according to from transmission Systematic selection signal that the slave of the answer signal is sent selects the system.Thereby, it is possible to effectively to Main equipment replies the answer signal that slave is sent according to the transmission signal that main equipment is sent.
1st mode of the invention is the serial communication branch equipment, and whether the Systematic selection circuit has to even The multiple switch that switches over of the main equipment answer signal of the output from the multiple system in preceding-stage side is connect, it can To connect corresponding with the system of the slave for sending the answer signal according to the Systematic selection signal The switch.Thereby, it is possible to effectively reply the hair that slave is sent according to main equipment to main equipment by easy structure The number of delivering letters and send answer signal.
1st mode of the invention is the serial communication branch equipment, by with each system in the multiple system Transmission signal wire, answer signal line and the Systematic selection signal wire being arranged in correspondence with by the serial communication branch equipment with The slave of the multiple system is connected, and the Systematic selection can be connected and be had sent to the Systematic selection circuit The switch of the corresponding system of the Systematic selection signal wire of signal.
1st mode of the invention is the serial communication branch equipment, by with each system in the multiple system The transmission signal wire and answer signal line being arranged in correspondence with are by the institute of the serial communication branch equipment and the multiple system It states slave to be connected, the Systematic selection circuit, which is worked as, detects that the slave for sending the answer signal is being sent When before the answer signal via the Systematic selection signal of answer signal line transmission, the system is connected and had sent The switch of the corresponding system of the answer signal line for selection signal of uniting.
1st mode of the invention is the serial communication branch equipment, can by the multiple switch be arranged with it is each On the corresponding multiple answer signal lines of the system.
1st mode of the invention is the serial communication branch equipment, to each subordinate in the multiple slave Equipment attached slave number, and the main equipment sends the transmission signal that attached the slave number, The slave of the additional slave number sends the answer signal, the system choosing in the transmission signal Selecting circuit can number according to the slave for including in the transmission signal, and selection sends the described of the answer signal The system of slave.Thereby, it is possible to effectively reply the transmission letter that slave is sent according to main equipment to main equipment Number and send answer signal.
1st mode of the invention is the serial communication branch equipment, the Systematic selection circuit have with it is each described System has accordingly stored the table for belonging to the slave number of the slave of the system, can be used in the hair The additional slave number and the table, selection send the institute of the slave of the answer signal in the number of delivering letters State system.As a result, slave effectively can be replied to main equipment and is believed according to the transmission that main equipment is sent by easy structure Number and send answer signal.
1st mode of the invention is the serial communication branch equipment, and whether the Systematic selection circuit has to even The multiple switch that switches over of the main equipment answer signal of the output from the multiple system in preceding-stage side is connect, it can To be numbered according to the slave for including in the transmission signal, connects and set with the subordinate for sending the answer signal The corresponding switch of the standby system.As a result, slave effectively can be replied to main equipment by easy structure The answer signal sent according to the transmission signal that main equipment is sent.
1st mode of the invention is the serial communication branch equipment, and the Systematic selection circuit is from the main equipment It, can be by selecting the multiple system in order when receiving the distribution signal numbered to slave distribution slave 1 system in system, to the slave of each system distribution slave number.It can pass through as a result, Serial communication branch equipment suitably distributes slave number for multiple each slaves is branched to.
1st mode of the invention is the serial communication branch equipment, and the Systematic selection circuit can be according to pre- prerequisite Fixed sequence selects the system.Slave can be distributed in order since the slave of the high system of priority Number.
1st mode of the invention is the serial communication branch equipment, the main equipment to be connected to described in rear class from Belong to equipment or the serial communication branch equipment and send the distribution signal comprising slave number, when from it is described from When category equipment sends distribution answer signal, it includes new after the slave of last time transmission to be numbered to increase for sending again Slave number the distribution signal, be not previously allocated the slave of slave number when connecing When receiving the distribution signal, the slave number of the distribution signal received is obtained as the subordinate of oneself Device numbering, and sent to the main equipment, the slave or the serial communication branch equipment for being connected to prime The distribution answer signal, the slave that the slave number is assigned, which is worked as, receives the distribution signal When, the distribution signal transmitted and received to the slave or the serial communication branch equipment for being connected to rear class, The Systematic selection circuit selects some system in the multiple system, and sets to the subordinate of whole systems Preparation send the distribution signal received, sends to the main equipment for being connected to prime or the slave from selected The distribution answer signal for the system selected, after having sent the distribution signal, not from selected more than certain time When the system selected sends the distribution answer signal, the also non-selected system can choose.
1st mode of the invention is the serial communication branch equipment, the Systematic selection circuit can cancel also not by The slave number acquired by the slave of the system of selection.Thereby, it is possible to the subordinates to each system Equipment properly distributes slave number, and identical slave number will not be distributed to multiple slaves.
2nd mode of the invention is serial communication system, have the serial communication branch equipment, the main equipment with And the multiple slave.With this configuration, it can shorten and in a daisy chain fashion connect main equipment with multiple slaves Signal wire wiring lengths.In addition, can be mutual with the answer signal sent from the slave for each system for being connected to rear class The mode that do not interfere sends answer signal to main equipment.
In accordance with the invention it is possible to shorten matching signal wire that main equipment is connect with multiple slaves in a daisy chain fashion Line length.In addition, can be with the non-interfering side of answer signal transmitted by the slave for each system for being connected to rear class Formula sends answer signal to main equipment.
Detailed description of the invention
Following implementation is illustrated according to referring to attached drawing, above-mentioned purpose, feature and advantage may be understood more readily.
Fig. 1 shows the structures of the serial communication system of the progress serial communication of embodiment.
Fig. 2 indicates the main equipment in the previous serial communication system for not having serial communication branch equipment and 6 The connection example of the configuration example of slave and the signal wire for connecting them.
Fig. 3 indicate main equipment and 6 slaves in the serial communication system of embodiment configuration example and will The connection example for the signal wire that they are connected.
Fig. 4 is the sketch structure figure of serial communication branch equipment shown in FIG. 1.
Fig. 5 indicates the 1st of the structure of Systematic selection circuit shown in Fig. 4.
Fig. 6 indicates the 2nd of the structure of Systematic selection circuit shown in Fig. 4.
Fig. 7 indicates the 3rd of the structure of Systematic selection circuit shown in Fig. 4.
Fig. 8 is the flow chart for indicating the movement of allocation processing of the slave number carried out by main equipment.
Fig. 9 is the flow chart for indicating the movement of acquirement processing of the slave number carried out by slave.
Figure 10 is the movement of the allocation processing of the slave number of each system carried out by serial communication branch equipment Flow chart.
Figure 11 A~Figure 11 C is used to illustrate to carry out the slave of each system after branch by serial communication branch equipment The specific example of the distribution of number.
Specific embodiment
For serial communication branch equipment of the invention and serial communication system, suitable embodiment is enumerated, on one side It is described in detail on one side referring to attached drawing.
Fig. 1 shows the structures of the serial communication system 10 of the progress serial communication of present embodiment.Serial communication system 10 Have numerical control device (CNC) 12, multiple (N number of) external signal input and output equipment (I/O unit) 14 and serially leads to Believe branch equipment 16.Numerical control device (hereinafter referred to as main equipment.) it 12 is the device for controlling lathe or robot.Multiple outsides Signal input and output equipment (hereinafter referred to as slave.) 14 be between main equipment 12 and lathe or robot, into The equipment of the input and output of row input signal (DI signal)/output signal (DO signal) is filled with Numerical Control in a daisy chain fashion 12 are set to be connected.Serial communication branch equipment 16 is for multiple slaves 14 to be carried out branch to multiple (M) systems Equipment.By serial communication with signal wire (cable) 18 by the main equipment 12, multiple slaves 14 and serial communication branch Equipment 16 is attached.Therefore, by the signal wire 18 for the setting of each system also by the slave 14 of each system and string Row communication branches equipment 16 is connected.Do not scheme in addition, main equipment 12, slave 14 and serial communication branch equipment 16 have The control unit (computer) shown.
Unless otherwise indicated, the slave 14 is when from being connected to the main equipment 12 of prime, slave 14 or serial logical When letter branch equipment 16 receives signal, directly sent to the slave 14 or serial communication branch equipment 16 for being connected to rear class The signal received.It is connect in addition, slave 14 is worked as from the slave 14 or serial communication branch equipment 16 for being connected to rear class When receiving signal, directly transmitted and received to the main equipment 12, slave 14 or serial communication branch equipment 16 for being connected to prime The signal arrived.It is able to carry out and communicates between main equipment 12 and each slave 14 as a result,.
Slave number (Gr ID (group ID)) is indicated to the additional number of slave 14 in Fig. 1.In principle, should Slave number since the slave 14 of 12 side of main equipment ing in order add 1,2, but about serially lead to The slave 14 for believing the later each system of branch equipment 16, according to the priority (sequence of pre-determined system) of system To be added.In addition, the slave 14 about same system, from 12 side of main equipment (serial communication branch equipment 16 1 Side) slave 14 start in order add slave number.
In the example depicted in figure 1, it between main equipment 12 and serial communication branch equipment 16, connects in a daisy chain fashion 2 slaves 14.Therefore, the slave number of the slave 14 connected in the rear class of main equipment 12 is " 1 ", next The slave number of a slave 14 for being connected to rear class is " 2 ".In addition, in the example depicted in figure 1, in each system In, 2 slaves 14 are connected to serial communication branch equipment 16 in a daisy chain fashion.Therefore, priority is the 1st to be The slave number for the slave 14 that the rear class in serial communication branch equipment 16 of system (hereinafter referred to as system 1) connects Slave number for " 3 ", next slave 14 for being connected to rear class is " 4 ".In addition, priority is the 2nd to be The slave for the slave 14 that the rear class in serial communication branch equipment 16 of system (hereinafter referred to as system 2) connects, which is numbered, is The slave number of " 5 ", the slave 14 of next system 2 for being connected to rear class is " 6 ".In this way, about serial communication The later slave 14 of branch equipment 16 adds slave number according to the priority of system.It can be detailed below Ground is illustrated for the distribution of slave number.
In addition, in Fig. 1 slave 14 lower section record type A, B, C, such as " A is input 32 The slave that 24 points of point/output ", " B is simulation input slave " like that, indicate to carry out according to the points or function of signal The type of the slave 14 of classification.
Fig. 2 indicate do not have serial communication branch equipment 16 previous serial communication system in main equipment 12 and The connection example of the configuration example of 6 slaves 14 and the signal wire 18 for connecting them.Fig. 3 indicates the serial logical of present embodiment The connection example of the configuration example and the signal wire 18 for connecting them of main equipment 12 in letter system 10 and 6 slaves 14. In cabinet 20 shown in Fig. 2, when the main equipment 12 configured and multiple slaves 14 are connected by daisy chain, letter The wiring lengths of number line 18 can be elongated.On the contrary, in the present embodiment, as shown in figure 3, serial communication system 10 has serially Communication branches equipment 16, therefore wiring is carried out from serial communication branch equipment 16 to each system, signal wire 18 matches wire length Degree shortens.In Fig. 2 and Fig. 3 to the additional number of slave 14 indicate slave number, and Fig. 4 and its after Attached drawing in it is same.
In addition, the quantity of the slave 14 connected between main equipment 12 and serial communication branch equipment 16 is set as 2 It is a, but can arbitrarily change.For example, when the subordinate connected between main equipment 12 and serial communication branch equipment 16 is set When standby 14 quantity is set as 0, serial communication branch equipment 16 is connected directly between to the rear class of main equipment 12.In addition, string will be passed through The quantity that row communication branches equipment 16 has carried out the slave 14 of each system of branch is set as 2, but can also be directed to Each system arbitrarily changes the quantity of slave 14.
Next, being illustrated referring to Fig. 4 to the Sketch of serial communication branch equipment 16.Serial communication branch sets Standby 16 have the 1st telecommunication circuit 30, multiple (M) the 2nd telecommunication circuit 32 and Systematic selection circuit 34.1st telecommunication circuit 30 The slave 14 (slave number " 2 ") connecting with the prime in serial communication branch equipment 16 is communicated.As a result, 1 telecommunication circuit 30 can be communicated with main equipment 12.To each system setting multiple 2nd telecommunication circuits 32 with serially leading to Believe branch equipment 16 rear class connection each system slave 14 (slave number " 3 ", " 5 ", " N-1 ") It is communicated.As a result, multiple 2nd telecommunication circuits 32 can with belong to multiple systems whole slaves 14 (slave compile Number " 3 "~" N ") it is communicated.Systematic selection circuit 34 be arranged on the 1st telecommunication circuit 30 and multiple 2nd telecommunication circuits 32 it Between, the transmitting-receiving of signal is carried out between the 1st telecommunication circuit 30 and multiple 2nd telecommunication circuits 32.
Systematic selection circuit 34 carrys out autonomous device when the slave 14 of the slave number " 2 " via prime receives When 12 transmission signal, which is sent to each 1~M of system in the rear class connection of serial communication branch equipment 16 1st slave 14.As a result, send transmission signal to whole (slave volumes of slaves 14 of each 1~M of system Number " 3 "~" N ").In the hair that the slave 14 that the rear-stage side of serial communication branch equipment 16 connects is sent according to main equipment 12 The number of delivering letters, when replying answer signal to main equipment 12, Systematic selection circuit 34 will only send the slave 14 of answer signal System is set as effective (selection).Serial communication branch equipment 16 can be set via 2 subordinates for being connected to preceding-stage side as a result, Standby 14 (slave numbers " 2 ", " 1 ") send to main equipment 12 from the signal for being set as effective (selected) system.Example Such as, when the slave 14 of slave number " 4 " sends answer signal, Systematic selection circuit 34 only makes system 1 effective (selection), and the signal sent from system 1 is only sent to the slave 14 of slave number " 2 ".It is serial as a result, The non-interfering side of answer signal that communication branches equipment 16 can be sent with the slave 14 of each system connected in rear class Formula sends answer signal to main equipment 12.
In addition, being set as main equipment 12 the slave of the desired transmission destination (slave 14) for sending signal Number is attached to send in signal and be sent, and the slave 14 for sending the slave number for including in signal is to reply The slave of answer signal.
Next, the specific structure for Systematic selection circuit 34 is illustrated.In the present embodiment, as system The specific structure of selection circuit 34 is enumerated 3 examples and is illustrated.Fig. 5 indicates the 1st of the structure of Systematic selection circuit 34. In addition, the diagram of the 1st telecommunication circuit 30 and multiple (M) the 2nd telecommunication circuit 32 is omitted in Fig. 5.When making Systematic selection When circuit 34 is structure as shown in Figure 5, the slave 14 for being connected to the rear-stage side of serial communication branch equipment 16 is being sent out When sending answer signal, the system efficient system selection signal for making oneself (itself) ownership is sent.Then, Systematic selection circuit 34 According to Systematic selection signal, the system that the slave 14 of transmission answer signal belongs to is set as effective (selection).System Selection circuit 34 have multiple switch 42, multiple switch 42 for switch whether to be connected to prime slave 14 (from Belong to device numbering " 2 ") answer signal of the output from multiple (M) systems.Multiple switch 42 is arranged in correspondence with each system. Systematic selection circuit 34 connects the switch 42 for sending the system of the ownership of slave 14 of answer signal according to Systematic selection signal, To which the system for belonging to the slave 14 for sending answer signal is effective.Multiple switch 42 is arranged on the answer of each system On signal wire 18b.
Herein, the signal wire 18 main equipment 12, multiple slaves 14 and serial communication branch equipment 16 connected With transmission signal wire 18a, answer signal line 18b and Systematic selection signal wire 18c.Sending signal wire 18a is for sending Carry out the communication line of the transmission signal of autonomous device 12, answer signal line 18b is for sending the answer letter from slave 14 Number communication line.Systematic selection signal wire 18c is for sending the communication line from the Systematic selection signal of slave 14.Cause This, is connected to the answer signal line for the system that the slave 14 of the rear-stage side of serial communication branch equipment 16 belongs to via oneself 18b, Systematic selection signal wire 18c export answer signal, Systematic selection signal to Systematic selection circuit 34.
It is specifically described for 18 further progress of signal wire, the transmission signal wire 18a being connected with 12 side of main equipment And answer signal line 18b carries out branch to each system in Systematic selection circuit 34, branches into M transmission signal wire 18a And answer signal line 18b is connected with the slave 14 of each system.In addition, the system being connected with 12 side of main equipment Selection signal line 18c carries out branch to each system via the OR circuit 40 being arranged in Systematic selection circuit 34, more after branch A (M) Systematic selection signal wire 18c is connected with the slave 14 of each system.Therefore, it by the OR circuit 40, will come from The logic sum of the Systematic selection signal of each system is sent to main equipment 12.Thereby, it is possible to send in multiple systems to main equipment 12 Some system Systematic selection signal.
Systematic selection circuit 34 connects system corresponding with the Systematic selection signal wire 18c of Systematic selection signal is had sent Switch 42.The switch 42 can be for example made of logic circuit.For example, when constituting switch 42 by AND gate circuit, at this In AND gate circuit, the answer signal from answer signal line 18b and the Systematic selection from Systematic selection signal wire 18c are inputted Signal.Therefore, by sending Systematic selection signal (logical value is " 1 ") by the slave 14 of transmission answer signal, can make Switch (AND gate circuit) 42 is on-state.Therefore, the system for having sent the ownership of slave 14 of answer signal becomes effectively, And the answer signal for being input to switch (AND gate circuit) 42 can be sent to 12 side of main equipment.
For example, when main equipment 12 sends the transmission signal that attached slave and number " 6 " via signal wire 18a is sent When, which is received by whole slaves 14, but only the slave 14 of slave number " 6 " is sent Answer signal.The answer signal line for the system 2 that the answer signal is belonged to via the slave 14 of slave number " 6 " 18b is sent.At this point, slave 14 (slave numbers " 6 ") output system selection signal when exporting answer signal (logical value " 1 ").The system for the system 2 that the Systematic selection signal is belonged to via the slave 14 of slave number " 6 " Selection signal line 18c is sent.From the slave number " 6 " slave 14 Systematic selection signal and answer Complex signal is input to the switch 42 being made of AND gate circuit being arranged in correspondence with system 2.Therefore, according to the logical value " 1 " Systematic selection signal, the switch (AND gate circuit) 42 being arranged on the answer signal line 18b of system 2 become connecting, subordinate are set The answer signal that standby 14 (slave numbers " 6 ") send is sent via 2 slaves 14 (slave numbers " 2 ", " 1 ") To main equipment 12.In addition, sending main equipment 12, Systematic selection circuit 34 simultaneously for the signal from multiple systems in order to prevent It is limited so that multiple switch 42 will not become connecting simultaneously.
Fig. 6 indicates the 2nd of the structure of Systematic selection circuit 34.In addition, for attached with the 1st (Fig. 5) identical structure Add identical symbol.In addition, the figure of the 1st telecommunication circuit 30 and multiple (M) the 2nd telecommunication circuit 32 is omitted in Fig. 6 Show.When Systematic selection circuit 34 is set as structure as shown in Figure 6, it is connected to the rear-stage side of serial communication branch equipment 16 Slave 14 before sending answer signal, send make oneself belong to system efficient system selection signal it is (pre- prerequisite Fixed mode signal).Then, Systematic selection circuit 34 makes the slave 14 for sending answer signal according to Systematic selection signal The system of ownership is effectively (selection).Whether Systematic selection circuit 34 has in the same manner as the 1st (Fig. 5) for switching to even (slave number " the 2 ") output of slave 14 connect in prime is opened from the multiple of answer signal of multiple (M) systems Close 42.Multiple switch 42 is arranged in correspondence with each system.Systematic selection circuit 34 is connected to send according to Systematic selection signal and be answered The switch 42 for the system that the slave 14 of complex signal belongs to, the system for thus belonging to the slave 14 for sending answer signal Effectively.Multiple switch 42 is arranged on the answer signal line 18b of each system.
Herein, the signal wire 18 main equipment 12, multiple slaves 14 and serial communication branch equipment 16 connected With transmission signal wire 18a and answer signal line 18b.Specifically, the transmission signal wire being connected with 12 side of main equipment 18a and answer signal line 18b carries out branch to each system in Systematic selection circuit 34, and branches into M transmission letters Number line 18a and answer signal line 18b is connected with the slave 14 of each system.In addition, it is different from Fig. 5, in signal wire 18 In, it is not provided with Systematic selection signal wire 18.Be connected to the slave 14 of the rear-stage side of serial communication branch equipment 16 via The answer signal line 18b of the system of oneself ownership, to 34 output system selection signal of Systematic selection circuit and answer signal.
Systematic selection circuit 34, which is worked as, to be detected before answer signal via the pre-determined of answer signal line 18b transmission When mode signal, that is, Systematic selection signal, system corresponding with the answer signal line 18b of Systematic selection signal is had sent is connected Switch 42.Specifically, Systematic selection circuit 34 has for each system for detecting whether via answer signal line 18b Have sent the detection circuit 44 of Systematic selection signal.The detection circuit 44 of each system is connected when detecting Systematic selection signal Switch 42 corresponding with the answer signal line 18b of Systematic selection signal is had sent.Such as it is switched being made up of AND gate circuit When 42, detection circuit 44 when detecting Systematic selection signal, by with the answer signal line that detects Systematic selection signal Corresponding switch (AND gate circuit) 42 output logical value " 1 " of 18b, can make to switch (AND gate circuit) 42 on-state.Cause This, the system that the slave 14 for sending answer signal belongs to oneself by sending Systematic selection signal becomes effectively, and to 12 side of main equipment exports the answer signal sent after this.
For example, when main equipment 12 sends the transmission signal that attached slave and number " 6 " via signal wire 18a is sent When, which is received by whole slaves 14.But only the slave 14 of slave number " 6 " sends system It unites selection signal (pre-determined mode signal), sends answer signal later.Via the slave of slave number " 6 " The answer signal line 18b of the system 2 of 14 ownership sends the Systematic selection signal and answer signal.The detection circuit 44 of system 2 When detecting Systematic selection signal, logical value " 1 " is exported to the switch 42 of system 2 being made up of AND gate circuit.It sets as a result, The switch 42 set on the answer signal line 18b of system 2 becomes on-state, after this via 2 14 (subordinates of slave Device numbering " 2 ", " 1 ") to main equipment 12 send slave number " 6 " slave 14 send answer signal.In addition, Main equipment 12 is sent simultaneously by the signal from multiple systems in order to prevent, Systematic selection circuit 34 is limited so that multiple Switch 42 will not become connecting simultaneously.
Fig. 7 indicates the 3rd of the structure of Systematic selection circuit 34.In addition, being directed to and the 1st (Fig. 5) or the 2nd (Fig. 6) Identical structure adds identical symbol.In addition, the 1st telecommunication circuit 30 and multiple (M) the 2nd communications is omitted in Fig. 7 The diagram of circuit 32.When Systematic selection circuit 34 is set as structure as shown in Figure 7, it is connected to serial communication branch and sets The slave 14 of standby 16 rear-stage side only sends answer signal.That is, it is not necessary to as the 1st and the 2nd by Slave 14 sends Systematic selection signal.Systematic selection circuit 34 is according to included in the transmission signal that main equipment 12 is sent Slave number, the system for belonging to the slave 14 for sending answer signal is effectively (selection).Systematic selection circuit 34 in the same manner as the 1st and the 2nd have for switch whether to be connected to prime slave 14 (slave number " 2 ") export the multiple switch 42 for coming from the answer signal of multiple (M) systems.Multiple switch is arranged in correspondence with each system 42.The slave according to included in the transmission signal that main equipment 12 is sent of Systematic selection circuit 34 number is connected to send and be answered The switch 42 for the system that the slave 14 of complex signal belongs to, thus the system for belonging to the slave 14 for sending answer signal Effectively.Multiple switch 42 is arranged on the answer signal line 18b of each system.In addition, by main equipment 12, multiple slaves 14 and the signal wire 18 that connects of serial communication branch equipment 16 there is transmission signal wire 18a and answer with the 2nd in the same manner as Signal wire 18b, and not set Systematic selection signal wire 18c.
Specifically, Systematic selection circuit 34 has for detecting via in the transmission signal for sending signal wire 18a transmission The detection circuit 46 and the slave 14 for belonging to system has been accordingly stored with each system that the slave for being included is numbered The table 48 of slave number.Detection circuit 46 uses this when detecting slave number included in transmission signal The slave number and table 48 detected, the slave 14 for numbering the slave detected (are answered that is, sending The slave 14 of complex signal) ownership system it is effective.In detail, detection circuit 46 is numbered using the slave detected The system belonged to table 48, the slave 14 for selecting the slave detected to number, passes through opening selected system It closes 42 to connect, keeps selected system effective.
Such as when constituting switch 42 by AND gate circuit, detection circuit 46 is defeated by the switch 42 to selected system Logical value " 1 " out makes to switch (AND gate circuit) 42 on-state.Therefore, it can be detected to the output of 12 side of main equipment The answer signal that the slave 14 of slave number is sent.
For example, when main equipment 12 sends the transmission signal that attached slave and number " 6 " via signal wire 18a is sent, The transmission signal is received by whole slaves 14, and detection circuit 46 detects to send the slave for including in signal It numbers " 6 ".It is then detected that the system 2 that circuit 46 selects the slave 14 of slave number " 6 " to belong to using table 48, And logical value " 1 " is exported to the switch (AND gate circuit) 42 of selected system 2.The answer signal line of system 2 is set as a result, Switch 42 on 18b becomes on-state.Also, after this via 2 slaves 14 (slave numbers " 2 ", " 1 ") The slave 14 for sending slave number " 6 " to main equipment 12 is believed via the answer that the answer signal line 18b of system 2 is sent Number.In addition, sending main equipment 12 simultaneously for the signal from multiple systems in order to prevent, Systematic selection circuit 34 is limited So that multiple switch 42 will not become connecting simultaneously.
Next, the distribution for slave number is illustrated.Fig. 8 is to indicate that the subordinate carried out by main equipment 12 is set The flow chart of the movement of the allocation processing of standby number, Fig. 9 are the acquirements for the slave number for indicating to be carried out by slave 14 The flow chart of the movement of processing, Figure 10 are to indicate that the slave of each system carried out by serial communication branch equipment 16 is numbered The flow chart of the movement of allocation processing.
Firstly, illustrating the movement for the allocation processing that the slave of main equipment 12 is numbered referring to Fig. 8.Main equipment 12 can be Processing shown in Fig. 8 (allocation processing of slave number) is executed when having connected the power supply of main equipment 12, it can also be according to next It is executed from the instruction of operator.Movement shown in Fig. 8 is carried out by the control unit of main equipment 12.
Slave number is set as " 1 " (the step S1 of Fig. 8) by main equipment 12, and to the slave 14 for being connected to rear class Send the distribution signal (step S2) numbered comprising set slave.Distribution letter is sent via signal wire 18a is sent Number.Then, main equipment 12 starts the timer (step S3) after resetting timer, judges that the time of timer institute timing is It is no to have passed through for the 1st predetermined time (certain time) (step S4).
When being judged as after starting timer in step s 4 also without 1 predetermined time, the judgement of main equipment 12 is It is no to send distribution answer signal (step S5) from slave 14.The distribution answer signal includes to indicate to achieve slave volume Number acquirement signal and indicate achieve slave number slave 14 type (for example, type A etc.) type letter Number.The distribution answer signal is sent via answer signal line 18b.
When be judged as in step s 5 do not send also distribution answer signal when, return step S4.On the other hand, when in step It is judged as that main equipment 12 is included in the distribution signal issued recently in step s 2 when having sent distribution answer signal in S5 The slave number slave of current setting (number) and the distribution answer signal that is most recently received in step s 5 In include the type of slave 14 correspondingly stored (step S6).
Then, main equipment 12 makes set slave number increase (step S7), and return step S2 repeats above-mentioned dynamic Make.On the other hand, when step S4 be judged as from starting timer after have passed through the 1st predetermined time do not send distribution reply letter Number when, main equipment 12 judges that the acquirement processing of the slave number of whole slaves 14 is over, and ends processing. The distribution signal of " 1 " such as is numbered comprising slave as a result, the distribution signal of " 2 " is numbered comprising slave, is set comprising subordinate The distribution signal of standby number " 3 " is such, and sending in order from main equipment 12 since slave numbers " 1 " includes slave The distribution signal of number.
Next, illustrating the movement for the acquirement processing that the slave of slave 14 is numbered referring to Fig. 9.It is set by subordinate Standby 14 control unit carries out the movement shown in Fig. 9.When from being connected to the main equipment 12 of prime, slave 14 or serial logical When letter branch equipment 16 sends distribution signal, slave 14 judges whether to have been achieved for slave number (step S11). When being judged as that when also not obtaining slave number, slave 14 obtains to be wrapped in the distribution signal sent in step s 11 The slave number contained numbers as the slave of oneself and is stored (step S12).Then, slave 14 to Main equipment 12 reply distribution answer signal (step S13) after end processing, wherein distribution answer signal include indicate achieve from Belong to the type signal of the type for obtaining signal and indicating the slave 14 of oneself of device numbering.In addition, when achieving distribution When the number of slave included in signal is as oneself slave number, slave 14 is not to being connected to rear class Slave 14 or serial communication branch equipment 16 send the distribution signal.
On the other hand, when being judged as that slave 14 will be sent when having been achieved for slave number in step s 11 Distribution signal be transmitted directly to be connected to the 16 (step of slave 14 or serial communication branch equipment of rear class (secondary) S14), and end processing.In addition, directly being ended processing when rear class does not connect slave 14.It is set as a result, about subordinate Standby number, since the slave 14 close with main equipment 12 ing in order, it is 1 that distribution slave, which is numbered, 2 ....But It is the slave 14 later about serial communication branch equipment 16, since each system being connected in parallel, each system Slave 14 concurrently obtains identical slave number.Therefore, in the present embodiment, the system high from priority Slave 14 start in order come distribute slave number.
Referring to Fig.1 0 illustrate serial communication branch equipment 16 each system slave number allocation processing movement. The movement shown in Fig. 10 is carried out by the control unit of serial communication branch equipment 16.Serial communication branch equipment 16 selects first System 1 (step S21).Switch 42 only corresponding with the system 1 selected becomes connecting as a result, with non-selected system Corresponding switch 42 of uniting remains as disconnection.Therefore, the signal sent from the slave 14 of system 1 is only sent to main equipment 12。
Then, serial communication branch equipment 16 to the slave 14 of each system for being connected to rear class send from prime from Belong to the distribution signal (step S22) that equipment 14 (slave number " 2 ") receives.As a result, in principle, in each system certain A slave 14 obtains slave number included in distribution signal, achieve each system of slave number from Belong to equipment 14 and sends distribution answer signal.Here, there is serial communication branch equipment 16 storage to answer from the distribution that each system is sent The buffer storage (illustration omitted) of complex signal.The buffer storage stores 1 distribution answer signal for each system, when new When having sent distribution answer signal, covered using the distribution answer signal newly sent to be stored to it.Therefore, principle On it is each send distribution signal when, the distribution answer signal of each system stored in above-mentioned buffer storage is covered To be stored.In addition, the distribution that the buffer storage can also only not store the highest system 1 of priority replies letter Number.
Then, serial communication branch equipment 16 starts the timer (step S23) after resetting timer, judges timing Whether the time of device institute timing have passed through for the 2nd predetermined time (certain time) (step S24).2nd predetermined time was than in Fig. 8 Step S4 described in short time the 1st predetermined time.
When being judged as after starting timer in step s 24 without by 2 predetermined time, serial communication branch is set Standby 16 judge whether to have sent distribution answer signal (step S25) from the slave 14 of selected system.When in step S25 In be judged as return step S24 when not sending distribution answer signal also.On the other hand, it has sent point when being judged as in step S25 When with answer signal, serial communication branch equipment 16 replies the distribution answer signal for the selected system sent to main equipment 12 (step S26).Then, serial communication branch equipment 16 sends reset signal (step S27) to also non-selected system, and returns Return step S22.The reset signal is the signal for resetting the number of slave acquired by (cancellation) slave 14.This is Because the slave 14 of non-selected system also obtains subordinate due to having sent distribution signal for whole systems Device numbering.
On the other hand, in step S24 when being judged as that have passed through for the 2nd predetermined time after starting timer does not send distribution When answer signal, serial communication branch equipment 16 is judged as that whole slaves of selected system achieve slave Number, and advance to step S28.In step S28, serial communication branch equipment 16 judges whether to have selected whole systems. It ends processing when being judged as when having selected whole systems in step S28, when being judged as also non-selected whole systems, goes here and there The system (step S29) that row communication branches equipment 16 selects next priority of currently selected system high.As a result, only There is switch 42 corresponding with the system newly selected to become connecting, and currently without the corresponding switch 42 of the system that is selected To disconnect.Therefore, the signal sent from the slave 14 of selected system is only sent to main equipment 12.
Then, what serial communication branch equipment 16 stored in said buffer memory to the answer of main equipment 12 newly selects System distribution answer signal (step S30), and advance to step S27 and repeat above-mentioned movement.That is, being distributed sending Distribution, which is not sent, yet from the slave 14 of currently selected system even across the 2nd predetermined time after signal replies letter Number when, distribute slaves number to whole slaves 14 of currently selected system.At this point, also non-selected system 1st slave 14 of the system to be selected from that point in system is assigned the subordinate for including in the distribution signal and sets Standby number, therefore directly replied to the distribution that main equipment 12 replies the system newly selected stored in said buffer memory Signal.
Next, simpling illustrate the specific example of the distribution of slave number using Figure 11 A~Figure 11 C.In addition, It is not set with being connected to the slave number of whole slaves 14 of the rear-stage side of serial communication branch equipment 16 It is illustrated premised on state.Firstly, serial communication branch equipment 16 selects system 1 in the step S21 of Figure 10, and in step In S22, the distribution signal sent from the slave 14 (slave number " 2 ") of prime is sent to whole systems.Herein, The slave number for including in distribution signal that serial communication branch equipment 16 originally receives is set as " 3 ".Therefore, as schemed Shown in 11A, the 1st slave 14 of each system obtains the slave number " 3 " for including in distribution signal as oneself Slave number.Achieving the 1st slave 14 of each system of slave number " 3 ", serially communication branches are set Standby 16 output distributes answer signal, but due to having selected system 1, in step S26, comes to 12 transmissions of main equipment The distribution answer signal of system 1.At this point, the distribution answer signal that the 1st slave 14 of each system is sent is stored in string In the buffer storage (not shown) of row communication branches equipment 16.Then, in step s 27, serial communication branch equipment 16 to Also non-selected system sends reset signal, therefore subordinate acquired by the 1st slave 14 of 2~system of system M is set Standby number " 3 " is cancelled.Therefore, the slave number of the 1st slave 14 of 2~system of system M becomes not setting State.In addition, the slave 14 for not setting slave number is shown by blank in Figure 11 A~Figure 11 C.
Then, in step S22, serial communication branch equipment 16 sends the slave 14 from prime to whole systems The distribution signal comprising slave number " 4 " that (slave number " 2 ") is newly sent.Therefore, as shown in Figure 11 B, about System 1 does not set slave volume since the 1st slave 14 of system 1 achieves slave number Number the 2nd slave 14 obtain distribution signal in include slave number " 4 " as oneself slave compile Number.In addition, the 1st slave 14, which obtains the slave number " 4 " for including in distribution signal, to be come about system 2~system M Slave as oneself is numbered.Accordingly, with respect to system 1, serially communication branches equipment 16 is sent the 2nd slave 14 Answer signal is distributed, about system 2~system M, serially communication branches equipment 16 sends distribution answer to the 1st slave 14 Signal.
However, in step S26, only the distribution answer signal from system 1 is answered due to having selected system 1 Again to main equipment 12.At this point, storing the distribution answer signal of each system of transmission to described in serial communication branch equipment 16 In buffer storage.Then, in step s 27, serial communication branch equipment 16 sends resetting letter to also non-selected system Number, therefore the number of slave acquired by the 1st slave 14 of 2~system of system M " 4 " is cancelled again.Therefore, it is The slave number of the 1st slave 14 of system 2~system M becomes the state not set.
Then, in step S22, serial communication branch equipment 16 sends the slave 14 from prime to whole systems The distribution signal comprising slave number " 5 " that (slave number " 2 ") is newly sent.Therefore, as shown in Figure 11 C, system 1 The 1st slave 14 and the 2nd slave 14 have been achieved for slave number and do not take therefore about system 1 The slave number " 5 " for including in the distribution signal is obtained to number as the slave of oneself.In addition, about system 2~be Unite M, and the 1st slave 14 obtains the slave number " 5 " for including in distribution signal and compile as the slave of oneself Number.Therefore, from system 1, serially communication branches equipment 16 does not send distribution answer signal, about system 2~system M, the 1st Serially communication branches equipment 16 sends distribution answer signal to slave 14.At this point, by point of 2~system of system M of transmission It is stored in the buffer storage of serial communication branch equipment 16 with answer signal.
System 1 currently is selected, therefore even across the 2nd predetermined time, serial communication branch equipment 16 will not be received To the distribution answer signal from system 1.Therefore, branch is carried out to "Yes" in step s 24, and in step S28, it is serial logical Letter branch equipment 16 judges whether to have selected whole systems.Due to also non-selected 2~system of system M, in step S28 Branch is carried out to "No", serial communication branch equipment 16 selects next system i.e. system 2 in step S29.Then, in step In S30, serial communication branch equipment 16 is replied to the distribution that main equipment 12 sends the system 2 stored in said buffer memory Signal.Then, in step s 27, serial communication branch equipment 16 sends reset signal to also non-selected system, therefore is The number of slave acquired by the 1st slave 14 of 3~system M " 5 " of uniting is cancelled.Therefore, 3~system of system M The slave number of 1st slave 14 becomes the state not set.
By carrying out such movement, slave number shown in FIG. 1 is distributed to each slave 14.
In this way, the serial communication branch equipment 16 of present embodiment when in main equipment 12 and in a daisy chain fashion with main equipment When carrying out serial communication between the 12 multiple slaves 14 being connected, multiple slaves 14 are branched off into multiple systems.It should Serial communication branch equipment 16 has: the 1st telecommunication circuit 30 for being communicated with the main equipment 12 for being connected to preceding-stage side;With In multiple 2nd telecommunication circuits 32 communicated with the slave 14 for each system for being connected to rear-stage side;And it is arranged on Between 1st telecommunication circuit 30 and multiple 2nd telecommunication circuits 32, when the slave for being connected to rear-stage side is sent out according to from main equipment 12 When the transmission signal sent sends answer signal to main equipment 12, the system that selection sends the slave 14 of answer signal, Xiang Lian Connect the Systematic selection circuit 34 that the main equipment 12 in preceding-stage side exports the answer signal of selected system.
By the way that the serial communication branch equipment 16 is arranged, can shorten main equipment 12 and multiple subordinates in a daisy chain fashion The wiring lengths for the signal wire 18 that equipment 14 is attached.In addition, can be with from the slave for each system for being connected to rear class The 14 non-interfering modes of answer signal sent send answer signal to main equipment 12.
Systematic selection circuit 34 can be selected according to the Systematic selection signal sent from the slave 14 for sending answer signal Select system.Thereby, it is possible to effectively reply slave 14 to main equipment 12 to be sent out according to the transmission signal that main equipment 12 is sent The answer signal sent.Whether exported to the main equipment 12 for being connected to preceding-stage side at this point, Systematic selection circuit 34 has to be used to switch The multiple switch 42 of answer signal from multiple systems can be connected according to Systematic selection signal and send answer signal The corresponding switch 42 of the system of slave 14.As a result, by easy structure, can effectively to main equipment 12 reply from Belong to the answer signal that equipment 14 is sent according to the transmission signal that main equipment 12 is sent.
In addition, passing through the transmission signal wire 18a, the answer signal line that are correspondingly arranged with each system in multiple systems Serial communication branch equipment 16 and the slave 14 of multiple systems are attached by 18b and Systematic selection signal wire 18c, Systematic selection circuit 34 can connect opening for system corresponding with the Systematic selection signal wire 18c of Systematic selection signal is had sent Close 42.In addition, passing through the transmission signal wire 18a and answer signal line that are correspondingly arranged with each system in multiple systems Serial communication branch equipment 16 and the slave 14 of multiple systems are attached by 18b, and Systematic selection circuit 34 is detecting Send answer signal slave 14 before answer signal via answer signal line 18b send Systematic selection signal when, The switch 42 of system corresponding with the answer signal line 18b of Systematic selection signal is had sent can be connected.
Slave number attached to each slave in multiple slaves 14, the transmission of main equipment 12 attached The transmission signal of slave number, the slave 14 of additional slave number, which is sent, in sending signal replies letter Number, Systematic selection circuit 34 can be numbered according to the slave for including in signal is sent, and selection sends the subordinate of answer signal The system of equipment 14.Thereby, it is possible to effectively reply the transmission letter that slave 14 is sent according to main equipment 12 to main equipment 12 Number and send answer signal.Systematic selection circuit 34, which has, accordingly stores the slave 14 for belonging to system with each system Slave number table 48, additional slave number and table 48 in sending signal can be used, to select to send The system of the slave 14 of answer signal.At this point, whether Systematic selection circuit 34 has for switching to being connected to preceding-stage side Main equipment 12 export the answer signal from multiple systems multiple switch 42, can according to send signal included in from Belong to device numbering, connects switch 42 corresponding with the system of slave 14 of answer signal is sent.Thereby, it is possible to pass through letter Easy structure effectively replies the answer that slave 14 is sent according to the transmission signal that main equipment 12 is sent to main equipment 12 Signal.
Systematic selection circuit 34 distributes slave 14 the distribution letter of slave number when receiving from main equipment 12 Number when, select 1 system in multiple systems in order, thus to the slave 14 of each system distribution slave number. Thereby, it is possible to branch into multiple each slaves 14 to by serial communication branch equipment 16 and properly distribute slave Number.Systematic selection circuit 34 can be according to pre-determined sequential selection system.Thereby, it is possible to the systems high from priority Slave 14 start in order distribution slave number.In addition, Systematic selection circuit 34 randomly can also be selected sequentially Select system.
Herein, main equipment 12 to be connected to rear class slave 14 or serial communication branch equipment 16 send comprising from The distribution signal for belonging to device numbering is sent again when sending distribution answer signal from slave 14 comprising that will issue last time Slave number increased after new slave number distribution signal.In addition, being set when being not previously allocated subordinate When the slave 14 of standby number receives distribution signal, the slave that acquirement receives distribution signal is numbered as oneself Slave number, and to be connected to prime main equipment 12, slave 14 or serial communication branch equipment 16 send Distribute answer signal.On the contrary, when the slave 14 for being assigned with slave number receives distribution signal, to being connected to The distribution signal that the slave 14 or serial communication branch equipment 16 of rear class transmit and receive.Systematic selection circuit 34 selects more Some system in a system, and the distribution signal transmitted and received to the slave of whole systems 14, and to being connected to The main equipment 12 or slave 14 of prime send the distribution answer signal from selected system, are having sent distribution signal Later, when from selected system not sending distribution answer signal more than certain time, also non-selected system is selected.
It is compiled at this point, Systematic selection circuit 34 cancels slave acquired by the slave 14 of also non-selected system Number, thus can the slave 14 to each system suitably distribute slave number, multiple slaves 14 will not be divided It is numbered with same slave.

Claims (14)

1. a kind of serial communication branch equipment, in main equipment and multiple subordinates for being connected by daisy chain with the main equipment When carrying out serial communication between equipment, multiple slaves are branched into multiple systems, which is characterized in that have:
1st telecommunication circuit is used to be led to the main equipment connecting in the preceding-stage side of the serial communication branch equipment Letter;
Multiple 2nd telecommunication circuits are used for each system connecting in the rear-stage side of the serial communication branch equipment The slave communicated;And
Systematic selection circuit is arranged between the 1st telecommunication circuit and the multiple 2nd telecommunication circuit, when being connected to When the slave of rear-stage side is according to answer signal is sent to the main equipment from the transmission signal that the main equipment is sent, Selection sends the system of the slave of the answer signal, exports institute to the main equipment for being connected to preceding-stage side The answer signal of the system of selection,
It is selected by the transmission signal wire, answer signal line and system that are arranged in correspondence with each system in the multiple system It selects signal wire and the serial communication branch equipment is connected with the slave of the multiple system,
Whether the Systematic selection circuit has to exporting from the multiple system to the main equipment for being connected to preceding-stage side The multiple switch that switches over of the answer signal, by that will have sent from the slave for sending the answer signal The switch connection of the system corresponding to the Systematic selection signal wire for the Systematic selection signal sent, to select to send out Send the system of the slave of the answer signal.
2. a kind of serial communication branch equipment, in main equipment and multiple subordinates for being connected by daisy chain with the main equipment When carrying out serial communication between equipment, multiple slaves are branched into multiple systems, which is characterized in that have:
1st telecommunication circuit is used to be led to the main equipment connecting in the preceding-stage side of the serial communication branch equipment Letter;
Multiple 2nd telecommunication circuits are used for each system connecting in the rear-stage side of the serial communication branch equipment The slave communicated;And
Systematic selection circuit is arranged between the 1st telecommunication circuit and the multiple 2nd telecommunication circuit, when being connected to When the slave of rear-stage side is according to answer signal is sent to the main equipment from the transmission signal that the main equipment is sent, Selection sends the system of the slave of the answer signal, exports institute to the main equipment for being connected to preceding-stage side The answer signal of the system of selection,
It will be described by the transmission signal wire and answer signal line that are arranged in correspondence with each system in the multiple system Serial communication branch equipment is connected with the slave of the multiple system,
Whether the Systematic selection circuit has to exporting from the multiple system to the main equipment for being connected to preceding-stage side The multiple switch that switches over of the answer signal, when detecting that the slave for sending the answer signal sending When before the answer signal via the Systematic selection signal of answer signal line transmission, by connecting and having sent institute The switch of the corresponding system of the answer signal line of Systematic selection signal is stated, to select to send the answer letter Number the slave the system.
3. serial communication branch equipment according to claim 1 or 2, which is characterized in that
By the setting of the multiple switch on multiple answer signal lines corresponding with each system.
4. serial communication branch equipment according to claim 1 or 2, which is characterized in that
The Systematic selection circuit is receiving the distribution numbered to slave distribution slave from the main equipment When signal, 1 system in the multiple system is selected in order, thus set to the subordinate of each system Back-up is numbered with slave.
5. a kind of serial communication branch equipment, in main equipment and multiple subordinates for being connected by daisy chain with the main equipment When carrying out serial communication between equipment, multiple slaves are branched into multiple systems, which is characterized in that have:
1st telecommunication circuit is used to be led to the main equipment connecting in the preceding-stage side of the serial communication branch equipment Letter;
Multiple 2nd telecommunication circuits are used for each system connecting in the rear-stage side of the serial communication branch equipment The slave communicated;And
Systematic selection circuit is arranged between the 1st telecommunication circuit and the multiple 2nd telecommunication circuit, when being connected to When the slave of rear-stage side is according to answer signal is sent to the main equipment from the transmission signal that the main equipment is sent, Selection sends the system of the slave of the answer signal, exports institute to the main equipment for being connected to preceding-stage side The answer signal of the system of selection,
The Systematic selection circuit is receiving the distribution numbered to slave distribution slave from the main equipment When signal, 1 system in the multiple system is selected in order, thus set to the subordinate of each system Back-up is numbered with slave.
6. serial communication branch equipment according to claim 5, which is characterized in that
Slave number attached to each slave in the multiple slave,
The main equipment sends the transmission signal that attached the slave number,
The slave of the additional slave number sends the answer signal in the transmission signal,
The Systematic selection circuit is numbered according to the slave for including in the transmission signal, and selection sends the answer The system of the slave of signal.
7. serial communication branch equipment according to claim 6, which is characterized in that
The Systematic selection circuit is set with the subordinate for belonging to the system is correspondingly stored with each system The table of standby slave number uses the additional slave number and the table, selection in the transmission signal Send the system of the slave of the answer signal.
8. serial communication branch equipment according to claim 6 or 7, which is characterized in that
Whether the Systematic selection circuit has to exporting from the multiple system to the main equipment for being connected to preceding-stage side The multiple switch that switches over of the answer signal, numbered, connect according to the slave for including in the transmission signal The logical switch corresponding with the system of the slave that is sending the answer signal.
9. serial communication branch equipment according to claim 5, which is characterized in that
The Systematic selection circuit according to the Systematic selection signal sent from the slave for sending the answer signal come Select the system.
10. serial communication branch equipment according to claim 9, which is characterized in that
Whether the Systematic selection circuit has to exporting from the multiple system to the main equipment for being connected to preceding-stage side The multiple switch that switches over of the answer signal connect according to the Systematic selection signal and send the answer signal The slave the corresponding switch of the system.
11. according to serial communication branch equipment described in any one in claim 5~7,9~10, which is characterized in that
The Systematic selection circuit selects the system according to pre-determined sequence.
12. according to serial communication branch equipment described in any one in claim 5~7,9~10, which is characterized in that
The main equipment to the slave for being connected to rear class or the serial communication branch equipment send comprising it is described from Belong to device numbering the distribution signal, when from the slave send distribution answer signal when, again send include by The distribution signal of new slave number after the slave number increase that last time sends,
The slave of the slave number is not previously allocated when receiving the distribution signal, acquirement receives The slave number of the distribution signal numbered as the slave of oneself, and to the institute for being connected to prime It states main equipment, the slave or the serial communication branch equipment and sends the distribution answer signal, be assigned described The slave of slave number when receiving the distribution signal, to the slave for being connected to rear class or The distribution signal that the serial communication branch equipment transmits and receives,
The Systematic selection circuit selects some system in the multiple system, and to described in whole systems from Belong to the distribution signal that equipment transmits and receives, and is sent to the main equipment or the slave for being connected to prime From the distribution answer signal of selected system, after having sent the distribution signal, more than certain time not from When the selected system sends the distribution answer signal, the also non-selected system is selected.
13. serial communication branch equipment according to claim 12, which is characterized in that
The Systematic selection circuit is cancelled the subordinate acquired by the slave of the also non-selected system and is set Standby number.
14. a kind of serial communication system, which is characterized in that have:
Serial communication branch equipment, the main equipment described in any one in claim 1~13 and it is the multiple from Belong to equipment.
CN201710174979.8A 2016-03-22 2017-03-22 Serial communication branch equipment and serial communication system Active CN107219822B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016-057212 2016-03-22
JP2016057212A JP6457417B2 (en) 2016-03-22 2016-03-22 Serial communication branch device and serial communication system

Publications (2)

Publication Number Publication Date
CN107219822A CN107219822A (en) 2017-09-29
CN107219822B true CN107219822B (en) 2019-09-17

Family

ID=59814581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710174979.8A Active CN107219822B (en) 2016-03-22 2017-03-22 Serial communication branch equipment and serial communication system

Country Status (4)

Country Link
US (1) US10185685B2 (en)
JP (1) JP6457417B2 (en)
CN (1) CN107219822B (en)
DE (1) DE102017002604B4 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010881A (en) * 2018-08-06 2020-04-14 对话半导体(英国)有限公司 Serial communication protocol
US11561918B1 (en) * 2020-05-15 2023-01-24 Amazon Technologies, Inc. Communication bus recovery based on maximum allowable transaction duration
US11886369B1 (en) * 2023-09-14 2024-01-30 Qualcomm Incorporated Apparatus and methods for burst communications within die architectures

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193888A (en) * 2010-03-12 2011-09-21 新唐科技股份有限公司 Data transmission system and programmable serial peripheral interface controller
US8433838B2 (en) * 2010-09-17 2013-04-30 International Business Machines Corporation Remote multiplexing devices on a serial peripheral interface bus

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2636534B2 (en) * 1991-03-22 1997-07-30 三菱電機株式会社 Communications system
US5249270A (en) * 1991-03-29 1993-09-28 Echelon Corporation Development system protocol
GB9419246D0 (en) * 1994-09-23 1994-11-09 Cambridge Consultants Data processing circuits and interfaces
US5715475A (en) * 1994-12-29 1998-02-03 Intel Corporation Topological identification and initialization of a system for processing video information
JP2004088208A (en) * 2002-08-23 2004-03-18 Sony Corp Data transmission system and method therefor
JP4185142B2 (en) 2007-02-06 2008-11-26 ファナック株式会社 Numerical controller
DE102010041427A1 (en) * 2010-09-27 2012-03-29 Robert Bosch Gmbh Method for transmitting data
US9454504B2 (en) * 2010-09-30 2016-09-27 Hewlett-Packard Development Company, L.P. Slave device bit sequence zero driver
US9858235B2 (en) * 2012-11-15 2018-01-02 Advanced Micro Devices, Inc. Emulated legacy bus operation over a bit-serial bus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193888A (en) * 2010-03-12 2011-09-21 新唐科技股份有限公司 Data transmission system and programmable serial peripheral interface controller
US8433838B2 (en) * 2010-09-17 2013-04-30 International Business Machines Corporation Remote multiplexing devices on a serial peripheral interface bus

Also Published As

Publication number Publication date
JP6457417B2 (en) 2019-01-23
CN107219822A (en) 2017-09-29
US20170277644A1 (en) 2017-09-28
US10185685B2 (en) 2019-01-22
DE102017002604A1 (en) 2017-09-28
DE102017002604B4 (en) 2019-09-19
JP2017175278A (en) 2017-09-28

Similar Documents

Publication Publication Date Title
CN107219822B (en) Serial communication branch equipment and serial communication system
EP2521041B1 (en) Electronic modules with automatic configuration
US9960930B2 (en) Bus node and bus system and method for identifying the bus nodes of the bus system
CN110290227B (en) Dynamic distribution method, system and storage medium for integrated circuit bus address
EP0201253B1 (en) Power line communications system
JPS58223938A (en) Control method of calling communication network
CN105807722A (en) Numerical control system including internal register self-reset function with serial communication signal monitoring
JP7046699B2 (en) Communications system
CN109194379A (en) A kind of wireless repeater, relay system and wireless relay communication method
US10678729B1 (en) Interface conversion device of programmable logic controller (PLC) system and PLC system thereof
CN104301191A (en) Bus system
CN105094037B (en) Expansion module for the programmable logic controller (PLC) using universal serial bus communications
US20160142102A1 (en) Motor vehicle on-board power system and method for transmitting data signals in a motor vehicle on-board power system
CN107101348A (en) The indoor unit and outdoor unit means of communication, device and the air-conditioner set of air conditioning multi-couple unit
US20070013490A1 (en) Communication system
US10972307B2 (en) Communication system
KR101257153B1 (en) Group master communication system and method for serially transmitting data in automation technology
KR100916665B1 (en) Air-conditioner and operating method thereof
CN109075566A (en) The method for operating differential protection scheme
US20100318702A1 (en) Automated system and control device for identifying a connecting element
US20070013492A1 (en) Communication system and PLC network
US8081652B2 (en) Integrated universal input-output interface circuit
CN101962111B (en) Control/monitor system
KR102177230B1 (en) Apparatus and method for serial communication control discriminating
CN101677288B (en) Remote communication method of Internet and system thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant