JP5213834B2 - Serial communication device, station number automatic setting method and automatic coordinate detection method for multiple slave stations in serial communication device - Google Patents

Serial communication device, station number automatic setting method and automatic coordinate detection method for multiple slave stations in serial communication device Download PDF

Info

Publication number
JP5213834B2
JP5213834B2 JP2009258765A JP2009258765A JP5213834B2 JP 5213834 B2 JP5213834 B2 JP 5213834B2 JP 2009258765 A JP2009258765 A JP 2009258765A JP 2009258765 A JP2009258765 A JP 2009258765A JP 5213834 B2 JP5213834 B2 JP 5213834B2
Authority
JP
Japan
Prior art keywords
station
slave
serial communication
slave stations
communication device
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
JP2009258765A
Other languages
Japanese (ja)
Other versions
JP2011109158A (en
Inventor
栄一 須藤
東彦 安達
Original Assignee
株式会社日立産機システム
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 株式会社日立産機システム filed Critical 株式会社日立産機システム
Priority to JP2009258765A priority Critical patent/JP5213834B2/en
Publication of JP2011109158A publication Critical patent/JP2011109158A/en
Application granted granted Critical
Publication of JP5213834B2 publication Critical patent/JP5213834B2/en
Application status is Active legal-status Critical
Anticipated expiration legal-status Critical

Links

Images

Description

  The present invention relates to a serial communication device for setting a station number for serial communication used in, for example, a programmable controller, and a method for automatically setting a station number of a plurality of slave stations and an automatic coordinate detection method in the serial communication device.

  When performing serial communication with a plurality of slave stations from the master station, it is necessary to set the station number of each slave station. In order to perform one-to-N communication by conventional serial communication, it is necessary to manually set the address of the slave station in advance, and the time required to set the address when the number of slave stations reaches several thousand. Becomes enormous. Further, when changing the configuration of the slave station, it is necessary to reset the station number of each slave station. Since resetting also needs to be performed manually, the resetting work takes a lot of time as in the setting. Furthermore, when a system including a master station and a plurality of slave stations is delivered to an end customer, there is a problem of managing mechanical coordinates for the installation of each slave station.

  Instead of not requiring the station number for each slave station, the mode control code embedded in the transmission data from the master station is used as a unique identification code so that each slave station has its mode control code. A method of performing independent operation according to each is proposed (see Patent Document 1).

JP 09-218704 A

Therefore, in the case where there are a large number of slave stations, the setting or resetting of addresses of a plurality of slave stations can be automatically and efficiently set sequentially from the master station, and compared with the addresses of a plurality of slave stations. There is a problem to be solved in terms of efficiently managing the recognized mechanical coordinates (arrangement).
An object of the present invention is to enable automatic and efficient sequential setting or resetting of addresses of a plurality of slave stations, and to efficiently manage mechanical coordinates of a plurality of slave stations. A serial communication device, and a method for automatically setting a station number and an automatic coordinate detection method for a plurality of slave stations in the serial communication device are provided.

  A serial communication apparatus according to the present invention sequentially connects a master station having a control unit, a transmitter, and a receiver, a plurality of slave stations each having a control unit, a transmitter, and a receiver, and the adjacent slave stations. A serial transmission path for connecting the master station and the plurality of slave stations, each slave station is initially energized to the serial transmission path the control unit, the transmitter and the receiver A first switch that is set; and a second switch that initially sets the serial transmission path to a non-energized state and is switched to an energized state by the control unit after setting the station number of the slave station. It is a feature.

  The serial communication device according to the present invention includes a plurality of mounting rails extending in two intersecting biaxial directions, and a slave station arranged with the intersection of the X direction and the Y direction as a mounting position. A signal generator for supplying a signal to the mounting rail extending in the direction, and a signal receiver connected to the other mounting rail extending in the other axial direction, the signal generated by the signal generator at the intersection A signal is supplied to the mounting rail that is picked up by the arranged slave station and extends in the other axial direction, and the signal receiver receives the signal, whereby the placement position of the slave station is set as a mechanical coordinate. It is characterized by discrimination.

  Further, the station number automatic setting method for a plurality of slave stations in the serial communication apparatus according to the present invention includes a master station having a control unit, a transmitter, and a receiver, and a plurality of slave stations each having a control unit, a transmitter, and a receiver. , And a serial communication device comprising a serial transmission path for connecting the parent station and the plurality of slave stations by sequentially connecting the adjacent slave stations, each of the slave stations includes the control unit and the transmission And the receiver are connected to the serial transmission line via a first switch that is initially energized, and the slave station responds to a change in the station number of the slave station from the master station. It is characterized by repeating the connection of the serial transmission path to the adjacent slave station by changing the station number and switching the second switch that is initially set to the non-energized state to the energized state.

  Furthermore, an automatic coordinate detection method for a plurality of slave stations in a serial communication apparatus according to the present invention is arranged with a plurality of mounting rails extending in two intersecting axis directions and intersections of the X direction and the Y direction as arrangement positions. Serial communication further comprising: a signal generator for supplying a signal to the mounting rail extending in one axial direction; and a signal receiver connected to the mounting rail extending in the other axial direction. In the apparatus, the signal generator sequentially generates a signal on the mounting rail extending in the one axial direction, and the signal supplied to the one mounting rail extending in the one axial direction is disposed on the mounting rail. In response to the slave station capturing, the slave station supplies a signal to the mounting rail extending in the other axial direction at the intersection point where the slave station is disposed, and When the signal receiver receives the signal, an intersection of the mounting rail that the signal generator generates the signal and the mounting rail that the signal receiver receives the signal of It is characterized by determining the arrangement coordinates.

  In the present invention, since the station number of each slave station can be automatically set, even in a free arrangement configuration of a plurality of slave stations, it is automatically connected by sequentially connecting to a serial transmission path and by causing a switch to perform a predetermined operation. The station number can be set to the station number and the change of the station number of the slave station can be flexibly dealt with. In addition, for a plurality of devices arranged at the intersections of the mounting rails that intersect, the slave station provided in the device detects the signal that has flowed through the mounting rail that extends in one axial direction, and the signal of the mounting rail that extends in the other axial direction In order to automatically detect the mechanical coordinates of the equipment arranged at the intersection from the information of signal generation and reception, it is necessary to check whether the slave station is mechanically installed as planned. Can be judged.

1 is a circuit configuration diagram showing a first embodiment of a serial communication device according to the present invention; It is a sequence diagram which shows the flow of communication of the serial communication apparatus shown in FIG. It is a figure which shows 2nd Example which arranged the serial communication apparatus by this invention planarly. It is a figure which shows the outline of an apparatus provided with the subunit | mobile_unit of the serial communication apparatus shown in FIG.

Embodiments of a serial communication apparatus according to the present invention will be described in detail with reference to the drawings.
For example, in a building of a semiconductor manufacturing apparatus, a large number of fan / filter units are installed on the ceiling in order to keep a clean room clean by always generating a downdraft. The serial communication apparatus according to the present invention is used to set / reset addresses of such a large number of fan / filter units, or to manage installation position information of the fan / filter units.

  The number of such fan / filter units may reach several thousand or more in one building. For a large number of fan / filter units manufactured in a factory, it is not realistic to set addresses or the like at the manufacturing stage because it is impossible to respond appropriately and quickly in the event of a failure. In addition, for a large number of fan / filter units that have been installed once, settings may be changed, such as increasing / decreasing the number of installations, changing installation locations, changing operating conditions such as the amount of air flow, etc. . In any case, it is necessary to assign an address to the slave station provided in the fan filter unit. Alternatively, it is required to manage position information such as specifying an arrangement position of the fan / filter unit specified by an address on the ceiling of the building for maintenance of the fan / filter unit.

  A large number of fan / filter units are brought into a semiconductor manufacturing factory and installed at necessary places on the ceiling, and then connected by wiring, and are connected in serial communication to a master station which is an overall control device. Therefore, the present invention automatically and efficiently performs address setting / resetting from the master station to the slave station using the situation in which such a large number of devices are placed in the serial communication state. It responds to managing the mechanical position information arranged.

  The serial communication device according to the present invention is a serial communication bus for a plurality of devices (hereinafter referred to as slave stations) that operate in parallel and independently from a single central control device (PC or programmable controller; hereinafter referred to as a master station for convenience). When performing connection control by system and performing operation control (so-called 1-to-N communication), the master station is set in advance for each slave station in advance when reconfiguring the system or reconfiguring the configuration / location change. It has the function of automatically assigning station numbers to all the slave stations by simultaneous broadcast communication from the master station after the system has been established, without having to set an identification number (hereinafter referred to as a station number) from is there.

  FIG. 1 is an electrical wiring diagram showing an embodiment of a serial communication unit according to the present invention. The serial communication apparatus shown in FIG. 1 includes one master station 6, three slave stations 7a, 7b, and 7c, and a serial transmission path 5 that connects the master station 6 and the slave stations 7, 7b, and 7c. Yes. On the master station 6 side, a control unit (MPU: microprocessor unit) 1 composed of a microcomputer for controlling communication, a transmitter (T: transmitter) 2 for controlling a serial communication line, and a receiver (R: receiver) 3 are provided. I have. Similarly to the master station 6, the slave station 7a (same as 7b and 7c) is a microcomputer (MPU), a transmitter (T), a receiver (R), and a switch for cutting off / connecting communication with the master station 6 4a and a switch 4b (SW1, SW2, SW3 for each slave station) for opening and closing the serial transmission path 5 with respect to an adjacent slave station.

  Next, the automatic setting of the station number of each slave station, which is the subject of the present invention, will be described with reference to FIG. FIG. 2 is a sequence diagram showing a procedure for automatically setting the station number of each slave station. The configuration example of the serial communication device shown in FIG. 1 and FIG. 2 will be described with one master station and three slave stations. This is the same logic for communication and setting with one master station and N slave stations. Is possible.

  The station number of the slave station is, for example, FF in hexadecimal as an initial value. The switches 4a on each slave station side in FIG. 1 are all in a conductive state (ON), but the switch 4b is in a non-conductive state (OFF). Next, as shown in FIG. 2, a station number change request message (telegram) for changing the station number from FF to 01 is transmitted from the master station 6 to the slave station 1 (7a). Since the switch 4b is in a non-conduction state, the transmission destination of the message is only the slave station 1. In the slave station 1, since the switch 4a is in a conductive state, a station number change request message is transmitted to the control unit, and the control unit of the slave station 1 analyzes the contents of the message and sets the station number of the slave station 1 to FF. Is automatically changed from 01 to 01, and at the same time, the switch 4b (SW1) is turned on. Next, the slave station 1 transmits a message notifying the master station 6 that the station number has been changed.

  The master station 6 that has received this message prepares a station number change setting in the same manner as the next slave station 2 and transmits a station number change message to the slave station 2 (7b) to change the station number from FF to 02. To do. Here, since the switch 4b between the slave station 1 and the slave station 2 is in a conductive state (ON), when the slave station is viewed from the master station 6, the slave station 1 and the slave station 2 are connected. It will be. Since the slave station 1 has already been set, the station number change request message is transmitted to the control unit of the slave station 2, and the control unit of the slave station 2 analyzes the contents of the message and determines the station number of the slave station 2. The FF is automatically changed to 02, and at the same time, the switch 4b (SW2) is turned on (ON). Next, the slave station 2 transmits a message notifying that the change of the station number has been completed to the master station 6.

By this operation, the station numbers on the slave station side can be automatically and sequentially set. Thereafter, similarly, a station number change request message for changing the station number from FF to 03 is transmitted to the slave station 3 (7c). In the slave station 3, the control unit transmits the transmitted station number change request message. The station number of the slave station 3 is automatically changed from FF to 03, and at the same time, the switch 4b (SW3) is turned on (ON), and the slave station 3 has finished changing the station number to the master station. Send a message to inform you. Thereafter, when there are slave stations, the station numbers are sequentially set.
With this configuration, it is possible to easily perform initial setting of an address or resetting of an address when addition, change, or deletion is performed at a site where many slave stations are constructed.

Next, a second embodiment of the serial communication apparatus according to the present invention will be described.
In the second embodiment, a method for automatically detecting the mechanical coordinates of the slave station will be described. As shown in FIG. 3, this slave station is mounted on a fan / filter unit (FFU main body in FIG. 3) 10 mounted on a mounting rail 15 extending in the plane Y direction, for example, in the ceiling of a factory building. Has been. In FIG. 3, the ceiling portion is configured by assembling a mounting rail 14 extending in the plane X direction and a mounting rail 15 extending in the plane Y direction orthogonal to the mounting rail 14. The mounting rail 14 and the mounting rail 15 are indicated by broken lines, and the FFU main body 10 is indicated by a rectangular solid line.

  The FFU main body 10 includes a magnetic sensor 13 as shown in FIG. 4 in addition to the pulse detector 11 and the pulse generator 12 shown in FIG. As shown in FIG. 4, coils 16 are mounted at equal intervals in the mounting rail 15 extending in the Y direction. In FIG. 4, the XY directions in FIG. 3 are shown reversed. In each mounting rail 15, the coils 16 are electrically connected in series. Specifically, the magnetic sensor 13 is mounted in the slave station, and detects magnetic field lines generated when the coil 16 is energized.

  In the slave station, the detection electric signal from the magnetic sensor 13 is captured by the pulse detector 11. When the pulse detector 11 captures the detected electric signal, the pulse detector 11 sends a signal to the pulse generator 12 and transmits the pulse signal to the mounting rail 14 extending in the X direction.

  As shown in FIG. 3, the mounting rail 15 extending in the Y direction is connected to the pulse generator 17 by distinguishing the rails as Y1, Y2,..., Y6, and the mounting rail 14 extending in the X direction includes A pulse receiver 18 is connected to distinguish rails such as X1, X2,..., X5. Therefore, when a pulse is supplied from the pulse generator 17 to the specific mounting rail 15, the coil 16 provided on the mounting rail 15 is energized to generate a magnetic field line and is provided in the installed FFU main body 10. The magnetic sensor 13 detects the magnetic field lines, the pulse generator 12 supplies a pulse signal to the mounting rail 14 extending in the X direction, and the pulse receiver 18 receives the pulse signal.

Next, the operation of the serial communication device according to the present invention will be described.
As shown in FIG. 3, a pulse signal is transmitted from a pulse generator 17 connected to each mounting rail 15 extending in the Y direction to a specific mounting rail 14 (for example, Y6). Since a pulse current flows through the coil 16 connected in series in the mounting rail Y <b> 6, magnetic field lines are generated from the coil 16. The FFU main body 10 mounted on the mounting rail Y6, that is, where the slave station exists, receives the magnetic lines of force from the coil 16 and detects the electric pulse signal from the magnetic sensor 13 with the pulse detector 11. Can do. When the pulse detector 11 detects the electric pulse signal, the pulse is delivered to the pulse generator 12, and the pulse generator 12 sends the pulse signal to the mounting rails X2, X4 and X5 extending in the X direction. When the pulse receiver 18 connected to the mounting rail 14 extending in the X direction receives this pulse signal, the FFU main body is converted into mechanical coordinates (X2, Y6), (X4, Y6) and (X5, Y6). 10 is mounted.

  In this way, a pulse current is sequentially supplied from the pulse generator 12 to the Y-direction mounting rails Y1 to YN, and is transmitted from the slave stations mounted on the mounting rail to the X-direction mounting rails X1 to XM. As a mechanical coordinate, it is possible to determine at which intersection of the mounting rails 14 and 15 extending in the XY direction the slave station is mounted. .

  The present invention can improve the efficiency of, for example, automatic setting of the station number of each slave station in serial communication and reading of the mounting state.

DESCRIPTION OF SYMBOLS 1 Microcomputer 2 Transmitter 3 Receiver 4a, 4b Serial transmission path switch 5 Serial transmission path 6 Master station 7a, 7b, 7c Slave station 10 FFU (fan filter unit) main body 11 Pulse detector 12 Pulse generator 13 Magnetic sensor 14 Mounting rail extending in the Y direction 15 Mounting rail extending in the X direction 16 Coil 17 Pulse generator 18 Pulse receiver

Claims (2)

  1. A master station having a control unit, a transmitter, and a receiver, a plurality of slave stations each having a control unit, a transmitter, and a receiver, and a plurality of slave stations that are adjacent to each other, are sequentially connected to each other. In a serial communication device provided with a serial transmission path for connecting the slave station,
    Each of the slave stations is connected to the serial transmission line through the first switch that is initially energized, the control unit, the transmitter and the receiver,
    When making a station number change request for the slave station from the master station, the slave station connected to the serial transmission path via the first switch changes the station number of the local station in response to the request. Automatic switching of station numbers of a plurality of slave stations in a serial communication device, wherein the serial transmission path is repeatedly connected to the adjacent slave stations by switching the second switch initially set to a non-energized state to the energized state Setting method.
  2. A master station having a control unit, a transmitter, and a receiver, a plurality of slave stations each having a control unit, a transmitter, and a receiver, and a plurality of slave stations that are adjacent to each other, are sequentially connected to each other. A serial transmission line connecting the slave station,
    Each of the slave stations sets the control unit, the transmitter, and the receiver to an initial energized state in the serial transmission path, and sets the serial transmission path to an initial non-energized state. And a second switch that is switched to an energized state by the control unit after setting the station number of the slave station, and when a request for changing the station number of the slave station is made from the master station, via the first switch said slave station is connected, a serial communication device, wherein that you change the station number of its own station.
JP2009258765A 2009-11-12 2009-11-12 Serial communication device, station number automatic setting method and automatic coordinate detection method for multiple slave stations in serial communication device Active JP5213834B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009258765A JP5213834B2 (en) 2009-11-12 2009-11-12 Serial communication device, station number automatic setting method and automatic coordinate detection method for multiple slave stations in serial communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009258765A JP5213834B2 (en) 2009-11-12 2009-11-12 Serial communication device, station number automatic setting method and automatic coordinate detection method for multiple slave stations in serial communication device

Publications (2)

Publication Number Publication Date
JP2011109158A JP2011109158A (en) 2011-06-02
JP5213834B2 true JP5213834B2 (en) 2013-06-19

Family

ID=44232217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009258765A Active JP5213834B2 (en) 2009-11-12 2009-11-12 Serial communication device, station number automatic setting method and automatic coordinate detection method for multiple slave stations in serial communication device

Country Status (1)

Country Link
JP (1) JP5213834B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6328722B1 (en) 1991-10-01 2001-12-11 The Procter & Gamble Company Absorbent article having pleated flaps

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2616503B2 (en) * 1991-01-08 1997-06-04 富士通株式会社 Address setting device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6328722B1 (en) 1991-10-01 2001-12-11 The Procter & Gamble Company Absorbent article having pleated flaps

Also Published As

Publication number Publication date
JP2011109158A (en) 2011-06-02

Similar Documents

Publication Publication Date Title
DE602004011201T2 (en) Packet communication between a collar unit and a variety of power supply control devices
US8352080B2 (en) Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8352081B2 (en) Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8977794B2 (en) Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
JP3896237B2 (en) Control system
US8560125B2 (en) Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US20100106810A1 (en) Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US20100106322A1 (en) Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US20100106326A1 (en) Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US7548150B2 (en) Method for the allocation of short addresses in illumination systems
EP2409550B1 (en) Method of semi-automatic ballast replacement
JP2014187029A (en) Distributed lighting control system
EP1762918B1 (en) Remote terminal apparatus for programmable controller
US20100070100A1 (en) Control architecture and system for wireless sensing
US20110310621A1 (en) Automatically commissioning of devices of a networked control system
WO2006095317A1 (en) Commissioning wireless network devices according to an installation plan
WO2012166369A2 (en) Lighting control network configuration with rfid devices
TW201008175A (en) Method of commissioning a device arrangement
DE102006036770A1 (en) Method for commissioning at least one field device
US7852230B2 (en) Method of communication and home automation installation for its implementation
US9560723B2 (en) Systems and methods for self commissioning and locating lighting system
AT504973B1 (en) System and method for controlling bus-linked devices through an open fieldbus
US20130051806A1 (en) Remote Controller Paring Method and System Using the Same
DE10066242B4 (en) Communication-capable circuit-breaker
US6867682B2 (en) Clean room system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111202

A131 Notification of reasons for refusal

Effective date: 20121113

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121225

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130226

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160308

Year of fee payment: 3