Procédé d'adressage d'un appareil électriqueMethod of addressing an electrical appliance
Domaine technique de l'invention La présente invention se rapporte à un procédé d'adressage d'un premier appareil électrique connecté en point à point à un second appareil électrique par l'intermédiaire d'un câble réseau. Le premier appareil électrique sera par exemple un variateur de vitesse destiné à être configuré à l'aide d'un ordinateur personnel. Etat de la technique 1 o Lors d'une opération de configuration d'un premier appareil électrique, tel que par exemple un variateur de vitesse, un second appareil électrique lui est connecté en employant un câble réseau, par exemple un câble de type Ethernet. Le second appareil électrique est par exemple un ordinateur personnel et permet la configuration du variateur de vitesse. Pour dialoguer, le variateur de vitesse et l'ordinateur personnel 15 emploient souvent un protocole de communication de type TCP/IP. Pour cela, le variateur de vitesse doit être doté d'une adresse réseau de type IP. Pour obtenir une adresse IP, il est nécessaire de connecter le variateur de vitesse à un serveur de type DHCP ou BOOTP. Le but de l'invention est de proposer un procédé permettant d'affecter une 20 adresse réseau à un premier appareil électrique tel qu'un variateur de vitesse lorsque celui-ci est connecté en point à point avec un second appareil électrique tel qu'un ordinateur personnel sans recourir à l'emploi d'un serveur de type DHCP ou BOOTP. Exposé de l'invention 25 Ce but est atteint par un procédé d'adressage d'un premier appareil électrique connecté en point à point à un second appareil électrique par l'intermédiaire d'un câble réseau, ledit procédé d'adressage étant caractérisé en ce qu'il comporte les étapes suivantes : envoi par le second appareil électrique, via le câble réseau, d'une 30 première requête à une adresse réseau choisie sur le second appareil électrique, envoi par le second appareil, via le câble réseau, d'une deuxième requête à ladite adresse réseau après absence de réponse et expiration de la durée de la première requête, auto-assignation par le premier appareil électrique de ladite adresse réseau après absence de réponse et expiration de la durée de la deuxième requête. Selon une particularité, le premier appareil électrique conserve son adresse réseau jusqu'à ce que le câble réseau soit débranché. Selon une autre particularité, le premier appareil électrique conserve l'adresse 1 0 réseau en mémoire après débranchement du câble réseau et le procédé de l'invention comporte une étape de réaffectation de l'adresse réseau lorsque le second appareil électrique lui est à nouveau connecté. Selon une autre particularité, l'adresse réseau est de type IP. Selon une autre particularité, la première requête et la deuxième requête sont 15 de type ARP ("Address Resolution Protocol"). Selon une autre particularité, le procédé comporte une étape de réponse à la deuxième requête par laquelle le premier appareil électrique renvoie son adresse MAC au second appareil électrique. L'invention concerne également un système de communication comportant un 20 premier appareil électrique et un second appareil électrique connectés entre eux en point à point par l'intermédiaire d'un câble réseau, caractérisé en ce que : le second appareil électrique comporte des moyens d'envoi, via le câble réseau, d'une première requête à une adresse réseau choisie sur le second appareil électrique, et d'envoi, via le câble réseau, d'une deuxième 25 requête à ladite adresse réseau après absence de réponse et expiration de la durée de la première requête, le premier appareil électrique comporte des moyens d'auto-assignation de ladite adresse réseau après absence de réponse et expiration de la durée de la deuxième requête. 30 Selon une particularité, le premier appareil électrique est un variateur de vitesse et le second appareil électrique est un ordinateur personnel.TECHNICAL FIELD OF THE INVENTION The present invention relates to a method of addressing a first electrical appliance connected in point-to-point connection to a second electrical appliance via a network cable. The first electrical device will be for example a variable speed drive to be configured using a personal computer. State of the art 1 o During a configuration operation of a first electrical device, such as for example a variable speed drive, a second electrical device is connected to it by using a network cable, for example an Ethernet type cable. The second electrical device is for example a personal computer and allows the configuration of the variable speed drive. For dialogue, the drive controller and the personal computer 15 often use a TCP / IP type communication protocol. For this, the drive controller must have a network address of type IP. To obtain an IP address, it is necessary to connect the drive controller to a DHCP or BOOTP server. The object of the invention is to propose a method for assigning a network address to a first electrical device such as a variable speed drive when the latter is connected point-to-point with a second electrical device such as a personal computer without resorting to the use of a DHCP or BOOTP server. DESCRIPTION OF THE INVENTION This object is achieved by a method of addressing a first electrical appliance connected in point-to-point connection to a second electrical appliance via a network cable, said addressing method being characterized in it comprises the following steps: sending by the second electrical device, via the network cable, a first request to a network address chosen on the second electrical device, sending by the second device, via the network cable, d a second request to said network address after no response and expiration of the duration of the first request, auto-assignment by the first electrical device of said network address after no response and expiration of the duration of the second request. According to one feature, the first electrical device retains its network address until the network cable is unplugged. In another feature, the first electrical device retains the network address in memory after disconnection of the network cable and the method of the invention includes a step of reassigning the network address when the second electrical device is again connected to it. . According to another particularity, the network address is IP type. According to another particularity, the first request and the second request are of type ARP (Address Resolution Protocol). According to another feature, the method comprises a step of response to the second request by which the first electrical device returns its MAC address to the second electrical device. The invention also relates to a communication system comprising a first electrical apparatus and a second electrical apparatus connected to each other in point-to-point connection via a network cable, characterized in that: the second electrical apparatus comprises means for sending, via the network cable, a first request to a chosen network address on the second electrical device, and sending, via the network cable, a second request to said network address after no response and expiration the duration of the first request, the first electrical device comprises means for self-assignment of said network address after no response and expiration of the duration of the second request. According to a particular feature, the first electrical device is a variable speed drive and the second electrical device is a personal computer.
Brève description des figures D'autres caractéristiques et avantages vont apparaître dans la description détaillée qui suit en se référant à un mode de réalisation donné à titre d'exemple et représenté par les dessins annexés sur lesquels : la figure 1 représente un système de communication comportant un premier appareil électrique et un second appareil électrique connectés entre eux à l'aide d'un câble réseau, la figure 2 met en évidence les différentes étapes du procédé d'adressage de l'invention. Description détaillée d'au moins un mode de réalisation L'invention s'applique à un système de communication comportant un premier appareil électrique à configurer, tel que par exemple un variateur de vitesse 1 et un second appareil électrique destiné à la configuration du premier appareil électrique et prenant par exemple la forme d'un ordinateur personnel 2. Dans la suite de la description, on s'intéressera plus particulièrement à la mise en oeuvre du procédé de l'invention pour un variateur de vitesse 1 connecté à un ordinateur personnel 2. Cependant, il faut comprendre que le procédé de l'invention peut s'appliquer à tout appareil électrique destiné à communiquer avec un autre appareil électrique. Dans la suite de la description, on s'intéressera plus particulièrement au protocole de communication TCP/IP (Transmission Control Protocol/lnternet Protocol) dans lequel chaque appareil est identifié sur un réseau par une adresse réseau désignée adresse IP. Bien entendu, le procédé d'adressage de l'invention peut s'appliquer dans le cadre de tout autre protocole de communication fonctionnant en point à point entre deux appareils électriques. Dans le système de communication, le variateur de vitesse et l'ordinateur personnel sont connectés en point à point à l'aide d'un câble réseau 3, par exemple de type Ethernet. Cette architecture est couramment employée lors de la configuration d'un variateur de vitesse 1. Pour communiquer avec l'ordinateur personnel 2 qui lui est connecté, le variateur de vitesse 1 doit cependant se doter d'une adresse IP.BRIEF DESCRIPTION OF THE FIGURES Other features and advantages will appear in the following detailed description with reference to an embodiment given by way of example and represented by the appended drawings, in which: FIG. 1 represents a communication system comprising a first electrical apparatus and a second electrical apparatus connected to each other by means of a network cable, FIG. 2 highlights the various steps of the addressing method of the invention. DETAILED DESCRIPTION OF AT LEAST ONE EMBODIMENT The invention applies to a communication system comprising a first electrical device to be configured, such as for example a variable speed drive 1 and a second electrical device intended for the configuration of the first device. electrical and taking for example the form of a personal computer 2. In the following description, we will focus more particularly on the implementation of the method of the invention for a variable speed drive 1 connected to a personal computer 2 However, it should be understood that the method of the invention can be applied to any electrical apparatus for communicating with another electrical apparatus. In the following description, we will focus more particularly on the Transmission Control Protocol / lnternet Protocol (TCP / IP) communication protocol in which each device is identified on a network by a network address designated IP address. Of course, the addressing method of the invention can be applied in the context of any other communication protocol operating point-to-point between two electrical devices. In the communication system, the drive controller and the personal computer are connected point-to-point using a network cable 3, for example of the Ethernet type. This architecture is commonly used when configuring a variable speed drive 1. To communicate with the personal computer 2 which is connected to it, the drive controller 1 must however have an IP address.
3 Le procédé d'adressage de l'invention permet au variateur de vitesse 1 de se doter d'une adresse IP sans recourir à un serveur externe de type DHCP ou BOOTP. Selon l'invention, le variateur de vitesse 1 conservera son adresse IP tant qu'il sera connecté à l'ordinateur personnel 2 via le câble réseau 3. Il perdra son adresse IP dès qu'il aura détecté le débranchement du câble réseau 3. La détection du débranchement du câble réseau 3 peut être réalisée par des moyens mécaniques ou des moyens logiciels. En variante de réalisation, le variateur de vitesse 1 peut cependant conserver cette adresse IP en mémoire de manière à pouvoir la réemployer lorsqu'il sera replacé dans les mêmes conditions de connexion avec l'ordinateur personnel 2. Le procédé d'adressage de l'invention est décrit ci-dessous à travers l'emploi d'un navigateur WEB exécuté sur l'ordinateur personnel 2. Le procédé d'adressage comporte une première étape (El) pendant laquelle l'opérateur saisit dans le navigateur WEB lancé sur l'ordinateur personnel 2 l'adresse IP qu'il souhaite attribuer au variateur de vitesse 1. A partir de cette adresse IP, l'ordinateur personnel 2 essaie dans une deuxième étape (E2) de se connecter à ladite adresse IP. Comme l'adresse IP est inconnue car non attribuée sur le réseau, dans une troisième étape (E3), l'ordinateur personnel 2 génère une première requête de type ARP (Address Resolution Protocol) pour l'adresse IP afin d'obtenir l'adresse MAC de l'appareil qui utilise cette adresse IP. Comme le variateur de vitesse 1 ne possède pas d'adresse IP, dans une quatrième étape (E4), il détecte ladite première requête ARP et envoie une réponse de détection de ladite première requête ARP. Dans une cinquième étape (E5), la première requête ARP expire au bout d'une certaine durée sans que l'ordinateur personnel 2 ne reçoive de réponse. Dans une sixième étape (E6) du procédé d'adressage, l'ordinateur personnel 2 génère une deuxième requête de type ARP à destination du variateur de vitesse 1 pour la même adresse IP. De même que précédemment, comme le variateur de vitesse 1 ne connaît pas cette adresse IP, dans une septième étape (E7), il envoie une réponse de détection de ladite deuxième requête ARP. Dans une huitième étape (E8), la deuxième requête ARP expire. Après expiration de la deuxième requête, dans une neuvième étape (E9), le variateur de vitesse s'auto-assigne l'adresse IP contenue dans la requête ARP. Après la génération d'une troisième requête ARP, dans une dixième étape (E10), le variateur de vitesse peut répondre à cette dernière requête en renvoyant son adresse MAC. Le procédé de l'invention peut également être mis en oeuvre en lançant depuis l'ordinateur personnel une requête PING pour l'adresse IP que l'on souhaite affecter au variateur de vitesse. Après expiration de deux requêtes, le variateur de vitesse s'auto-assigne l'adresse réseau choisie. Le variateur de vitesse 1 peut alors communiquer avec l'ordinateur personnel 2 via le protocole TCP/IP sur le câble réseau 3. 1 o II est bien entendu que l'on peut, sans sortir du cadre de l'invention, imaginer d'autres variantes et perfectionnements de détail et de même envisager l'emploi de moyens équivalents.3 The addressing method of the invention allows the speed controller 1 to have an IP address without using an external server type DHCP or BOOTP. According to the invention, the variable speed drive 1 will keep its IP address as long as it is connected to the personal computer 2 via the network cable 3. It will lose its IP address as soon as it detects the disconnection of the network cable 3. Detection of the disconnection of the network cable 3 can be achieved by mechanical means or software means. As an alternative embodiment, the variable speed drive 1 can, however, keep this IP address in memory so that it can be re-used when it is placed back under the same conditions of connection with the personal computer 2. The method of addressing the The invention is described below through the use of a web browser executed on the personal computer 2. The addressing method comprises a first step (El) during which the operator enters in the WEB browser launched on the personal computer 2 the IP address it wishes to assign to the variable speed drive 1. From this IP address, the personal computer 2 tries in a second step (E2) to connect to said IP address. Since the IP address is unknown because it is not allocated on the network, in a third step (E3), the personal computer 2 generates a first request of the Address Resolution Protocol (ARP) type for the IP address in order to obtain the IP address. MAC address of the device that uses this IP address. As the variable speed drive 1 does not have an IP address, in a fourth step (E4), it detects said first ARP request and sends a detection response of said first request ARP. In a fifth step (E5), the first ARP request expires after a certain duration without the personal computer 2 receiving a response. In a sixth step (E6) of the addressing method, the personal computer 2 generates a second ARP type request to the variable speed drive 1 for the same IP address. As before, since the variable speed drive 1 does not know this IP address, in a seventh step (E7), it sends a detection response of said second request ARP. In an eighth step (E8), the second ARP request times out. After expiration of the second request, in a ninth step (E9), the drive controller self-assigns the IP address contained in the ARP request. After the generation of a third ARP request, in a tenth step (E10), the drive controller can respond to this last request by returning its MAC address. The method of the invention can also be implemented by launching from the personal computer a PING request for the IP address that is to be assigned to the drive controller. After two requests have expired, the drive controller automatically assigns the selected network address. The frequency converter 1 can then communicate with the personal computer 2 via the TCP / IP protocol on the network cable 3. 1 o It is understood that one can, without departing from the scope of the invention, imagine of other variants and refinements of detail and even consider the use of equivalent means.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| FR1153214AFR2974262B1 (en) | 2011-04-13 | 2011-04-13 | METHOD FOR ADDRESSING AN ELECTRICAL APPARATUS |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| FR1153214AFR2974262B1 (en) | 2011-04-13 | 2011-04-13 | METHOD FOR ADDRESSING AN ELECTRICAL APPARATUS |
| Publication Number | Publication Date |
|---|---|
| FR2974262A1true FR2974262A1 (en) | 2012-10-19 |
| FR2974262B1 FR2974262B1 (en) | 2013-04-12 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| FR1153214AActiveFR2974262B1 (en) | 2011-04-13 | 2011-04-13 | METHOD FOR ADDRESSING AN ELECTRICAL APPARATUS |
| Country | Link |
|---|---|
| FR (1) | FR2974262B1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0996265A1 (en)* | 1998-10-21 | 2000-04-26 | Alcatel | System and method to impose execution of a predefined command, between first and second terminals |
| WO2000076174A1 (en)* | 1999-06-08 | 2000-12-14 | Panja, Inc. | Method and system for dynamically assigning device numbers in a control system |
| US20030056008A1 (en)* | 2001-09-20 | 2003-03-20 | Russell Richard Francis | Automatic remote assignment of internet protocol address information to a network device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0996265A1 (en)* | 1998-10-21 | 2000-04-26 | Alcatel | System and method to impose execution of a predefined command, between first and second terminals |
| WO2000076174A1 (en)* | 1999-06-08 | 2000-12-14 | Panja, Inc. | Method and system for dynamically assigning device numbers in a control system |
| US20030056008A1 (en)* | 2001-09-20 | 2003-03-20 | Russell Richard Francis | Automatic remote assignment of internet protocol address information to a network device |
| Title |
|---|
| PETER TIAGUNOV: "Assigning IP address and configure Lantronix UDS-xxxx device using ARP and Telnet Configuration Manual", 31 December 2009 (2009-12-31), pages 1 - 4, XP002663780, Retrieved from the Internet <URL:http://leanmes.com/images/SetUpLantronixUDS1100IPAddressWithARPandTelnet.pdf> [retrieved on 20111117]* |
| Publication number | Publication date |
|---|---|
| FR2974262B1 (en) | 2013-04-12 |
| Publication | Publication Date | Title |
|---|---|---|
| EP2965486B1 (en) | Low latency server-side redirection of udp-based transport protocols traversing a client-side nat-firewall | |
| US10187284B2 (en) | Communication device, server device, communication method, and non-transitory computer readable medium | |
| CN102594635B (en) | Based on the terminal access method of home gateway and system and home gateway | |
| EP3139574A1 (en) | Automatic addressing method in an ethernet communication architecture | |
| CN110266713A (en) | Intranet communication method, device, system, proxy server and storage medium | |
| EP3332530A1 (en) | Methods and devices for identifying an authentication server | |
| JP2009266202A5 (en) | Information processing apparatus, information processing apparatus control method, session management system, and program | |
| WO2017215492A1 (en) | Device detection method and apparatus | |
| WO2016192407A1 (en) | Domain name system address configuration method and apparatus, and computer storage medium | |
| FR3039954A1 (en) | METHOD AND DEVICE FOR IDENTIFYING VISIT AND HOME AUTHENTICATION SERVERS | |
| CN105491045A (en) | Authentication-free access control method, apparatus, device and system | |
| FR2974262A1 (en) | Method for addressing speed regulator connected in point-to-point to personal computer using Ethernet cable, involves self-assigning network address by speed regulator after lack of response and expiry of duration of request | |
| WO2003067837A3 (en) | Dynamic host configuration protocol lease time determination | |
| CN103078837A (en) | Method for establishing a communication link between a programming device and an automation technology field device | |
| FR2930394A1 (en) | Communication gateway for transforming e.g. Modbus message, in Internet protocol network, has processing unit transforming Modbus message into another message to be sent to address of automatism equipment using correspondence table | |
| WO2018202985A1 (en) | Technique for executing a service in a local area network through a wide area communication network | |
| JP5777938B2 (en) | Fallback detection device, fallback detection method, and fallback detection program | |
| FR3045248A1 (en) | CONTROL OF ACCESS TO ONLINE SERVICE VIA A LI-FI NETWORK | |
| US9794241B2 (en) | System and method for connecting to security device by means of peer-to-peer (P2P) relay demon | |
| EP2169903A1 (en) | Apparatus and method for routing allowing the translation of addresses in cascade in a network | |
| JP2019103118A (en) | Communication relay device, communication relay program, and communication relay method | |
| WO2018069643A1 (en) | Method for negotiating a quality of service offered by a gateway to terminals | |
| JP6930585B2 (en) | Relay device, network system and network control method | |
| FR3052004B1 (en) | METHOD OF EXCHANGING DATA BETWEEN A CONNECTED OBJECT AND A CENTRAL SERVER | |
| EP4187874A1 (en) | Method for configuring a communication network and node implementing said configuration method |
| Date | Code | Title | Description |
|---|---|---|---|
| PLFP | Fee payment | Year of fee payment:6 | |
| PLFP | Fee payment | Year of fee payment:7 | |
| PLFP | Fee payment | Year of fee payment:8 | |
| PLFP | Fee payment | Year of fee payment:10 | |
| PLFP | Fee payment | Year of fee payment:11 | |
| PLFP | Fee payment | Year of fee payment:12 | |
| PLFP | Fee payment | Year of fee payment:13 | |
| PLFP | Fee payment | Year of fee payment:14 | |
| PLFP | Fee payment | Year of fee payment:15 |