{"id":227,"date":"2024-04-19T09:00:00","date_gmt":"2024-04-19T07:00:00","guid":{"rendered":"https:\/\/blog.codesys.it\/?p=227"},"modified":"2024-04-17T15:04:24","modified_gmt":"2024-04-17T13:04:24","slug":"come-aggiungere-un-nodo-ethercat-master","status":"publish","type":"post","link":"https:\/\/blog.codesys.it\/?p=227","title":{"rendered":"Come aggiungere un nodo EtherCAT Master"},"content":{"rendered":"\n<p>Per aggiungere un nodo EtherCAT Master, in un nuovo progetto, basta lanciare il comando &#8220;Add Device&#8230;&#8221; dal dispositivo principale:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"333\" height=\"252\" src=\"https:\/\/blog.codesys.it\/wp-content\/uploads\/2024\/03\/immagine-5.png\" alt=\"\" class=\"wp-image-229\" srcset=\"https:\/\/blog.codesys.it\/wp-content\/uploads\/2024\/03\/immagine-5.png 333w, https:\/\/blog.codesys.it\/wp-content\/uploads\/2024\/03\/immagine-5-300x227.png 300w\" sizes=\"auto, (max-width: 333px) 100vw, 333px\" \/><\/figure>\n\n\n\n<p>Una volta selezionato &#8220;Add Device&#8221; , apparir\u00e0 la finestra per selezionare il fieldbus da aggiungere. Nel nostro caso sceglieremo &#8220;EtherCAT Master&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"673\" height=\"741\" src=\"https:\/\/blog.codesys.it\/wp-content\/uploads\/2024\/03\/immagine-6.png\" alt=\"\" class=\"wp-image-238\" srcset=\"https:\/\/blog.codesys.it\/wp-content\/uploads\/2024\/03\/immagine-6.png 673w, https:\/\/blog.codesys.it\/wp-content\/uploads\/2024\/03\/immagine-6-272x300.png 272w\" sizes=\"auto, (max-width: 673px) 100vw, 673px\" \/><\/figure>\n\n\n\n<p>Procediamo con il tasto Add Device.<\/p>\n\n\n\n<p><strong>Cosa viene aggiunto<\/strong><br>Andiamo a vedere cosa viene aggiunto nel nostro progetto dopo aver selezionato il filedbus EtherCAT Master. Nel library manager troverermo una nuova libreria chiamata &#8220;IODrvEtherCAT&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"896\" height=\"223\" src=\"https:\/\/blog.codesys.it\/wp-content\/uploads\/2024\/03\/immagine-7.png\" alt=\"\" class=\"wp-image-240\" srcset=\"https:\/\/blog.codesys.it\/wp-content\/uploads\/2024\/03\/immagine-7.png 896w, https:\/\/blog.codesys.it\/wp-content\/uploads\/2024\/03\/immagine-7-300x75.png 300w, https:\/\/blog.codesys.it\/wp-content\/uploads\/2024\/03\/immagine-7-768x191.png 768w\" sizes=\"auto, (max-width: 896px) 100vw, 896px\" \/><\/figure>\n\n\n\n<p>Mentre nell&#8217;albero del nostro progetto troveremo un nuovo task chiamato &#8220;EtherCAT_Task&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"250\" height=\"116\" src=\"https:\/\/blog.codesys.it\/wp-content\/uploads\/2024\/03\/immagine-8.png\" alt=\"\" class=\"wp-image-241\"\/><\/figure>\n\n\n\n<p>Questo task \u00e8 automaticamente collegato all&#8217;oggetto EtherCAT_Master nella sezione &#8220;EtherCAT I\/O Mapping&#8221;. Infine, ci troviamo l&#8217;oggetto &#8220;EtherCAT_Master&#8221; aggiunto nel nostro progetto:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"283\" height=\"214\" src=\"https:\/\/blog.codesys.it\/wp-content\/uploads\/2024\/03\/immagine-9.png\" alt=\"\" class=\"wp-image-242\"\/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Per aggiungere un nodo EtherCAT Master, in un nuovo progetto, basta lanciare il comando &#8220;Add Device&#8230;&#8221; dal dispositivo principale: Una volta selezionato &#8220;Add Device&#8221; , apparir\u00e0 la finestra per selezionare il fieldbus da aggiungere. Nel nostro caso sceglieremo &#8220;EtherCAT Master&#8221;: Procediamo con il tasto Add Device. Cosa viene aggiuntoAndiamo a vedere cosa viene aggiunto nel [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,10],"tags":[18],"class_list":["post-227","post","type-post","status-publish","format-standard","hentry","category-base","category-fieldbus","tag-base"],"_links":{"self":[{"href":"https:\/\/blog.codesys.it\/index.php?rest_route=\/wp\/v2\/posts\/227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.codesys.it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.codesys.it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.codesys.it\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.codesys.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=227"}],"version-history":[{"count":4,"href":"https:\/\/blog.codesys.it\/index.php?rest_route=\/wp\/v2\/posts\/227\/revisions"}],"predecessor-version":[{"id":327,"href":"https:\/\/blog.codesys.it\/index.php?rest_route=\/wp\/v2\/posts\/227\/revisions\/327"}],"wp:attachment":[{"href":"https:\/\/blog.codesys.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.codesys.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.codesys.it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}