WO2010073346A1 - 通信管理装置、通信装置および通信方法 - Google Patents

通信管理装置、通信装置および通信方法 Download PDF

Info

Publication number
WO2010073346A1
WO2010073346A1 PCT/JP2008/073632 JP2008073632W WO2010073346A1 WO 2010073346 A1 WO2010073346 A1 WO 2010073346A1 JP 2008073632 W JP2008073632 W JP 2008073632W WO 2010073346 A1 WO2010073346 A1 WO 2010073346A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
communication
multicast address
address
group
Prior art date
Application number
PCT/JP2008/073632
Other languages
English (en)
French (fr)
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 DE112008004245.4T priority Critical patent/DE112008004245B4/de
Priority to PCT/JP2008/073632 priority patent/WO2010073346A1/ja
Priority to CN200880132546.5A priority patent/CN102265561B/zh
Priority to KR1020117014492A priority patent/KR101253931B1/ko
Priority to US13/142,244 priority patent/US8908566B2/en
Priority to JP2010543684A priority patent/JP5084916B2/ja
Priority to TW098100145A priority patent/TWI405436B/zh
Publication of WO2010073346A1 publication Critical patent/WO2010073346A1/ja

Links

Images

Classifications

    • 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/42Loop networks
    • H04L12/427Loop networks with decentralised control
    • H04L12/433Loop networks with decentralised control with asynchronous transmission, e.g. token ring, register insertion
    • 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/42Loop networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • 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/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling
    • H04L12/4035Bus networks with centralised control, e.g. polling in which slots of a TDMA packet structure are assigned based on a contention resolution carried out at a master unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5069Address allocation for group communication, multicast communication or broadcast communication
    • 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/46Interconnection of networks
    • H04L12/4637Interconnected ring systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Definitions

  • the present invention relates to a communication management apparatus, a communication apparatus, and a communication method for performing communication using token frames between communication nodes connected by Ethernet (registered trademark).
  • the FA (Factory Automation) system includes a control target device and a programmable controller that performs predetermined arithmetic processing using the state of the control target device as input data and outputs the operation condition of the control target device as output data.
  • Real-time control is possible by providing communication means for the controller and the device to be controlled and connecting them via a network. That is, the communication means provided in the control target device functions as a slave station, the communication means provided in the programmable controller functions as a communication management station that controls data transmission of the slave station, and the communication management station receives data from the slave station.
  • a process of calculating data for controlling the control target device using the received data and transmitting it to the slave station is periodically performed. At this time, the communication management station controls the timing of data transmission by each slave station so as to guarantee the real-time property of data communication.
  • An object of the present invention is to obtain a communication management device, a communication device, and a communication method capable of distinguishing and eliminating data received from another network even if it is erroneously connected via the network.
  • a communication management apparatus is a group in which one communication management apparatus and one or more slave stations are connected by an Ethernet (registered trademark) cable in a network of the same segment.
  • the station and the own apparatus determine the transmission order of token frames indicating transmission rights, configure a logical ring to configure a logical ring, multicast address generating means for generating a multicast address from the MAC address of the own apparatus, and the multicast
  • a multicast address storage means for storing an address;
  • a multicast address notifying means for notifying the slave station of the ring of the multicast address; and a frame in which the multicast address is set as a destination address is transmitted, and the destination address of the received frame is stored in the multicast address storage means.
  • Frame communication processing means for determining whether or not the received multi
  • the communication management device notifies the slave station configuring the logical ring of the multicast address generated from the MAC address of the own device, and transmits as a broadcast frame using the multicast address in the logical ring, At the time of reception, it is determined whether or not reception processing is performed based on whether or not the destination address is the multicast address.
  • one or more slave stations are Ethernet (registered trademark), and different segments such as in the factory are wired in a complicated manner. Even when connected, there is an effect that setting for recovery of erroneous connection is unnecessary, or abnormal operation of the recovery function of erroneous connection due to erroneous setting by the user can be prevented.
  • FIG. 1 is a block diagram schematically showing a functional configuration of a communication management apparatus according to Embodiment 1 of the present invention.
  • FIG. 2A is a diagram illustrating an example of a format of an Ethernet (registered trademark) frame.
  • FIG. 2-2 is a diagram illustrating a format of a destination address.
  • FIG. 3 is a diagram illustrating an example of a method for generating a multicast address of a MAC address.
  • FIG. 4 is a block diagram schematically showing the functional configuration of the slave station.
  • FIG. 5 is a flowchart showing an example of processing when the communication node receives a frame according to the first embodiment.
  • FIG. 6A is a schematic diagram illustrating an operation when a plurality of groups are connected by a switching hub (part 1).
  • FIG. 1 is a block diagram schematically showing a functional configuration of a communication management apparatus according to Embodiment 1 of the present invention.
  • FIG. 2A is a diagram illustrating an example of a format
  • FIG. 6B is a diagram schematically showing the operation when a plurality of groups are connected by the switching hub (part 2).
  • FIG. 7 is a flowchart showing an example of frame processing of the communication node according to the second embodiment.
  • FIG. 8 is a diagram schematically showing a data flow when two groups having different multicast addresses are connected.
  • FIG. 1 is a block diagram schematically showing a functional configuration of a communication management apparatus according to Embodiment 1 of the present invention.
  • the communication management device (master station) 10 includes two ports 11-1 and 11-2 for connecting an Ethernet (registered trademark, the same applies hereinafter) cable between adjacent communication nodes (slave stations) or switching hubs.
  • a communication processing unit 20 that performs frame transmission / reception processing via ports 11-1 and 11-2, processing for establishing a token frame transmission order, and the like.
  • the ports 11-1 and 11-2 are composed of two ports, a first port 11-1 and a second port 11-2. It suffices that at least one of these two ports 11-1 and 11-2 is connected to an adjacent slave station port (or a slave station port via a switching hub).
  • the communication processing unit 20 includes a logical ring configuration unit 21, a token circulation order information storage unit 22, a multicast address generation unit 23, a multicast address storage unit 24, a multicast address notification unit 25, a token frame processing unit 26, A data frame communication processing unit 27.
  • the token frame processing unit 26 and the data frame communication processing unit 27 correspond to a frame communication processing unit.
  • the logical ring configuration unit 21 detects a communication node (slave station) existing in the network of the same segment as the communication management device 10 when the communication management device 10 is turned on or at predetermined time intervals, and data is determined from the connection relationship. Logical ring configuration processing is performed to determine token circulation order information, which is the order in which the token frame that is the transmission right is sent (passed).
  • the logical ring configuration unit 21 notifies token communication destination information including a communication node that obtains a transmission right next to the communication node to other communication nodes (slave stations) existing in the network of the same segment.
  • the token circulation destination information may be token circulation order information.
  • the token circulation order information storage unit 22 stores the token circulation order information determined by the logical ring configuration unit 21.
  • the multicast address generation unit 23 is a multicast used for communication in a network (group) including slave stations managed by the communication management device 10 from a MAC (Media Access Control) address uniquely assigned to the communication management device 10. Generate an address.
  • This multicast address has a role of group identification information for identifying a group.
  • FIG. 2A is a diagram illustrating an example of an Ethernet frame format
  • FIG. 2B is a diagram illustrating a format of a destination address.
  • the Ethernet frame 100 includes an 8-octet preamble / SFD (Start Frame Delimiter) 101 indicating the transmission of the Ethernet frame 100 and the start of the destination address, a 6-octet destination address 102 which is the transmission destination of the Ethernet frame 100, and the Ethernet frame.
  • SFD Start Frame Delimiter
  • FCS Frae Check Sequence
  • the destination address 102 of the Ethernet frame is 48 bits (6 octets), and the I / G bit (first bit) 112 of the first octet 111 is “0”. It is a unicast address, and if “1”, it is decided to indicate that it is a multicast address.
  • the MAC address I / G bit 112 uniquely assigned to the communication management apparatus 10 is set to “1” in the network (group) managed by the communication management apparatus 10.
  • the multicast address to be used Since the MAC address itself is a unique address, a multicast address in which the I / G bit 112 of this MAC address is changed to “1” is also a unique address.
  • FIG. 3 is a diagram showing an example of a method for generating a MAC address multicast address.
  • the MAC address (hexadecimal notation) of the communication management apparatus 10 is “11-22-33-44-55-66”
  • “11” of the first octet 111 is expressed as “00010001” in binary notation.
  • the first bit (I / G bit) 112 of the first octet 111 consisting of 8 bits is set to “1”
  • “1000001” is obtained.
  • this is expressed in hexadecimal notation, it becomes “91”.
  • the multicast address of the network (group) formed by the communication management apparatus 10 is “91-22-33-44-55-66”. This is an example, and multicast addresses can be generated in the same manner for other MAC addresses.
  • the multicast address storage unit 24 stores the multicast address generated by the multicast address generation unit 23.
  • the multicast address stored in the multicast address storage unit 24 is used as information for identifying a network group when a frame is transmitted within the group in the token frame processing unit 26 or the data frame communication processing unit 27.
  • the multicast address notification unit 25 notifies the slave station connected to the communication management apparatus 10 of the multicast address, more specifically, to the slave station existing in a range where the frame can be transmitted by broadcast. .
  • the token frame processing unit 26 generates a token frame based on the Ethernet frame 100 when the logical ring configuration processing by the logical ring configuration unit 21 is completed and the multicast address notification unit 25 completes notification of the multicast address to the slave station.
  • the token frame is transmitted based on the token circulation order information. For example, in the Ethernet frame 100 of FIG. 2A, a value indicating a token frame is set in the type 104, and transmission right acquisition device information indicating the MAC address of the communication node that acquires the transmission right is set in the data 105. Then, a token frame in which the multicast address stored in the multicast address storage unit 24 is set as the destination address 102 is generated and transmitted by broadcast.
  • the token frame processing unit 26 does not use a broadcast address as a broadcast address when a multicast address is stored in the multicast address storage unit 24 where a token frame should be transmitted by broadcast in the past.
  • the multicast address is set as the destination address 102 and the token frame is broadcast.
  • the token frame processing unit 26 When the token frame processing unit 26 receives a token frame transmitted from another communication node (slave station), whether or not the destination address 102 matches the multicast address stored in the multicast address storage unit 24. If they do not match, the token frame reception process is not performed. If they match, the transmission right acquisition device information in the data 105 of the token frame is compared with the MAC address of the own station. If they match, it is determined that the transmission right has been acquired, and the data frame communication processing unit 27 is instructed to perform data frame transmission processing. If they do not match, it is determined that the transmission right has not yet been obtained. In any case, the received token frame is switched to another port that is not the received port.
  • the data frame communication processing unit 27 performs data frame transmission / reception processing. Specifically, it is determined whether or not the destination address 102 of the received data frame matches the multicast address stored in the multicast address storage unit 24. If not, the data frame is received. If they match, the reception process is performed. If the transmission right is acquired, a data frame based on the Ethernet frame 100 is generated and transmitted. For example, in the Ethernet frame 100 of FIG. 2A, a value indicating a data frame is set in the type 104, the data to be transmitted is set in the data 105, and the multicast address stored in the multicast address storage unit 24 in the destination address 102 A data frame with an address set is created and transmitted to the slave station by broadcast.
  • the data frame communication processing unit 27 sets the broadcast address as the broadcast address when the multicast address storage unit 24 stores the multicast address where the data frame should be transmitted by broadcast. Instead, the multicast address is set as the destination address 102 and the data frame is transmitted by broadcast.
  • the MAC address for indicating to which slave station the data frame belongs is provided in the data 105 as the destination device information, and which data is stored in the data 105. Information indicating whether the data is for the slave station is added. It also has a function of transferring (switching) data frames addressed to other slave stations.
  • FIG. 4 is a block diagram schematically showing the functional configuration of the slave station.
  • the slave station 50 includes two ports 51-1 and 51-2 for connecting an Ethernet cable between adjacent communication nodes (communication management device 10, slave station 50) or a switching hub, and ports 51-1, And a communication processing unit 60 that performs frame transmission / reception processing via 51-2.
  • the ports 51-1 and 51-2 include two ports, a first port 51-1 and a second port 51-2. It is only necessary that at least one of these two ports 51-1 and 51-2 is connected to a communication node (or a port of a communication node via a switching hub).
  • the communication processing unit 60 includes a token circulation destination information storage unit 61, a multicast address storage unit 62, a token frame processing unit 63, and a data frame communication processing unit 64.
  • the token frame processing unit 63 and the data frame communication processing unit 64 correspond to frame communication processing means.
  • the token circulation destination information storage unit 61 stores the token circulation destination information notified from the communication management device 10. Here, it is assumed that only the MAC address of the communication node that obtains the transmission right next to the slave station 50 is stored as the token circulation destination information.
  • the multicast address storage unit 62 stores the multicast address of the group to which the own station belongs received from the communication management apparatus 10. This multicast address is generated from the MAC address of the communication management device 10 by the communication management device 10 in accordance with the rules described in FIG. 3, and is also information for identifying a group in which the own station exists.
  • the destination address 102 matches the multicast address stored in the multicast address storage unit 62. If it does not match, the token frame reception process is not performed. If they match, the transmission right acquisition device information in the data 105 of the token frame is compared with the MAC address of the own station. If they match, it is determined that the transmission right has been acquired, and the data frame communication processing unit 64 is instructed to perform data frame transmission processing. If they do not match, it is determined that the transmission right has not yet been obtained. In any case, the received token frame is switched to another port that is not the received port.
  • the token frame processing unit 63 stores the transmission right acquisition device information of the received token frame in the token circulation destination information storage unit 61 after the transmission of the data frame by the data frame communication processing unit 64 is completed.
  • the stored token circulation destination information is set, the multicast address stored in the multicast address storage unit 62 is set in the destination address 102, and the broadcast is transmitted. That is, in the first embodiment, the token frame processing unit 63 does not use the broadcast address as the broadcast address when the multicast address storage unit 62 stores the multicast address where the token frame should be transmitted in the past.
  • the multicast address is set as the destination address 102, and the token frame is transmitted by broadcast.
  • the data frame communication processing unit 64 performs data frame transmission / reception processing. Specifically, it is determined whether or not the destination address 102 of the received data frame matches the multicast address stored in the multicast address storage unit 62. If not, the data frame is received. If they match, the reception process is performed. When the transmission right is acquired, a value indicating a data frame is set in the type 104, the data to be transmitted is set in the data 105, and the multicast address stored in the multicast address storage unit 62 is set in the destination address 102. A data frame in which an address is set is generated and transmitted to the communication management device 10 and the slave station 50 by broadcast.
  • the data frame communication processing unit 64 sets the broadcast address as the broadcast address when the multicast address storage unit 62 stores the multicast address in the past where the data frame should be transmitted by broadcast. Instead, the multicast address is set as the destination address 102 and the data frame is transmitted by broadcast. Further, it has a function of transferring (switching) a data frame addressed to another communication node.
  • FIG. 5 is a flowchart showing an example of processing when the communication node receives a frame according to the first embodiment.
  • the processing shown here is performed by the token frame processing units 26 and 63 when, for example, a token frame is received, and is performed by the data frame communication processing units 27 and 64 when a data frame is received.
  • step S11 when a token frame or a data frame is received (step S11), it is determined whether the destination address 102 in the Ethernet frame matches the multicast address stored in the multicast address storage units 24 and 62 (step S12). If the destination address 102 does not match the multicast address of the own group (No in step S12), the frame is not received and sent from another port (step S13), and the process ends.
  • step S12 if the destination address 102 matches the multicast address of the own group (Yes in step S12), it is assumed that it is the frame of the own group, and the reception process is performed and the received frame is repeated (step) S14).
  • a reception process for example, in the case of a token frame, a process for determining whether or not the received communication node has a transmission right is performed.
  • a process for receiving data addressed to the own communication node is performed. . Then, the process ends.
  • FIGS. 6A and 6B are diagrams schematically illustrating an operation when a plurality of groups are connected by a switching hub.
  • one communication management device (indicated as a management station in the figure) 10-1 and three slave stations 50-A, 50-B, and 50-C are switched.
  • the first group 91 is configured by being connected by an Ethernet cable via the hub 81. It is assumed that the MAC address of the communication management device 10-1 of the first group 91 is “11-22-33-44-55-66”.
  • the multicast address generation unit 23 of the communication management apparatus 10-1 generates the multicast address “91-22-33-44-55-66” used in the first group 91 from the MAC address of its own station ( S21).
  • the generated multicast address is stored in the multicast address storage unit 24.
  • the logical ring configuration unit 21 of the communication management apparatus 10-1 performs logical ring configuration processing and token circulation with respect to the slave stations 50-A, 50-B, and 50-C existing in a range where the frame can be received by broadcast.
  • the token frame processing unit 26 issues a token frame in accordance with the token circulation order information.
  • the multicast address notification unit 25 notifies the multicast address to the slave stations 50-A, 50-B, and 50-C configuring the logical ring ( S22).
  • the notified multicast address is stored in the multicast address storage unit 62.
  • each of the slave stations 50-A, 50-B, and 50-C recognizes the network group 91 (a member of the logical ring of the communication management apparatus 10-1) to which the slave station belongs (S23).
  • a second group in which one communication management device ( master station) 10-2 and three slave stations 50-D, 50-E, 50-F are connected via an Ethernet cable via the switching hub 82.
  • the communication management device 10-2 also generates a multicast address for S.92 (S24), notifies the slave stations 50-D, 50-E, and 50-F (S25), and each slave station 50-D. , 50-E, 50-F recognize the network group 92 to which the own station belongs (S26).
  • the MAC address of the communication management apparatus 10-2 of the second group is “11-BB-CC-DD-EE-FF”, and the multicast address generated from this MAC address is “91-BB”. -CC-DD-EE-FF ".
  • a token frame in which the multicast address set in each of the groups 91 and 92 is set as a destination address is broadcast and the transmission right in the token frame is acquired.
  • the communication node set by the device information obtains the transmission right, sets the multicast address as the destination address of the data frame, and transmits it by broadcast (S27).
  • “91-22-33-44-55-66” is used as the multicast address
  • “91-BB-CC-DD” is used as the multicast address.
  • -EE-FF is used and the frame is broadcast.
  • the transmitted data is expressed as “Cycle_data_A” and “Cycle_data_B”.
  • the communication node in each group receives the frame, and if not, does not receive the frame.
  • the first and second groups 91 and 92 are independent. Therefore, in each of the groups 91 and 92, a frame in which a multicast address of another group is set is displayed. None receive.
  • the data frame 121 sent out by the communication node of the second group 92 is sent to the first group 91 via the switching hub 83. It enters (S28).
  • the communication node (communication management device 10-1 and slave stations 50-A, 50-B, 50-C) of the first group 91 has the destination address of the received data frame 121 itself. Since it does not match the multicast address of the first group 91 to which the communication node belongs, the frame 121 reception processing is not performed (S29). The same applies to frames from the first group 91 that have entered the second group 92.
  • the communication management apparatus 10 notifies the multicast address generated from its own MAC address to the slave stations 50 that exist on the same logical ring and form one group, Since the multicast address notified to the communication in this group is set to the destination address of the frame and transmitted by broadcast, each communication node 10, 50 can transmit the frame in its own group and the frame of another group It is possible to carry out processing with distinction.
  • the communication management device 10 since the communication management device 10 generates a multicast address from its own MAC address, the multicast address is also unique, and the multicast address does not overlap among a plurality of groups. Further, since the communication management apparatus 10 notifies the multicast address to the slave stations 50 existing on the logical ring, and each slave station 50 stores the multicast address, the multicast as set by the operator is performed. This has the effect of preventing erroneous address settings.
  • each communication node 10, 50 compares the destination address of the received frame with the multicast address of its own group to determine whether or not to perform the frame reception process, so that a group is formed. Even when a plurality of groups are erroneously connected directly or via a switching hub or the like during a subsequent operation, frames from other groups are not received and processed. In other words, even when an operator connects different groups via Ethernet, the programmable controller connected to the communication management device 10 is prevented from performing arithmetic processing using erroneous data, and system errors can be prevented. There is also an effect that the operation can be prevented.
  • each communication node compares the destination address of the received frame with the multicast address of its own group to determine whether or not to perform data reception processing.
  • FIG. 6B when the frame 121 flows from the second group 92 to the first group 91, all the communication nodes 10-1 and 50 in the first group 91 are obtained. Frames from the second group 92 are received at -A, 50-B, and 50-C, and useless communication occurs in the first group 91. Therefore, in the second embodiment, a communication method that can suppress useless communication of frames from other groups within the own group will be described.
  • FIG. 7 is a flowchart showing an example of frame processing of the communication node according to the second embodiment.
  • the processing shown here is performed by the token frame processing units 26 and 63 when, for example, a token frame is received, and is performed by the data frame communication processing units 27 and 64 when a data frame is received.
  • step S51 when a token frame or a data frame is received (step S51), it is determined whether the destination address 102 in the frame matches the multicast address stored in the multicast address storage units 24 and 62 (step S52). If the destination address 102 does not match the multicast address of the own group (No in step S52), the frame is discarded without receiving the frame (step S53). That is, the received frame is not switched to another port that is not a reception port. Then, the process ends.
  • the reception process is performed and the received frame is repeated (step S52), assuming that the frame is the own group. S54).
  • the reception process for example, in the case of a token frame, a process for determining whether or not the received communication node has a transmission right is performed.
  • a process for receiving data addressed to the own communication node is performed. Then, the process ends.
  • FIG. 8 is a diagram schematically showing a data flow when two groups having different multicast addresses are connected.
  • a first group 93 consisting of the communication management device 10-1 and slave stations 50-A, 50-B, 50-C, 50-G, the communication management device 10-2 and the slave station 50-D
  • the slave station 50-A is connected in a line to one port of the communication management device 10-1, and the slave stations 50-B, 50-C, and 50-G are connected to the other port.
  • the slave stations 50-G are connected in a line, and are connected to the slave station 50-C via the switching hub 84.
  • the slave station 50-D is connected in a line to one port of the communication management apparatus 10-2, and the slave stations 50-E and 50-F are connected in a line to the other one port. It is connected to the.
  • the first and second groups 93 and 94 are not connected, and each group 93 and 94 has the MAC of the communication management apparatuses 10-1 and 10-2 as described in the first embodiment. Communication is performed using a multicast address generated from the address.
  • the second group 94 changes the second group 94 to the first group 93.
  • 94 frame 122B (denoted as Cycle_data_B in the figure) enters, and the first group 93 frame 122A (denoted as Cycle_data_A in the figure) enters the second group 94 from the first group 93 (S62). .
  • the processing of FIG. 7 is performed, and the second port C2 connected to the switching hub 84 A frame from the second group 94 is received (S63), but since the destination address 102 of the frame is different from the multicast address of the own group, the frame is discarded without being transmitted from the first port C1 (S64).
  • the frame 122B from the second group 94 is not transmitted from the first port C1 of the slave station 50-C, and therefore reaches the communication management device 10-1 and the other slave stations 50-A and 50-B. There is nothing to do.
  • the slave station 50-D located at the boundary between the second group 94 and the first group 93 is also received by the first port D1 connected to the switching hub 84 (S65).
  • the frame 122A of the first group 93 is discarded without being transmitted from the second port D2 (S66).
  • the frame 122A from the first group 93 is not transmitted from the second port D2 of the slave station 50-D, and therefore reaches the communication management device 10-2 and other slave stations 50-E and 50-F. There is nothing to do.
  • the slave station 50-G of the first group 93 receives the frame 122B of the second group 94 from the second port G2. However, since there is no network beyond the first port G1, the slave station 50-G receives the frame 122B. The frame of the second group 94 cannot be transmitted.
  • the second embodiment when a plurality of groups exist in the network of the same segment, when a frame from another group is received from a certain port at a communication node located at the boundary with an adjacent group.
  • the function of discarding without sending from other ports is provided, it is possible to prevent the network bandwidth from being consumed by a frame not related to the own group.
  • Embodiment 3 FIG.
  • there are a plurality of master stations on the network of the same segment and as explained in the first embodiment, a multicast is performed for each group of master stations and slave stations existing on the network of the same segment. If a group is set, it becomes necessary to store multicast addresses for determining the presence / absence of repeats for the number of connected master stations.
  • a case where a plurality of master stations exist on the same segment network will be described.
  • the communication management apparatus 10 is either the first group master station (A) or the second group master station (B). Therefore, the same multicast address is set for all of the first group and the second group.
  • the master station distributes the master identification information, which is information for identifying the group in the same segment, to each slave station to the slave station controlled by the own station. This master identification information may be stored.
  • the master identification information is stored and transmitted in the frame. In other cases, the master identification information may be transmitted without being stored.
  • the data frame communication processing units 27 and 64 read the master identification information, confirm whether it matches the master identification information held by the own station, and if it matches, receive the information. Processing that repeats the processing is performed, and if they do not match, the processing that repeats the processing may be performed without performing the reception processing of the information.
  • the case where two groups exist in the same segment has been described as an example, but the same applies to the case where three or more groups exist.
  • the communication nodes (master station and slave station) in the same segment are the same multicast regardless of the group. Since the frame is transmitted using the address and the master identification information for identifying the group is stored inside the frame, the communication node located at the boundary with the other network is the same as in the second embodiment. In addition, there is an effect that it is possible to determine whether or not a received frame can be flown in the same segment using only the multicast address assigned to the network to which it belongs.
  • the communication nodes in the same segment refer to the master identification information of the received frame to determine whether or not the frame belongs to the group to which the communication node belongs, so even if there are multiple groups in the same segment, There is also an effect that it is possible to prevent a communication node belonging to another group from erroneously receiving data of a certain group.
  • a program in which each processing procedure is written is executed by a computer such as a programmable controller having a CPU (Central Processing Unit) or a personal computer.
  • the CPU (control means) of the computer executes each processing step of the data communication method described above according to the program.
  • These programs are read by a computer such as a hard disk, floppy disk, CD (Compact Disk) -ROM (Read Only Memory), MO (Magneto-Optical disk), DVD (Digital Versatile Disk or Digital Video Disk). It is recorded on a possible recording medium and executed by being read from the recording medium by a computer.
  • These programs can also be distributed through a network (communication line) such as the Internet.
  • the communication management apparatus can be a communication management circuit realized by a circuit that executes processing according to the above processing procedure for each processing unit described in the above-described embodiment.
  • the master station and the slave station can also be communication circuits in which each processing unit described in the above-described embodiment is realized by a circuit that executes processing according to the above processing procedure.
  • the communication management device may be an LSI (Large-Scale Integration) in which each processing unit described in the above-described embodiment is processed so as to execute processing according to the above processing procedure.
  • the master station and the slave station can also be LSIs in which each processing unit described in the above-described embodiment is processed so as to execute processing according to the above processing procedure.
  • the communication management device is a device that manages communication in the network of the same segment. When there is one master station in the network of the same segment, the master station is usually a communication management device, and a plurality of When there is a master station, any one of the plurality of master stations becomes a communication management device. At this time, the other master station has a configuration in which the communication management function is removed from the communication management device.
  • the communication management device is useful for a network system connected by Ethernet, which requires real-time data communication.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

 1台の通信管理装置と1台以上のスレーブ局からなる複数のネットワークが動作中にスイッチングハブなどを介して誤って接続された場合に、他のネットワークから受信したデータを自ネットワークのデータと区別して排除する通信管理装置を得る。ネットワーク内でのトークンフレームの送信順序を決定し、論理リングを構成する論理リング構成部21と、自装置のMACアドレスからマルチキャストアドレスを生成するマルチキャストアドレス生成部23と、論理リングを構成するスレーブ局にマルチキャストアドレスを通知するマルチキャストアドレス通知部25と、宛先アドレスにマルチキャストアドレスを設定したフレームを送信し、受信したフレームの宛先アドレスが前記マルチキャストアドレスに一致しない場合には、フレームの受信処理を行わないトークンフレーム処理部26とデータフレーム通信処理部27と、を備える。

Description

通信管理装置、通信装置および通信方法
 この発明は、イーサネット(登録商標)で接続された通信ノード間でトークンフレームを用いて通信を行う通信管理装置、通信装置および通信方法に関するものである。
 FA(Factory Automation)システムは、制御対象機器と、制御対象機器の状態を入力データとして所定の演算処理を行い、制御対象機器の動作条件を出力データとして出力するプログラマブルコントローラと、を備えるが、プログラマブルコントローラと制御対象機器に通信手段を設け、ネットワークで接続することによって、リアルタイムな制御を可能としている。つまり、制御対象機器に設けられる通信手段はスレーブ局として、プログラマブルコントローラに設けられる通信手段はスレーブ局のデータ送信を制御する通信管理局として機能させ、通信管理局は、スレーブ局からデータを受信し、受信したデータを用いて制御対象機器を制御するためのデータを演算してスレーブ局に送信する処理を周期的に行っている。このとき、通信管理局は、データ通信のリアルタイム性を保証するように、各スレーブ局によるデータ送信のタイミングを制御している。
 このようなFAシステムは、1台のマスタ局と複数台のスレーブ局が接続され、マスタ局が1台の場合には、ネットワーク管理もマスタ局で実施することが一般的である。しかし、複数台のマスタ局と、各マスタ局によって管理される複数台のスレーブ局と、が、同一セグメントのネットワークに存在する場合には、複数あるいずれかのマスタ局が、通信管理局(ネットワーク管理局)としての顔を持つことになる。この場合、1台のマスタ局と、このマスタ局によって管理される複数台のスレーブ局とが、1つのグループを構成しており、同一セグメントのネットワークに複数のグループが存在することになる。このような構成において、各グループ内でやり取りされるデータをマルチキャスト通信によって送信することで、自グループのデータを他のグループのデータと区別することができる(たとえば、特許文献1参照)。
特開平4-343543号公報
 しかしながら、特許文献1に記載のFAシステムでは、ネットワーク管理者がFAシステム内の通信ノードについて、工場内で設置される異なるネットワーク(=異なるセグメント)ごとにユニークとなるようにグループ分けを行っていた。そのため、FAシステムに設けられる通信ノードの数が多くなればなるほど、設定の間違いが発生してしまう可能性が高くなる。また、通信ノードの数が多くなると、ネットワーク管理者の数も多くなり、異なるネットワーク管理者によって設定されることによる設定の間違いも発生してしまう可能性がある。そして、この設定の間違いによって、他のグループに属する通信ノードからのデータをプログラマブルコントローラで誤処理してしまう虞があった。
 この発明は上記に鑑みてなされたもので、1台の通信管理装置(=マスタ局)と複数台のスレーブ局がイーサネット(登録商標)で接続されてなる複数のネットワークが、動作中にスイッチングハブなどを介して誤接続された場合でも、他のネットワークから受信したデータを自ネットワークのデータと区別して排除することができる通信管理装置、通信装置および通信方法を得ることを目的とする。
 上記目的を達成するため、この発明にかかる通信管理装置は、同一セグメントのネットワーク内に、1台の通信管理装置と1台以上のスレーブ局とがイーサネット(登録商標)ケーブルで接続されてなるグループが形成され、前記グループ内で送信権を示すトークンフレームを巡回順序にしたがって通信ノード間を巡回させてデータの送信を管理する通信管理装置であって、ブロードキャストで送信される範囲に存在する前記スレーブ局と自装置とで、送信権を示すトークンフレームの送信順序を決定し、論理リングを構成する論理リング構成手段と、自装置のMACアドレスからマルチキャストアドレスを生成するマルチキャストアドレス生成手段と、前記マルチキャストアドレスを記憶するマルチキャストアドレス記憶手段と、前記論理リングを構成する前記スレーブ局に前記マルチキャストアドレスを通知するマルチキャストアドレス通知手段と、宛先アドレスに前記マルチキャストアドレスを設定したフレームを送信し、受信したフレームの前記宛先アドレスが前記マルチキャストアドレス記憶手段に記憶されているマルチキャストアドレスに一致するかを判定し、一致しない場合には、前記フレームの受信処理を行わずに前記フレームをスイッチするフレーム通信処理手段と、を備えることを特徴とする。
 この発明によれば、通信管理装置が論理リングを構成するスレーブ局に、自装置のMACアドレスから生成したマルチキャストアドレスを通知し、論理リング内ではこのマルチキャストアドレスを用いてブロードキャストフレームとして送信を行い、受信時には宛先アドレスが上記マルチキャストアドレスであるか否かで受信処理を行うか否かを判定するようにした。その結果、1台の通信管理装置(=マスタ局)と1台以上のスレーブ局がイーサネット(登録商標)で工場内など異なるセグメントが複雑に配線され、動作中にスイッチングハブなどを介して誤って接続された場合でも、誤接続のリカバリのための設定が不要、または、使用者の誤設定による誤接続のリカバリ機能の異常動作を防止することが可能となるという効果を有する。
図1は、この発明の実施の形態1による通信管理装置の機能構成を模式的に示すブロック図である。 図2-1は、イーサネット(登録商標)フレームのフォーマットの一例を示す図である。 図2-2は、宛先アドレスのフォーマットを示す図である。 図3は、MACアドレスのマルチキャストアドレスの生成方法の一例を示す図である。 図4は、スレーブ局の機能構成を模式的に示すブロック図である。 図5は、この実施の形態1による通信ノードのフレーム受信時の処理の一例を示すフローチャートである。 図6-1は、複数のグループがスイッチングハブによって接続されてしまった場合の動作を模式的に示す図である(その1)。 図6-2は、複数のグループがスイッチングハブによって接続されてしまった場合の動作を模式的に示す図である(その2)。 図7は、この実施の形態2による通信ノードのフレーム処理の一例を示すフローチャートである。 図8は、異なるマルチキャストアドレスを有する2つのグループが接続されてしまった場合のデータの流れを模式的に示す図である。
符号の説明
 10 通信管理装置
 11-1,11-2,51-1,51-2 ポート
 20,60 通信処理部
 21 論理リング構成部
 22 トークン巡回順序情報記憶部
 23 マルチキャストアドレス生成部
 24,62 マルチキャストアドレス記憶部
 25 マルチキャストアドレス通知部
 26,63 トークンフレーム処理部
 27,64 データフレーム通信処理部
 50 スレーブ局
 61 トークン巡回先情報記憶部
 以下に添付図面を参照して、この発明にかかる通信管理装置、通信装置および通信方法の好適な実施の形態を詳細に説明する。なお、これらの実施の形態によりこの発明が限定されるものではない。
実施の形態1.
 図1は、この発明の実施の形態1による通信管理装置の機能構成を模式的に示すブロック図である。通信管理装置(マスタ局)10は、隣接する通信ノード(スレーブ局)またはスイッチングハブとの間でイーサネット(登録商標、以下同じ)ケーブルを接続するための2つのポート11-1,11-2と、ポート11-1,11-2を介したフレームの送受信処理やトークンフレームの送信順序を確立する処理などを行う通信処理部20と、を備える。
 ポート11-1,11-2は、第1のポート11-1と第2のポート11-2の2つのポートから構成される。これらの2つのポート11-1,11-2のうち少なくとも1つのポートが隣接するスレーブ局のポート(またはスイッチングハブを介したスレーブ局のポート)と接続されればよい。
 通信処理部20は、論理リング構成部21と、トークン巡回順序情報記憶部22と、マルチキャストアドレス生成部23と、マルチキャストアドレス記憶部24と、マルチキャストアドレス通知部25と、トークンフレーム処理部26と、データフレーム通信処理部27と、を備える。なお、トークンフレーム処理部26とデータフレーム通信処理部27とは、フレーム通信処理手段に対応している。
 論理リング構成部21は、通信管理装置10の電源オン時にまたは所定の時間ごとに、通信管理装置10と同一セグメントのネットワーク内に存在する通信ノード(スレーブ局)を検出し、その接続関係からデータの送信権であるトークンフレームを流す(渡す)順序であるトークン巡回順序情報を決定する論理リング構成処理を行う。ここで、論理リングとは、1台の通信管理装置(=マスタ局)10と1台以上のスレーブ局とが同一セグメントのネットワーク内にスター状またはライン状にイーサネットケーブルで接続されてなる物理的なネットワーク構成において、データの送信権(トークンフレーム)をネットワーク内の通信ノード間で順番に回すようにして形成された論理的なリング構成のことをいう。また、論理リング構成部21は、同一セグメントのネットワーク内に存在する他の通信ノード(スレーブ局)に対して、その通信ノードのつぎに送信権を得る通信ノードを含むトークン巡回先情報を通知する。なお、このトークン巡回先情報は、トークン巡回順序情報であってもよい。
 トークン巡回順序情報記憶部22は、論理リング構成部21によって決定されたトークン巡回順序情報を記憶する。
 マルチキャストアドレス生成部23は、通信管理装置10に一意的に付されたMAC(Media Access Control)アドレスから、通信管理装置10が管理するスレーブ局を含むネットワーク(グループ)内での通信で用いられるマルチキャストアドレスを生成する。このマルチキャストアドレスは、グループを識別するグループ識別情報の役割を有する。
 ここで、マルチキャストアドレスの生成方法について説明する。図2-1は、イーサネットフレームのフォーマットの一例を示す図であり、図2-2は、宛先アドレスのフォーマットを示す図である。イーサネットフレーム100は、イーサネットフレーム100の送信と宛先アドレスの始まりを示す8オクテットのプリアンブル/SFD(Start Frame Delimiter)101と、イーサネットフレーム100の送信先である6オクテットの宛先アドレス102と、このイーサネットフレーム100の送信元を示す6オクテットの送信元アドレス103と、イーサネットフレーム100の種類を示す2オクテットのタイプ104と、送信するデータを格納する46~1,500オクテットのデータ105と、イーサネットフレーム100のエラーを検出するための4オクテットのFCS(Frame Check Sequence)106と、を有している。なお、後述するトークンフレームやデータフレームは、このイーサネットフレーム100の構造を有している。
 また、図2-2に示されるように、イーサネットフレームの宛先アドレス102は、48bit(6オクテット)からなり、第1オクテット111のI/Gビット(先頭ビット)112が、「0」であればユニキャストアドレスであり、「1」であればマルチキャストアドレスであることを示すように取り決められている。
 そこで、この実施の形態1では、通信管理装置10に一意的に付されたMACアドレスのI/Gビット112を「1」にしたものを、通信管理装置10が管理するネットワーク(グループ)内で使用するマルチキャストアドレスとする。MACアドレス自体がユニークなアドレスであるので、このMACアドレスのI/Gビット112を「1」に変更したマルチキャストアドレスもユニークなアドレスとなる。
 図3は、MACアドレスのマルチキャストアドレスの生成方法の一例を示す図である。通信管理装置10のMACアドレス(16進数表記)が「11-22-33-44-55-66」である場合、第1オクテット111の「11」を2進数表記すると、「00010001」となる。この第1オクテット111に対して上記の規則を当てはめ、8ビットからなる第1オクテット111の先頭ビット(I/Gビット)112を「1」にすると、「10010001」となる。これを16進数表記にすると「91」になる。その結果、この通信管理装置10が形成するネットワーク(グループ)のマルチキャストアドレスは「91-22-33-44-55-66」となる。これは一例であり、他のMACアドレスに対しても同様にしてマルチキャストアドレスを生成することができる。
 マルチキャストアドレス記憶部24は、マルチキャストアドレス生成部23によって生成されたマルチキャストアドレスを記憶する。このマルチキャストアドレス記憶部24に記憶されたマルチキャストアドレスは、トークンフレーム処理部26やデータフレーム通信処理部27でのグループ内でのフレーム送信時に、ネットワークグループを識別する情報として使用される。
 マルチキャストアドレス通知部25は、通信管理装置10に接続されたスレーブ局に対して、より具体的にはブロードキャストでフレームを送信することができる範囲に存在するスレーブ局に対して、マルチキャストアドレスを通知する。
 トークンフレーム処理部26は、論理リング構成部21による論理リング構成処理が終了し、マルチキャストアドレス通知部25によるスレーブ局へのマルチキャストアドレスの通知が完了すると、イーサネットフレーム100に基づいたトークンフレームを生成し、トークン巡回順序情報に基づいてトークンフレームを送信する。たとえば、図2-1のイーサネットフレーム100において、タイプ104にトークンフレームを示す値を設定し、つぎに送信権を獲得する通信ノードのMACアドレスを示す送信権獲得装置情報をデータ105内に設定し、宛先アドレス102に、マルチキャストアドレス記憶部24に記憶されたマルチキャストアドレスを設定したトークンフレームを生成し、ブロードキャストで送信する。つまり、この実施の形態1では、トークンフレーム処理部26は、従来ではブロードキャストでトークンフレームを送信するべきところを、マルチキャストアドレス記憶部24にマルチキャストアドレスが記憶されている場合には、ブロードキャストアドレスとせず、マルチキャストアドレスを宛先アドレス102に設定してトークンフレームをブロードキャストするようにしている。
 また、トークンフレーム処理部26は、他の通信ノード(スレーブ局)から送信されたトークンフレームを受信すると、その宛先アドレス102がマルチキャストアドレス記憶部24に記憶されているマルチキャストアドレスと一致するか否かを判定し、一致しない場合には、そのトークンフレームの受信処理を行わない。また、一致する場合には、そのトークンフレームのデータ105内の送信権獲得装置情報と自局のMACアドレスとを比較する。両者が一致した場合には、送信権を獲得したものと判定し、データフレーム通信処理部27にデータフレームの送信処理を行うように指示を与えるが、送信権獲得装置情報と自局のMACアドレスが一致しない場合にはまだ送信権を得ないものと判定する。なお、いずれの場合にも受信したトークンフレームは、受信したポートでない他のポートにスイッチする。
 データフレーム通信処理部27は、データフレームの送受信処理を行う。具体的には、受信したデータフレームの宛先アドレス102がマルチキャストアドレス記憶部24に記憶されているマルチキャストアドレスと一致するか否かを判定し、一致しない場合には、そのデータフレームの受信処理を行わず、一致する場合には、受信処理を行う。また、送信権を獲得した場合には、イーサネットフレーム100に基づいたデータフレームを生成し、送信する。たとえば、図2-1のイーサネットフレーム100において、タイプ104にデータフレームを示す値を設定し、送信すべきデータをデータ105に設定し、宛先アドレス102にマルチキャストアドレス記憶部24に記憶されているマルチキャストアドレスを設定したデータフレームを作成し、ブロードキャストでスレーブ局に送信する。つまり、この実施の形態1では、データフレーム通信処理部27は、従来ではブロードキャストでデータフレームを送信するべきところを、マルチキャストアドレス記憶部24にマルチキャストアドレスが記憶されている場合には、ブロードキャストアドレスとせずにマルチキャストアドレスを宛先アドレス102に設定してデータフレームをブロードキャストで送信するようにしている。なお、この場合には、データフレームがどのスレーブ局へのものであるかを示すためのMACアドレスを宛先装置情報として、データ105内に設けるようにしたり、データ105内に格納されるデータにどのスレーブ局に対するデータであるかを示す情報を付したりする。また、他のスレーブ局宛てのデータフレームを転送(スイッチ)したりする機能も有する。
 図4は、スレーブ局の機能構成を模式的に示すブロック図である。スレーブ局50は、隣接する通信ノード(通信管理装置10、スレーブ局50)またはスイッチングハブとの間でイーサネットケーブルを接続するための2つのポート51-1,51-2と、ポート51-1,51-2を介したフレームの送受信処理を行う通信処理部60と、を備える。
 ポート51-1,51-2は、通信管理装置10と同様に、第1のポート51-1と第2のポート51-2の2つのポートから構成される。これらの2つのポート51-1,51-2のうち少なくとも1つのポートが通信ノード(または、スイッチングハブを介した通信ノードのポート)と接続されればよい。
 通信処理部60は、トークン巡回先情報記憶部61と、マルチキャストアドレス記憶部62と、トークンフレーム処理部63と、データフレーム通信処理部64と、を備える。なお、トークンフレーム処理部63とデータフレーム通信処理部64とは、フレーム通信処理手段に対応している。
 トークン巡回先情報記憶部61は、通信管理装置10から通知されたトークン巡回先情報を記憶する。ここでは、自スレーブ局50のつぎに送信権を得る通信ノードのMACアドレスのみがトークン巡回先情報として格納されているものとする。
 マルチキャストアドレス記憶部62は、通信管理装置10から受信した自局が属するグループのマルチキャストアドレスを記憶する。このマルチキャストアドレスは、通信管理装置10が、図3で説明した規則にしたがって、通信管理装置10のMACアドレスから生成したものであり、自局が存在するグループを識別する情報でもある。
 トークンフレーム処理部63は、他の通信ノード(通信管理装置10、スレーブ局50)から送信されたトークンフレームを受信すると、その宛先アドレス102がマルチキャストアドレス記憶部62に記憶されているマルチキャストアドレスと一致するか否かを判定し、一致しない場合には、そのトークンフレームの受信処理を行わない。また、一致する場合には、そのトークンフレームのデータ105内の送信権獲得装置情報と自局のMACアドレスとを比較する。両者が一致した場合には、送信権を獲得したものと判定し、データフレーム通信処理部64にデータフレームの送信処理を行うように指示を与えるが、送信権獲得装置情報と自局のMACアドレスが一致しない場合にはまだ送信権を得ないものと判定する。なお、いずれの場合にも受信したトークンフレームは、受信したポートでない他のポートにスイッチする。
 また、トークンフレーム処理部63は、送信権を獲得後、データフレーム通信処理部64によるデータフレームの送信が終了した後、受信したトークンフレームの送信権獲得装置情報にトークン巡回先情報記憶部61に記憶されているトークン巡回先情報を設定し、宛先アドレス102に、マルチキャストアドレス記憶部62に記憶されたマルチキャストアドレスを設定して、ブロードキャストで送信する。つまり、この実施の形態1では、トークンフレーム処理部63は、従来ではブロードキャストでトークンフレームを送信するべきところを、マルチキャストアドレス記憶部62にマルチキャストアドレスが記憶されている場合には、ブロードキャストアドレスとせずにマルチキャストアドレスを宛先アドレス102に設定して、トークンフレームをブロードキャストで送信するようにしている。
 データフレーム通信処理部64は、データフレームの送受信処理を行う。具体的には、受信したデータフレームの宛先アドレス102がマルチキャストアドレス記憶部62に記憶されているマルチキャストアドレスと一致するか否かを判定し、一致しない場合には、そのデータフレームの受信処理を行わず、一致する場合には、受信処理を行う。また、送信権を獲得した場合には、タイプ104にデータフレームを示す値を設定し、送信すべきデータをデータ105に設定し、宛先アドレス102に、マルチキャストアドレス記憶部62に記憶されているマルチキャストアドレスを設定したデータフレームを生成し、通信管理装置10やスレーブ局50にブロードキャストで送信する。つまり、この実施の形態1では、データフレーム通信処理部64は、従来ではブロードキャストでデータフレームを送信するべきところを、マルチキャストアドレス記憶部62にマルチキャストアドレスが記憶されている場合には、ブロードキャストアドレスとせずにマルチキャストアドレスを宛先アドレス102に設定して、データフレームをブロードキャストで送信するようにしている。さらに、他の通信ノード宛てのデータフレームを転送(スイッチ)したりする機能も有する。
 つぎに、通信管理装置10とスレーブ局50の受信したデータの処理方法について説明する。図5は、この実施の形態1による通信ノードのフレーム受信時の処理の一例を示すフローチャートである。ここに示す処理は、たとえばトークンフレームを受信した場合にはトークンフレーム処理部26,63が行い、データフレームを受信した場合には、データフレーム通信処理部27,64が行う。
 まず、トークンフレームやデータフレームを受信すると(ステップS11)、イーサネットフレーム内の宛先アドレス102がマルチキャストアドレス記憶部24,62に記憶されているマルチキャストアドレスと一致するか判定する(ステップS12)。宛先アドレス102が自グループのマルチキャストアドレスと一致しない場合(ステップS12でNoの場合)には、そのフレームの受信処理を行わず、他のポートから送出して(ステップS13)、処理が終了する。
 一方、宛先アドレス102が自グループのマルチキャストアドレスと一致する場合(ステップS12でYesの場合)には、自グループのフレームであるとして、受信処理を行うとともに受信したフレームをリピートする処理を行う(ステップS14)。受信処理としては、たとえば、トークンフレームの場合には、受信した通信ノードに送信権があるか否かを判定する処理を行い、データフレームの場合には自通信ノード宛てのデータの受信処理を行う。そして、処理が終了する。
 以上のような構成の1台の通信管理装置(=マスタ局)10と1台以上のスレーブ局50とを用いて1つのグループを構成した後、通信管理装置10がグループ内のスレーブ局50にマルチキャストアドレスを通知するようにしたので、マルチキャストアドレスの通知以降は、ブロードキャストによって送信されるべきフレームが、その宛先アドレスにマルチキャストアドレスが設定されてブロードキャストによって送信され、フレームを受信する範囲がグループ化されることになる。その結果、同一セグメントのネットワークに通信管理装置10とこの通信管理装置10が管理するスレーブ局50とからなるグループが新たに接続されても、そのグループの影響を受けずにグループ内の通信を行うことができる。特に、データの受信処理において、各通信ノードは、他のグループから送信されるフレームの宛先アドレスが自グループのマルチキャストアドレスでない場合には、受信しないようにしたので、他のグループからのデータフレームを誤って使用したりすることがない。
 つぎに、異なるセグメントネットワークを誤接続してしまった場合の処理について説明する。図6-1~図6-2は、複数のグループがスイッチングハブによって接続されてしまった場合の動作を模式的に示す図である。ここでは、図6-1に示されるように、1台の通信管理装置(図中、管理局と表記)10-1と3台のスレーブ局50-A,50-B,50-Cがスイッチングハブ81を介してイーサネットケーブルで接続されて第1のグループ91が構成されている。この第1のグループ91の通信管理装置10-1のMACアドレスは、「11-22-33-44-55-66」であるものとする。そこで、通信管理装置10-1のマルチキャストアドレス生成部23は、自局のMACアドレスから第1のグループ91で使用されるマルチキャストアドレス「91-22-33-44-55-66」を生成する(S21)。生成したマルチキャストアドレスは、マルチキャストアドレス記憶部24に記憶される。
 その後、通信管理装置10-1の論理リング構成部21は、ブロードキャストでフレームが届く範囲に存在するスレーブ局50-A,50-B,50-Cに対して、論理リングの構成処理やトークン巡回先情報の通知処理などを行い、その後、トークンフレーム処理部26は、トークンフレームをトークン巡回順序情報にしたがって発行する。なお、ここでは、通信管理装置10-1の他に、ネットワーク上には他の通信管理装置が存在しないものとする。この論理リング構成処理からトークンフレームの発行処理までの間に、マルチキャストアドレス通知部25は、論理リングを構成するスレーブ局50-A,50-B,50-Cに対してマルチキャストアドレスを通知する(S22)。また、スレーブ局50-A,50-B,50-Cでは、通知されたマルチキャストアドレスをマルチキャストアドレス記憶部62に記憶する。これによって、各スレーブ局50-A,50-B,50-Cは、自局が属するネットワークグループ91(通信管理装置10-1の論理リングの仲間)を認識する(S23)。
 また、1台の通信管理装置(=マスタ局)10-2と3台のスレーブ局50-D,50-E,50-Fがスイッチングハブ82を介してイーサネットケーブルで接続された第2のグループ92に関しても、同様に通信管理装置10-2がマルチキャストアドレスを生成し(S24)、スレーブ局50-D,50-E,50-Fに対して通知し(S25)、各スレーブ局50-D,50-E,50-Fは、自局が属するネットワークグループ92を認識する(S26)。なお、この第2のグループの通信管理装置10-2のMACアドレスは、「11-BB-CC-DD-EE-FF」であり、このMACアドレスから生成されるマルチキャストアドレスは、「91-BB-CC-DD-EE-FF」となる。
 その後、第1のグループ91内と第2のグループ92内では、それぞれのグループ91,92で設定されたマルチキャストアドレスを宛先アドレスに設定したトークンフレームがブロードキャストで発行され、トークンフレーム内の送信権獲得装置情報で設定された通信ノードが送信権を得て、データフレームの宛先アドレスにマルチキャストアドレスを設定し、ブロードキャストで送信する(S27)。具体的には、第1のグループ91では、マルチキャストアドレスとして「91-22-33-44-55-66」が使用され、第2のグループ92では、マルチキャストアドレスとして「91-BB-CC-DD-EE-FF」が使用され、フレームがブロードキャストで送信される。これによって、たとえば第1と第2のグループ91,92がFAシステムである場合には、サイクリックな通信が行われる。また、ここでは、送信されるデータを「Cycle_data_A」、「Cycle_data_B」と表記している。
 このとき、各グループ内の通信ノードは、受信したトークンフレームまたはデータフレームの宛先アドレスが自グループのマルチキャストアドレスであれば、そのフレームを受信し、そうでなければそのフレームの受信処理を行わない。なお、この図6-1の状態では、第1と第2のグループ91,92の間は独立しているので、それぞれのグループ91,92では、他のグループのマルチキャストアドレスが設定されたフレームを受信することはない。
 その後、図6-2に示されるように、作業者が間違って、第1のグループ91と第2のグループ92とをスイッチングハブ83を介して接続してしまったものとする。このとき、第1と第2のグループ91,92は、スイッチングハブ83を介して接続されるため、同一セグメントのネットワークを構成する。つまり、一方のグループ内の通信ノードが送出したフレーム(イーサネットフレーム)は、スイッチングハブ83を介して他方のグループの通信ノードにまで到達してしまう。
 このように第1と第2のグループ91,92間を誤接続した後に、たとえば第2のグループ92の通信ノードが送出したデータフレーム121は、スイッチングハブ83を経由して第1のグループ91に入り込んでしまう(S28)。しかし、このような場合でも、第1のグループ91の通信ノード(通信管理装置10-1とスレーブ局50-A,50-B,50-C)は、受信したデータフレーム121の宛先アドレスが自通信ノードが属する第1のグループ91のマルチキャストアドレスと一致しないので、フレーム121の受信処理を行わない(S29)。第2のグループ92に入り込んだ第1のグループ91からのフレームに関しても同様である。
 以上のようにして、同一セグメントのネットワーク内に複数のグループ91,92が存在し、第1のグループ91のフレームが第2のグループ92に入り込んでも、第1のグループ91の通信ノードの処理が第2のグループ92からのフレームによって乱されることがない。
 この実施の形態1によれば、通信管理装置10が、同じ論理リング上に存在し、1つのグループを形成するスレーブ局50に対して、自装置のMACアドレスから生成したマルチキャストアドレスを通知し、このグループ内での通信に通知したマルチキャストアドレスを用いてフレームの宛先アドレスに設定しブロードキャストで送信するようにしたので、各通信ノード10,50は、自グループ内のフレームと他のグループのフレームとを区別して処理を行うことができる。
 また、通信管理装置10が、自装置のMACアドレスからマルチキャストアドレスを生成するので、マルチキャストアドレスもユニークとなり、複数のグループ間でマルチキャストアドレスが重複することがない。さらに、通信管理装置10が、マルチキャストアドレスを論理リング上に存在するスレーブ局50に対して通知し、各スレーブ局50がそのマルチキャストアドレスを記憶するようにしたので、作業者による設定のようなマルチキャストアドレスの誤設定が生じないという効果を有する。
 また、各通信ノード10,50は、受信するフレームについて、その宛先アドレスと自グループのマルチキャストアドレスとを比較して、フレームの受信処理を行うか否かを判定するようにしたので、グループを形成後の運転中に複数のグループ間が直接にまたはスイッチングハブなどを介して誤接続されてしまい、他のグループからのフレームを受信した場合でも、他のグループのフレームを受信処理することがない。つまり、作業者が、異なるグループ間をイーサネットで接続してしまった場合でも、通信管理装置10に接続されるプログラマブルコントローラなどが、誤ったデータを用いて演算処理を行うことを防ぎ、システムの誤作動を防止することができるという効果も有する。
実施の形態2.
 実施の形態1では、各通信ノードが、受信したフレームの宛先アドレスと自グループのマルチキャストアドレスとを比較して、データの受信処理を行うか否かを判定していた。このような場合、たとえば図6-2に示されるように、第2のグループ92から第1のグループ91にフレーム121が流れ込むと、第1のグループ91内のすべての通信ノード10-1,50-A,50-B,50-Cで第2のグループ92からのフレームが受信されてしまい、無駄な通信が第1のグループ91内で発生してしまう。そこで、この実施の形態2では、他のグループからのフレームの自グループ内での無駄な通信を抑制することができる通信方法について説明する。
 この実施の形態2の通信管理装置10(=マスタ局)とスレーブ局50は、実施の形態1の図1と図4のトークンフレーム処理部26,63に、受信したトークンフレームの宛先アドレス102がマルチキャストアドレス記憶部24,62に記憶されているマルチキャストアドレスと異なるものである場合には、そのトークンフレームを他のポートに流さない機能を持たせている。また、データフレーム通信処理部27,64にも同様に、受信したデータフレームの宛先アドレス102がマルチキャストアドレス記憶部24,62に記憶されているマルチキャストアドレスと異なるものである場合には、そのデータフレームを他のポートに流さない機能を持たせている。なお、その他の構成要素は実施の形態1と同一であるので、その説明を省略する。
 図7は、この実施の形態2による通信ノードのフレーム処理の一例を示すフローチャートである。ここに示す処理は、たとえばトークンフレームを受信した場合にはトークンフレーム処理部26,63が行い、データフレームを受信した場合には、データフレーム通信処理部27,64が行う。
 まず、トークンフレームやデータフレームを受信すると(ステップS51)、フレーム内の宛先アドレス102がマルチキャストアドレス記憶部24,62に記憶されているマルチキャストアドレスに一致するか判定する(ステップS52)。宛先アドレス102が自グループのマルチキャストアドレスと一致しない場合(ステップS52でNoの場合)には、そのフレームの受信処理を行わずに廃棄する(ステップS53)。すなわち、受信したフレームを受信ポートでない他のポートへとスイッチしない。そして、処理が終了する。
 一方、宛先アドレス102が自グループのマルチキャストアドレスと一致する場合(ステップS52でYesの場合)には、自グループのフレームであるとして、受信処理を行うとともに受信したフレームをリピートする処理を行う(ステップS54)。受信処理として、たとえば、トークンフレームの場合には、受信した通信ノードに送信権があるか否かを判定する処理を行い、データフレームの場合には自通信ノード宛てのデータの受信処理を行う。そして、処理が終了する。
 図8は、異なるマルチキャストアドレスを有する2つのグループが接続されてしまった場合のデータの流れを模式的に示す図である。ここでは、通信管理装置10-1とスレーブ局50-A,50-B,50-C,50-Gとからなる第1のグループ93と、通信管理装置10-2とスレーブ局50-D,50-E,50-Fとからなる第2のグループ94と、がスイッチングハブ84を介して接続される通信システムが示されている。
 第1のグループ93では、通信管理装置10-1の1つのポートにライン状にスレーブ局50-Aが接続され、他の1つのポートにスレーブ局50-B,50-C,50-Gがライン状に接続されており、スレーブ局50-Gは、スイッチングハブ84を介してスレーブ局50-Cに接続されている。また、第2のグループ94では、通信管理装置10-2の1つのポートにスレーブ局50-Dがライン状に接続され、他の1つのポートにスレーブ局50-E,50-Fがライン状に接続されている。なお、第1と第2のグループ93,94の間は接続されておらず、それぞれのグループ93,94では、実施の形態1で説明したように通信管理装置10-1,10-2のMACアドレスから生成したマルチキャストアドレスを用いた通信が行われている。
 そして、作業者が、スレーブ局50-Dと、第1のグループ93のスイッチングハブ84とを誤接続してしまうと(S61)、第2のグループ94から第1のグループ93に第2のグループ94のフレーム122B(図中、Cycle_data_Bと表記)が入り込み、第1のグループ93から第2のグループ94に第1のグループ93のフレーム122A(図中、Cycle_data_Aと表記)が入り込んでしまう(S62)。
 このとき、第1のグループ93の第2のグループ94との境界に位置するスレーブ局50-Cでは、上記した図7の処理を行い、スイッチングハブ84に接続される第2のポートC2で、第2のグループ94からのフレームを受信するが(S63)、フレームの宛先アドレス102が自グループのマルチキャストアドレスと異なるので、そのフレームを第1のポートC1から送出することなく廃棄する(S64)。これによって、第2のグループ94からのフレーム122Bは、スレーブ局50-Cの第1のポートC1から送出されないので、通信管理装置10-1や他のスレーブ局50-A,50-Bに到達することがない。
 また、第2のグループ94の第1のグループ93との境界に位置するスレーブ局50-Dも、同様に、スイッチングハブ84に接続される第1のポートD1で受信するが(S65)、第1のグループ93のフレーム122Aを第2のポートD2から送出することなく廃棄する(S66)。これによって、第1のグループ93からのフレーム122Aは、スレーブ局50-Dの第2のポートD2から送出されないので、通信管理装置10-2や他のスレーブ局50-E,50-Fに到達することがない。
 なお、第1のグループ93のスレーブ局50-Gでは、第2のグループ94のフレーム122Bを第2のポートG2から受信するが、第1のポートG1の先にはネットワークが存在しないので、受信した第2のグループ94のフレームを送出することができない。
 この実施の形態2によれば、同一セグメントのネットワーク内で複数のグループが存在する場合に、隣接するグループとの境界に位置する通信ノードに、他のグループからのフレームをあるポートから受信した際に、他のポートから送出することなく廃棄する機能を持たせたので、自グループに関係のないフレームによって、ネットワーク帯域が消費されることを防止することができるという効果を有する。
実施の形態3.
 実施の形態2では、同一セグメントのネットワーク上にマスタ局(=通信管理装置)が1台しかない場合を説明した。しかし、実施の形態2の場合で同一セグメントのネットワーク上にマスタ局が複数台存在し、実施の形態1で説明したように同一セグメントのネットワーク上に存在するマスタ局とスレーブ局のグループごとにマルチキャストグループを設定してしまうと、リピートの有無を判定するマルチキャストアドレスを、マスタ局の接続台数分だけ格納する必要が生じてしまう。そこで、この実施の形態3では、同一セグメントのネットワーク上に複数のマスタ局が存在する場合について説明する。
 たとえば、同一セグメント内に、マスタ局(A)と複数のスレーブ局(A)とからなる第1のグループと、マスタ局(B)と複数のスレーブ局(B)とからなる第2のグループと、が存在する場合に、通信管理装置10は第1のグループのマスタ局(A)か第2のグループのマスタ局(B)のいずれかがなることになる。したがって、第1のグループと第2のグループはすべて同じマルチキャストアドレスが設定されることになる。また、この同一セグメント内には、第1のグループと第2のグループが存在するので、各グループで通信されるフレームを識別するために、マルチキャストアドレスとは別情報として、システム構成時に、各グループのマスタ局が、自局が制御するスレーブ局に対して、同一セグメント内のグループを識別するための情報であるマスタ識別情報を各スレーブ局に配布し、グループ内で通信されるフレームには、このマスタ識別情報を格納するようにすればよい。たとえば、実施の形態2の構成において、データフレーム通信処理部27,64が、そのグループ内でのやり取りされる情報を送信する場合には、フレーム内にこのマスタ識別情報を格納して送信し、それ以外の場合には、マスタ識別情報を格納せずに送信すればよい。また、データフレーム通信処理部27,64は、フレームを受信した場合には、マスタ識別情報を読み込み、自局が保持するマスタ識別情報と一致するか確認し、一致する場合にはその情報を受信処理とリピートする処理を行い、一致しない場合には、その情報の受信処理を行わずにリピートする処理を行えばよい。なお、ここでは同一セグメント内に2つのグループが存在する場合を例に挙げたが、3つ以上のグループが存在する場合にも同様である。
 この実施の形態3によれば、同一セグメント内に複数のグループ(複数のマスタ局)が存在する場合に、同一セグメント内に存在する通信ノード(マスタ局とスレーブ局)はグループにかかわらず同じマルチキャストアドレスを用いてフレームの送信を行い、フレームの内部にグループを識別するためのマスタ識別情報を格納するようにしたので、他のネットワークとの境界に位置する通信ノードは、実施の形態2と同様に、自身が属するネットワークに付されたマルチキャストアドレスのみを用いて受信したフレームが同一セグメント内に流していいものか否かを判定することができるという効果を有する。また、同一セグメント内の通信ノードは、受信したフレームのマスタ識別情報を参照して、自身が属するグループでのフレームか否かを判定するので、同一セグメント内に複数のグループが存在しても、あるグループのデータを別のグループに属する通信ノードが誤って受信処理することを防ぐことができるという効果も有する。
 なお、上述した通信管理装置とマスタ局とスレーブ局におけるデータ通信方法は、それぞれの処理手順を書込んだプログラムを、CPU(中央演算処理装置)を有するプログラマブルコントローラやパーソナルコンピュータなどのコンピュータで実行することによって実現することができる。この場合、コンピュータのCPU(制御手段)が、プログラムにしたがって、上述したデータ通信方法の各処理工程を実行することになる。これらのプログラムは、ハードディスク、フロッピー(登録商標)ディスク、CD(Compact Disk)-ROM(Read Only Memory),MO(Magneto-Optical disk),DVD(Digital Versatile DiskまたはDigital Video Disk)などのコンピュータで読取可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。また、これらのプログラムは、インタネットなどのネットワーク(通信回線)を介して配布することもできる。
 また、通信管理装置は、上述した実施の形態に記載される各処理部を上記の処理手順で処理を実行する回路によって実現した通信管理回路とすることもできる。同様に、マスタ局やスレーブ局も、上述した実施の形態に記載される各処理部を上記の処理手順で処理を実行する回路によって実現した通信回路とすることもできる。
 さらにまた、通信管理装置は、上述した実施の形態に記載される各処理部を上記の処理手順で処理を実行するように作製したLSI(Large-Scale Integration)とすることもできる。同様に、マスタ局やスレーブ局も、上述した実施の形態に記載される各処理部を上記の処理手順で処理を実行するように作製したLSIとすることもできる。なお、通信管理装置は、同一セグメントのネットワーク内における通信を管理する装置であり、同一セグメントのネットワーク内に1台のマスタ局がある場合には通常そのマスタ局が通信管理装置となり、複数台のマスタ局がある場合には、複数台のうちのいずれか1台のマスタ局が通信管理装置となる。このとき他のマスタ局は、通信管理装置から通信管理の機能を除いた構成を有する。
 以上のように、この発明にかかる通信管理装置は、データ通信のリアルタイム性が要求されるイーサネットで接続されたネットワークシステムに有用である。

Claims (8)

  1.  同一セグメントのネットワーク内に、1台の通信管理装置と1台以上のスレーブ局とがイーサネット(登録商標)ケーブルで接続されてなるグループが形成され、前記グループ内で送信権を示すトークンフレームを巡回順序にしたがって通信ノード間を巡回させてデータの送信を管理する通信管理装置であって、
     ブロードキャストで送信される範囲に存在する前記スレーブ局と自装置とで、送信権を示すトークンフレームの送信順序を決定し、論理リングを構成する論理リング構成手段と、
     自装置のMACアドレスからマルチキャストアドレスを生成するマルチキャストアドレス生成手段と、
     前記マルチキャストアドレスを記憶するマルチキャストアドレス記憶手段と、
     前記論理リングを構成する前記スレーブ局に前記マルチキャストアドレスを通知するマルチキャストアドレス通知手段と、
     宛先アドレスに前記マルチキャストアドレスを設定したフレームを送信し、受信したフレームの前記宛先アドレスが前記マルチキャストアドレス記憶手段に記憶されているマルチキャストアドレスに一致するかを判定し、一致しない場合には、前記フレームの受信処理を行わずに前記フレームをスイッチするフレーム通信処理手段と、
     を備えることを特徴とする通信管理装置。
  2.  前記フレーム通信処理手段は、受信した前記フレームの前記宛先アドレスが前記マルチキャストアドレスに一致しない場合には、受信処理を行わず、前記フレームを廃棄することを特徴とする請求項1に記載の通信管理装置。
  3.  前記マルチキャストアドレス生成手段は、自装置に設定された48ビットのMACアドレスのうち第1オクテットの先頭ビットを「1」にしてマルチキャストアドレスを生成することを特徴とする請求項1に記載の通信管理装置。
  4.  同一セグメントのネットワーク内に、1台の通信管理装置と1台以上のスレーブ局とがイーサネット(登録商標)ケーブルで接続されてなるグループが形成され、前記グループ内で巡回される自局宛のトークンフレームを獲得することによってデータの送信を行う通信装置であって、
     前記通信管理装置から通知され、前記グループでの通信に使用されるマルチキャストアドレスを記憶するマルチキャストアドレス記憶手段と、
     宛先アドレスに前記マルチキャストアドレスを設定したフレームを送信し、受信したフレームの前記宛先アドレスが前記マルチキャストアドレス記憶手段に記憶されているマルチキャストアドレスに一致するかを判定し、一致しない場合には、前記フレームの受信処理を行わずに前記フレームをスイッチするフレーム通信処理手段と、
     を備えることを特徴とする通信装置。
  5.  前記フレーム通信処理手段は、受信した前記フレームの前記宛先アドレスが前記マルチキャストアドレスに一致しない場合には、受信処理を行わず、前記フレームを廃棄することを特徴とする請求項4に記載の通信装置。
  6.  イーサネット(登録商標)ケーブルで接続された1台の通信管理装置と1台以上のスレーブ局が存在する同一セグメントのネットワーク内で、送信権を示すトークンフレームを巡回順序にしたがって通信ノード間で巡回させて前記通信ノードによるデータの送信を管理しながら通信を行う通信方法であって、
     前記通信管理装置は、ブロードキャストでフレームを送信可能な範囲に接続される前記スレーブ局と自装置とで、前記トークンフレームを順に巡回させて通信を行うグループを形成するグループ形成工程と、
     前記通信管理装置は、前記グループ内での通信に使用されるマルチキャストアドレスを、自装置のMACアドレスから生成するマルチキャストアドレス生成工程と、
     前記通信管理装置は、前記マルチキャストアドレスを前記グループ内の前記スレーブ局に通知するマルチキャストアドレス通知工程と、
     前記通信管理装置と前記スレーブ局は、前記マルチキャストアドレスを宛先アドレスに設定してフレームを送信する送信工程と、
     前記通信管理装置と前記スレーブ局は、受信したフレームの宛先アドレスと前記グループ内で使用される前記マルチキャストアドレスとが一致するか判定し、一致する場合には受信処理を行い、一致しない場合には受信処理を行わない受信工程と、
     を含むことを特徴とする通信方法。
  7.  前記受信工程で、前記フレームの宛先アドレスと前記グループ内で使用されるマルチキャストアドレスとが一致しない場合には、前記フレームを廃棄することを特徴とする請求項6に記載の通信方法。
  8.  前記マルチキャストアドレス生成工程で、前記通信管理装置の48ビットのMACアドレスのうち第1オクテットの先頭ビットを「1」にしてマルチキャストアドレスを生成することを特徴とする請求項6に記載の通信方法。
PCT/JP2008/073632 2008-12-25 2008-12-25 通信管理装置、通信装置および通信方法 WO2010073346A1 (ja)

Priority Applications (7)

Application Number Priority Date Filing Date Title
DE112008004245.4T DE112008004245B4 (de) 2008-12-25 2008-12-25 Kommunikationsverwaltungsvorrichtung, Kommunikationsvorrichtung und Kommunikationsverfahren
PCT/JP2008/073632 WO2010073346A1 (ja) 2008-12-25 2008-12-25 通信管理装置、通信装置および通信方法
CN200880132546.5A CN102265561B (zh) 2008-12-25 2008-12-25 通信管理装置、通信装置以及通信方法
KR1020117014492A KR101253931B1 (ko) 2008-12-25 2008-12-25 통신 관리 장치, 통신 장치, 및 통신 방법
US13/142,244 US8908566B2 (en) 2008-12-25 2008-12-25 Communication management device, communication device, and communication method
JP2010543684A JP5084916B2 (ja) 2008-12-25 2008-12-25 通信管理装置および通信方法
TW098100145A TWI405436B (zh) 2008-12-25 2009-01-06 通訊管理裝置、通訊裝置及通訊方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2008/073632 WO2010073346A1 (ja) 2008-12-25 2008-12-25 通信管理装置、通信装置および通信方法

Publications (1)

Publication Number Publication Date
WO2010073346A1 true WO2010073346A1 (ja) 2010-07-01

Family

ID=42287014

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2008/073632 WO2010073346A1 (ja) 2008-12-25 2008-12-25 通信管理装置、通信装置および通信方法

Country Status (7)

Country Link
US (1) US8908566B2 (ja)
JP (1) JP5084916B2 (ja)
KR (1) KR101253931B1 (ja)
CN (1) CN102265561B (ja)
DE (1) DE112008004245B4 (ja)
TW (1) TWI405436B (ja)
WO (1) WO2010073346A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017005662A (ja) * 2015-06-16 2017-01-05 富士通株式会社 監視装置
JP2017204263A (ja) * 2016-05-10 2017-11-16 エルエス産電株式会社Lsis Co., Ltd. スレーブデバイスの制御方法
WO2018055742A1 (ja) * 2016-09-23 2018-03-29 三菱電機株式会社 マスタ機器およびトークン巡回方法

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110177013B (zh) * 2019-05-16 2021-10-15 浙江理工大学 一种基于FPGA的EtherCAT主从站设计与实现方法
US20230163995A1 (en) * 2020-04-10 2023-05-25 Fuji Corporation Communication system and work apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0365837A (ja) * 1989-08-04 1991-03-20 Fujitsu Ltd パケット受信制御方式
JPH11163910A (ja) * 1997-09-25 1999-06-18 Matsushita Electric Ind Co Ltd 非同期データ通信方法,非同期データ通信装置,及び非同期データ通信システム
JP2000049778A (ja) * 1998-07-31 2000-02-18 Toshiba Corp 同報通信方法および通信装置
JP2005348262A (ja) * 2004-06-04 2005-12-15 Ricoh Co Ltd データ通信方式、電子会議システム、データ通信方法、データ通信プログラム及び記憶媒体
JP2007243718A (ja) * 2006-03-09 2007-09-20 Matsushita Electric Ind Co Ltd ハンドオーバ制御方法、接続局及び無線基地局

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04343543A (ja) 1991-05-21 1992-11-30 Mitsubishi Electric Corp Fa用ローカルエリアネットワーク
US5841991A (en) * 1992-11-18 1998-11-24 Canon Information Systems, Inc. In an Interactive network board, a method and apparatus for storing a media access control address in a remotely alterable memory
KR100294553B1 (ko) 1997-01-24 2001-07-31 모리시타 요이찌 통신네트워크
US6172981B1 (en) * 1997-10-30 2001-01-09 International Business Machines Corporation Method and system for distributing network routing functions to local area network stations
US6112251A (en) * 1998-01-13 2000-08-29 Cabletron Systems, Inc. Virtual local network for sending multicast transmissions to trunk stations
US6539000B1 (en) 1998-07-21 2003-03-25 Kabushiki Kaisha Toshiba Multicast communication method and apparatus
US6556574B1 (en) * 1999-03-31 2003-04-29 Cisco Technology, Inc. Duplicate ignore delay timer for ARP like protocol messages using are protocol
US7474660B1 (en) * 1999-03-31 2009-01-06 Cisco Technology, Inc. MAC address extension to maintain router information in source routed computer networks
US6606325B1 (en) * 1999-12-10 2003-08-12 Nortel Networks Limited Fast path forwarding of link state advertisements using multicast addressing
US7447762B2 (en) * 2001-04-02 2008-11-04 Curray Timothy G Ethernet communications for power monitoring system
US7130927B2 (en) * 2001-07-05 2006-10-31 International Business Machines Corporation Method of bandwidth management between the stations of a local area network
US20030061389A1 (en) * 2001-09-26 2003-03-27 Sam Mazza Multi-token totally ordered group communication protocol
CN100452750C (zh) * 2005-02-04 2009-01-14 西安电子科技大学 Ad Hoc网络的令牌传递方法
JP3925660B2 (ja) 2005-06-09 2007-06-06 オムロン株式会社 通信マスタ局の起動時制御方法
JP4732257B2 (ja) * 2006-07-07 2011-07-27 富士通株式会社 中継装置、経路制御方法、及び経路制御プログラム
EP2137891A4 (en) * 2007-04-18 2010-12-22 Nortel Networks Ltd NOTIFICATION OF FAILURE IN A NETWORK WITH SERIAL CONNECTED N UDS
US7987247B2 (en) * 2008-04-28 2011-07-26 Kmc Controls, Inc. BACnet protocol MS/TP automatic MAC addressing
US7986701B2 (en) * 2008-06-13 2011-07-26 Honeywell International Inc. Wireless building control system bridge

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0365837A (ja) * 1989-08-04 1991-03-20 Fujitsu Ltd パケット受信制御方式
JPH11163910A (ja) * 1997-09-25 1999-06-18 Matsushita Electric Ind Co Ltd 非同期データ通信方法,非同期データ通信装置,及び非同期データ通信システム
JP2000049778A (ja) * 1998-07-31 2000-02-18 Toshiba Corp 同報通信方法および通信装置
JP2005348262A (ja) * 2004-06-04 2005-12-15 Ricoh Co Ltd データ通信方式、電子会議システム、データ通信方法、データ通信プログラム及び記憶媒体
JP2007243718A (ja) * 2006-03-09 2007-09-20 Matsushita Electric Ind Co Ltd ハンドオーバ制御方法、接続局及び無線基地局

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017005662A (ja) * 2015-06-16 2017-01-05 富士通株式会社 監視装置
JP2017204263A (ja) * 2016-05-10 2017-11-16 エルエス産電株式会社Lsis Co., Ltd. スレーブデバイスの制御方法
US10277502B2 (en) 2016-05-10 2019-04-30 Lsis Co., Ltd. Slave device control method
WO2018055742A1 (ja) * 2016-09-23 2018-03-29 三菱電機株式会社 マスタ機器およびトークン巡回方法

Also Published As

Publication number Publication date
US8908566B2 (en) 2014-12-09
KR101253931B1 (ko) 2013-04-16
KR20110097896A (ko) 2011-08-31
TWI405436B (zh) 2013-08-11
CN102265561A (zh) 2011-11-30
US20110261725A1 (en) 2011-10-27
JPWO2010073346A1 (ja) 2012-05-31
DE112008004245B4 (de) 2016-12-01
CN102265561B (zh) 2014-05-28
DE112008004245T5 (de) 2012-04-26
TW201025931A (en) 2010-07-01
JP5084916B2 (ja) 2012-11-28

Similar Documents

Publication Publication Date Title
US8291142B2 (en) Method, bus components, and control system for ethernet-based control of an automation system
US8667095B2 (en) Local auto-configuration of network devices connected to multipoint virtual connections
US6188675B1 (en) System and method for self-identifying and configuring the nodes of a network
JP5084916B2 (ja) 通信管理装置および通信方法
TWI483586B (zh) 通訊管理裝置、通訊節點及資料通訊方法
US20030097470A1 (en) System, device, and method for improving communication network reliability using trunk splitting
US20110149960A1 (en) Method and apparatus for filtering multicast packets
KR20030024262A (ko) 전력선을 이용한 통신망에서의 식별자중복사용을 검출하고조치하는 방법과, 그러한 통신망의 서브넷에 연결되는전기전자응용기기 및, 그러한 전기전자응용기기에이용되는 통신모듈
US8204037B2 (en) Autocratic low complexity gateway/ guardian strategy and/or simple local guardian strategy for flexray or other distributed time-triggered protocol
US20120030310A1 (en) Redundant Communication In A Communication System
US20180183729A1 (en) Ethernet interface module
KR20050099809A (ko) 원전용 분산 제어시스템의 제어 통신망 전송 프레임 구조
US9391924B2 (en) Ethernet interface module
CN104079462A (zh) 环网配置检测方法及装置
CN114174953A (zh) 低复杂度以太网节点(len)一个端口
US20180176132A1 (en) Data transmission method, communication network and master participant
US6910090B1 (en) Maintaining communications in a bus bridge interconnect
WO2001042878A2 (en) A method and system for a multi-phase net refresh on a bus bridge interconnect
Cisco Configuring Source-Route Bridging
KR102220636B1 (ko) G/n 필드가 부가된 프레임 통신 방법
EP3547055B1 (en) Control apparatus
JP2000183936A (ja) ポートミラーリング機能付加装置
KR100433761B1 (ko) 전이중 패스트 이더넷 방식과 토큰 링 매체 제어 방식을링형의 통신망에 적용하여 설계하는 방법
JP2006203735A (ja) 通信装置
WO2000057263A1 (en) A method and system for a multi-phase net refresh on a bus bridge interconnect

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200880132546.5

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08879142

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2010543684

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20117014492

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 13142244

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 112008004245

Country of ref document: DE

Ref document number: 1120080042454

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08879142

Country of ref document: EP

Kind code of ref document: A1