{"id":1224,"date":"2014-04-09T10:05:37","date_gmt":"2014-04-09T09:05:37","guid":{"rendered":"http:\/\/www.industronic-blog.com\/?p=1224"},"modified":"2019-03-19T10:27:47","modified_gmt":"2019-03-19T09:27:47","slug":"unicast-multicast-broadcast-introduction","status":"publish","type":"post","link":"https:\/\/www.industronic.com\/blog\/unicast-multicast-broadcast-introduction\/","title":{"rendered":"Unicast, Multicast and Broadcast &#8211; an Introduction"},"content":{"rendered":"<p><span style=\"color: #000080;\"><i>A post by our colleague Robert Persch, Development \u201cSystems Software\u201d<\/i><\/span><\/p>\n<p>An industrial communication system must transmit diverse information &#8211; speech, signaling data and control data. There are cases when information is only sent to a single recipient (unicast) as well as situations where information is sent to several recipients at the same time (multicast or broadcast).<\/p>\n<p>In order to decide when to use which mode of transmission, you can e.g. think of a party you might be having, where all guests are gathered in a large room. If you now intend to communicate with a specific guest, it seems logical to first approach this guest and then talk to him\/her directly \u2013 and to no one else. This \u201cunicast transmission\u201d does not disturb the other guests, and you will know from the recipient\u2019s reaction that the information was received and understood (in networking terms: the recipient sends an \u201cacknowledgment\u201d).<\/p>\n<figure id=\"attachment_1219\" aria-describedby=\"caption-attachment-1219\" style=\"width: 122px\" class=\"wp-caption aligncenter\"><a title=\"Unicast transmission mode\" href=\"https:\/\/www.industronic-blog.com\/wp-content\/uploads\/2014\/04\/Unicast.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1219  \" title=\"Unicast transmission mode\" src=\"https:\/\/www.industronic-blog.com\/wp-content\/uploads\/2014\/04\/Unicast.png\" alt=\"Unicast\" width=\"122\" height=\"194\" srcset=\"https:\/\/www.industronic.com\/blog\/wp-content\/uploads\/2014\/04\/Unicast.png 276w, https:\/\/www.industronic.com\/blog\/wp-content\/uploads\/2014\/04\/Unicast-189x300.png 189w\" sizes=\"auto, (max-width: 122px) 100vw, 122px\" \/><\/a><figcaption id=\"caption-attachment-1219\" class=\"wp-caption-text\">Unicast transmission mode<\/figcaption><\/figure>\n<p>But you may be faced with a situation where it is not clear who the recipient of the information is, or whether this person is at the party at all. Think e.g. of the message \u201cWould the owner of the green vehicle parked in the driveway please contact the party host\u201d. The simplest way to convey this message is to climb onto a chair and shout the message loudly into the room (a \u201cbroadcast\u201d in networking terms).<!--more--><\/p>\n<p>This mode of communication can also be helpful in a different case. Consider, for example, that you need to give some information to a group of guests at the same time, e.g. a befriended family that is joining you at the party. To speak to each of the family members separately will quickly become ineffective if the family is large, but the shouting method described above can effectively address a large number of recipients.<\/p>\n<figure id=\"attachment_1233\" aria-describedby=\"caption-attachment-1233\" style=\"width: 134px\" class=\"wp-caption aligncenter\"><a title=\"Broadcast transmission mode\" href=\"https:\/\/www.industronic-blog.com\/wp-content\/uploads\/2014\/04\/Broadcast.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1233        \" src=\"https:\/\/www.industronic-blog.com\/wp-content\/uploads\/2014\/04\/Broadcast.png\" alt=\"Broadcast\" width=\"134\" height=\"156\" srcset=\"https:\/\/www.industronic.com\/blog\/wp-content\/uploads\/2014\/04\/Broadcast.png 305w, https:\/\/www.industronic.com\/blog\/wp-content\/uploads\/2014\/04\/Broadcast-259x300.png 259w\" sizes=\"auto, (max-width: 134px) 100vw, 134px\" \/><\/a><figcaption id=\"caption-attachment-1233\" class=\"wp-caption-text\">Broadcast transmission mode<\/figcaption><\/figure>\n<p>This leaves you with a different problem however, because all other guests will inadvertently also hear your message. So part of the message must indicate who it is aimed at, e.g. \u201cAll members of the Smith family please pay attention: your taxi has arrived\u201d. The downside of this method: while it tells everyone whom the message was intended for, all guests which are not part of the Smith family will be distracted from their own conversations.<\/p>\n<p>Now, imagine the party is huge with lots of guests attending. Then you may not be the only one who wants to address a group of guests at a certain time. So you may find several people climbing on chairs and starting to shout simultaneously (in networking terms lots of \u201cbandwidth\u201d is required). Some guests may then not be able to keep track of all the shouted messages, or the noise might make the messages unintelligible (\u201coverload\u201d).<\/p>\n<p>In such a situation, a mode of communication that allows sending each message only to the intended recipients, and to no one else, would seem beneficial. It may be difficult to solve this problem in the given example of the party, but the \u201cmulticast\u201d transmission mode provided by modern network technology offers a suitable solution for industrial communication systems. Multicasting allows defining multiple groups of different recipients, and a single recipient may actually be part of several of such groups. This flexibility and efficiency is the reason why we at INDUSTRONIC have decided to use multicasting in our products where it is appropriate and beneficial.<\/p>\n<figure id=\"attachment_1236\" aria-describedby=\"caption-attachment-1236\" style=\"width: 141px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.industronic-blog.com\/wp-content\/uploads\/2014\/04\/Multicast.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1236    \" title=\"Multicast transmission mode\" src=\"https:\/\/www.industronic-blog.com\/wp-content\/uploads\/2014\/04\/Multicast.png\" alt=\"Multicast\" width=\"141\" height=\"182\" srcset=\"https:\/\/www.industronic.com\/blog\/wp-content\/uploads\/2014\/04\/Multicast.png 305w, https:\/\/www.industronic.com\/blog\/wp-content\/uploads\/2014\/04\/Multicast-232x300.png 232w\" sizes=\"auto, (max-width: 141px) 100vw, 141px\" \/><\/a><figcaption id=\"caption-attachment-1236\" class=\"wp-caption-text\">Multicast transmission mode<\/figcaption><\/figure>\n<p>The example of the vehicle owner who is notified via a broadcast leads to a further interesting issue: as the host, how long do you have to wait before you can come to the conclusion that the vehicle in question does not belong to any of your guests (a \u201ctimeout\u201d in networking terms)? Broadcasting makes the transmission of acknowledged information and hence secured communication difficult. Multicasting is faced with a similar problem, but it can be solved if the intended recipients (multicast group members) are known. We will discuss how this can be achieved in an upcoming blog article.<\/p>\n<p>To summarize: different communication requirements are fulfilled by different modes of communication:<\/p>\n<ul>\n<li>Unicasts are used for bidirectional (less commonly also unidirectional) communication between two participants.<\/li>\n<li>A broadcast is used when a sender addresses all other participants, usually because the intended recipient(s) is\/are unknown.<\/li>\n<li>A multicast is used when a sender addresses a specific group of recipients.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A post by our colleague Robert Persch, Development \u201cSystems Software\u201d An industrial communication system must transmit diverse information &#8211; speech, signaling data and control data. There are cases when information is only sent to a single recipient (unicast) as well as situations where information is sent to several recipients at the same time (multicast or [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":1377,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[21,94,150,153],"class_list":["post-1224","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","tag-broadcast","tag-multicast","tag-transmission-modes","tag-unicast"],"_links":{"self":[{"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/posts\/1224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/comments?post=1224"}],"version-history":[{"count":2,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/posts\/1224\/revisions"}],"predecessor-version":[{"id":3932,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/posts\/1224\/revisions\/3932"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/media\/1377"}],"wp:attachment":[{"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/media?parent=1224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/categories?post=1224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.industronic.com\/blog\/wp-json\/wp\/v2\/tags?post=1224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}