{"id":15179,"date":"2021-11-29T14:46:08","date_gmt":"2021-11-29T06:46:08","guid":{"rendered":"https:\/\/hongtronics.com\/?p=15179"},"modified":"2024-07-12T17:35:12","modified_gmt":"2024-07-12T09:35:12","slug":"kunbus-gateway-profinet-ethercat-conversion-steps","status":"publish","type":"post","link":"https:\/\/hongtronics.com\/en\/kunbus-gateway-profinet-ethercat-conversion-steps\/","title":{"rendered":"How to use Profinet and EtherCAT gateway conversion?"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">I. Introduction:<\/h2>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">The so-called \"gateway\" is commonly referred to as a \"protocol converter\", which is capable of converting one communication protocol to another to meet the communication needs of real-world applications, thereby realizing investment protection. Hongke Gateway modular gateways provide an excellent way to quickly, easily and cost-effectively connect different networks in order to comply with investment protection.<\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">The KUNBUS Gateway gateway can be mounted on DIN rails and is also easily removable. The protocol itself is housed in a compact module with a housing size of 22.5 x 101.4 x 115mm, which is very compact. A complete gateway consists of two gateway components, which only need to be connected to the corresponding gateway components via jumper cables. This design provides a high degree of flexibility in operation, enabling the integration of the required gateway protocol components, and also allows the replacement of only the individual gateway components at any time, without having to replace the entire communication module, saving costs.<\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">The Hongke Gateway series has a maximum output of 3 watts and a voltage tolerance range of -15 to +20%, with an integrated WebServer and FTP Server (for firmware refresh). Currently the gateway supports<strong>Slave stations for PROFINET, EtherCAT, EtherNet\/IP, CANopen, DeviceNet, Modbus RTU, Modbus TCP, POWERLINK, PROFIBUS, Sercos III, DMX masters and slaves<\/strong>\u3002<\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">This example demonstrates how to use a PROFINET master to complete the configuration of a Hongke Gateway gateway for the PROFINET to EtherCAT protocol.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">II. Tools required:<\/h2>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">1 Hongke PROFINET IRT Gateway<\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">2 Hongke EtherCAT Gateway<\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">3 Jumper cables<\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">4 KPA Studio<\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">5 Hongke Configurator<\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">6 Adjustable Power Supply<\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">7 Cables<\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">8 Hongke Master Card<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">III. Steps\/methods:<\/h2>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">1\u3001Gateway structure: Since Hongke Gateway is a modular gateway, a complete gateway is composed of two gateway components, so the first step is to select the actual need for communication protocol gateway components, this example to Hongke PROFINET IRT gateway to EtherCAT gateway as an example. The complete gateway structure is as follows:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/www.hoautom.com\/wp-content\/uploads\/2020\/12\/1-1-768x512.png\" alt=\"\" width=\"768\" height=\"512\"\/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">2\u3001 Module Installation: Use the supplied plug-in jumper connectors to connect the interconnect ports to each gateway component. If installing to the control cabinet, it can be mounted directly on the DIN rail.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.hoautom.com\/wp-content\/uploads\/2020\/12\/2-1-768x480.png\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.hoautom.com\/wp-content\/uploads\/2020\/12\/3-1-300x277.png\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">3. Power supply: Connect the power supply cable correctly to supply 24V power to the gateway module.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.hoautom.com\/wp-content\/uploads\/2020\/12\/4-1-768x276.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">4, Network connection: connect the network cable to PROFINET master board (here take Hongke PROFINET master board as an example) and EtherCAT master PC (here take KPA Studio Windows master as an example, you can also choose TwinCAT), pay attention to the distinction between input and output ports.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.hoautom.com\/wp-content\/uploads\/2020\/12\/5-1.png\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">5. Gateway Configuration: In order to enable the master to correctly identify the gateway slave devices, both PROFINET network and EtherCAT network need to be configured in the corresponding configuration software for network configuration. The first step in PROFINET configuration is to install the Hongke GW slave GSD file into the Hongke CONFIGURATOR. CONFIGURATOR, select Tools\u2192Install new PROFINET\/GSDML XML-File, then find the GSD file: GSDML-V2.31-Hongke-GW-20160413-145400 and install it as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.hoautom.com\/wp-content\/uploads\/2020\/12\/6-1.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">6. The second step of PROFINET configuration is to drag the corresponding device directly to the configuration window for configuration configuration.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.hoautom.com\/wp-content\/uploads\/2020\/12\/7.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">7, RROFINET configuration of the third step, the use of DCP on the slave to set a fixed IP address and NAME name, here is for the Hongke Gateway gateway, and does not have to carry out this operation, but if the master to the gateway configuration can not be found after the slave device, it is recommended to use this way to do further setup.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.hoautom.com\/wp-content\/uploads\/2020\/12\/8.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">8, PROFINET configuration of the fourth step, respectively, double-click the configuration window of the device, the master and the gateway to set the necessary parameters, mainly IP address settings, the example of the master IP Address:192.168.0.1 Subnet Mask:255.255.255.0; gateway in the IP parameters and the last step of the DCP settings to maintain consistency, as follows IP Address:192.168.0.1 Subnet Mask:255.255.255.0; the IP parameters in the gateway are the same as the DCP settings in the previous step, as follows<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.hoautom.com\/wp-content\/uploads\/2020\/12\/9.png\" alt=\"\"\/><figcaption><img decoding=\"async\" src=\"https:\/\/www.hoautom.com\/wp-content\/uploads\/2020\/12\/10.png\"><\/figcaption><\/figure>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">9, PROFINET configuration of the fifth step, add the slave input and output variables (slave input and output configuration), here added 16bytes of input and output, the module can be up to 512bytes. so, PROFINET configuration is basically complete, and then you need to keep the configuration (select Save control) and download (select Dowload control) Then you need to keep the configuration (select the Save control) and download (select the Dowload control) to the master controller.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.hoautom.com\/wp-content\/uploads\/2020\/12\/11.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">10, gateway configuration at the other end is to configure the EtherCAT gateway components, this step is relatively simple, to KPA Studio on Windows as the master, for example, just load the EtherCAT gateway slave description file Gateway_Component_EtherCAT_R02.xml to the master corresponding to the path, choose KPA Studio\u2192Actions\u2192Open slaves library folder, then copy the xml file to the opened path, then reload the xml file, select KPA Studio\u2192Actions\u2192Reload slaves library, and then scan the whole network. Then you can scan the whole network:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.hoautom.com\/wp-content\/uploads\/2020\/12\/12.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">11. Communication test: After correctly completing the network configuration of PROFINET and EtherCAT respectively, you can use the gateway of PROFINET to EtherCAT protocol normally. The following are the corresponding test data. As shown in the figure:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.hoautom.com\/wp-content\/uploads\/2020\/12\/13.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\">12. At this point, the configuration and testing of the Hongke modularized gateway is complete.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/hongtronics.com\/en\/product-category\/revolution-pi\/gateway-modules\/revpi-gateways-modules\/\">HK-KB Series Gateway<\/a><\/h2>\n\n\n\n<h2 class=\"has-normal-font-size wp-block-heading\">Variety of combinations to connect different protocols<\/h2>\n\n\n\n<h2 class=\"has-normal-font-size wp-block-heading\">Maximum data size 512 bytes<\/h2>\n\n\n\n<h2 class=\"has-normal-font-size wp-block-heading\">Integrated Web server, FTP firmware update<\/h2>\n\n\n\n<h2 class=\"has-normal-font-size wp-block-heading\">Modular installation, simple kit to connect modules easily<\/h2>\n\n\n\n<h2 class=\"has-normal-font-size wp-block-heading\">Cycle time 2~3ms; cycle time between gateway modules 1.2ms<\/h2>\n\n\n\n<h2 class=\"has-normal-font-size wp-block-heading\">Power supply 24 V; maximum power consumption &lt; 3 W<\/h2>\n\n\n\n<h2 class=\"has-normal-font-size wp-block-heading\">Industrial package, current isolated, 0-60\u00b0C temperature range<\/h2>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/hongtronics.com\/en\/product-category\/revolution-pi\/gateway-modules\/revpi-gateways-modules\/\"><img decoding=\"async\" width=\"250\" height=\"250\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2021\/11\/modulares-gateway-kunbus-3.png\" alt=\"\" class=\"wp-image-15147\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2021\/11\/modulares-gateway-kunbus-3.png 250w, https:\/\/hongtronics.com\/wp-content\/uploads\/2021\/11\/modulares-gateway-kunbus-3-100x100.png 100w, https:\/\/hongtronics.com\/wp-content\/uploads\/2021\/11\/modulares-gateway-kunbus-3-150x150.png 150w\" sizes=\"(max-width: 250px) 100vw, 250px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001 \u4ecb\u7d39\uff1a \u6240\u8b02\u7684 \u300c \u7db2\u95dc\u901a\u4fd7\u4f86\u8b1b\u5c31\u662f\u4e00\u7a2e\u300c\u5354\u8b70\u8f49\u63db\u5668\u300d\uff0c\u5b83\u80fd\u5920\u5c07\u4e00\u7a2e\u901a\u8a0a\u5354\u8b70\u8f49\u63db\u5230\u53e6\u4e00\u7a2e\u901a\u8a0a\u5354\u8b70\uff0c\u6eff\u8db3\u5be6 [&hellip;]<\/p>","protected":false},"author":29,"featured_media":15180,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"minimal","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","iawp_total_views":127,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[2315,1169],"tags":[1473,1472],"table_tags":[],"class_list":["post-15179","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-2315","category-industry-news","tag-1473","tag-1472","entry","has-media","owp-thumbs-layout-horizontal","owp-btn-normal","owp-tabs-layout-horizontal","has-no-thumbnails","has-product-nav"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/hongtronics.com\/wp-content\/uploads\/2021\/11\/2-1-1.jpg","_links":{"self":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts\/15179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/comments?post=15179"}],"version-history":[{"count":4,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts\/15179\/revisions"}],"predecessor-version":[{"id":17997,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts\/15179\/revisions\/17997"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/media\/15180"}],"wp:attachment":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/media?parent=15179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/categories?post=15179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/tags?post=15179"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/table_tags?post=15179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}