{"id":17422,"date":"2026-01-30T12:01:19","date_gmt":"2026-01-30T04:01:19","guid":{"rendered":"https:\/\/www.qec.tw\/?p=17422"},"modified":"2026-11-03T19:51:50","modified_gmt":"2026-11-03T11:51:50","slug":"beckhoff-dio","status":"publish","type":"post","link":"https:\/\/www.qec.tw\/ja\/tutorials\/beckhoff-dio\/","title":{"rendered":"[Start Guides] QEC-M-01 x Beckhoff DI\/DO Modules"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">[Tutorial]<\/p>\n\n\n\n<h2 id=\"h-1-quick-start-with-ek1814-and-ek1100-el1889-el2889\" class=\"wp-block-heading\">1. Quick Start with EK1814 and EK1100 + EL1889 + EL2889<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Digital input\/output (DI\/DO) remains a core element in industrial automation systems. To help engineers simplify EtherCAT I\/O integration, <strong>ICOP Technology<\/strong> has released a <strong>QEC EtherCAT \u00d7 Beckhoff DIO Development Guide<\/strong>, demonstrating how to control Beckhoff DIO modules using the <strong>QEC-M-01 EtherCAT MDevice<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-1-1024x576.png\" alt=\"beckhoff-dio-1\" class=\"wp-image-17423\" srcset=\"https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-1-1024x576.png 1024w, https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-1-300x169.png 300w, https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-1-768x432.png 768w, https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-1-1536x864.png 1536w, https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-1-18x10.png 18w, https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-1-600x337.png 600w, https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-1.png 1572w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This guide focuses on practical implementation\u2014<strong>from wiring to software configuration<\/strong>\u2014allowing engineers to quickly evaluate and deploy EtherCAT-based DI\/DO systems.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"h-1-1-supported-beckhoff-dio-configurations\" class=\"wp-block-heading\">1.1 Supported Beckhoff DIO Configurations<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The guide covers two widely used Beckhoff EtherCAT DIO architectures:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>EK1814 \u2013 Integrated EtherCAT DI\/DO Coupler<\/strong><br>A compact solution combining EtherCAT coupler and DI\/DO channels in a single module, ideal for small systems and fast validation.<\/li>\n\n\n\n<li><strong>EK1100 + EL1889 + EL2889 \u2013 Modular I\/O System<\/strong><br>A flexible and scalable architecture using separate DI and DO terminals, suitable for applications requiring higher I\/O counts or future expansion.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 id=\"h-1-2-from-wiring-to-control\" class=\"wp-block-heading\">1.2 From Wiring to Control<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"372\" src=\"https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-0-1024x372.png\" alt=\"beckhoff-dio-0\" class=\"wp-image-17424\" srcset=\"https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-0-1024x372.png 1024w, https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-0-300x109.png 300w, https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-0-768x279.png 768w, https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-0-1536x558.png 1536w, https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-0-2048x744.png 2048w, https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-0-18x7.png 18w, https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/beckhoff-dio-0-600x218.png 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step-by-step instructions guide users through:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>EtherCAT network wiring with QEC-M-01<\/li>\n\n\n\n<li>Power supply and grounding for DI\/DO channels<\/li>\n\n\n\n<li>PNP (sourcing) DO characteristics and wiring notes<\/li>\n\n\n\n<li>Status LEDs and channel indicators<\/li>\n\n\n\n<li>QEC PoE and non-PoE usage considerations<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Even first-time EtherCAT users can complete setup efficiently.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"h-2-nbsp-flexible-development-options\" class=\"wp-block-heading\">2.&nbsp;Flexible Development Options<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The guide demonstrates multiple development approaches using the QEC software ecosystem:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>86Duino IDE (C\/C++)<\/strong> for direct EtherCAT I\/O control<\/li>\n\n\n\n<li><strong>86EVA<\/strong> for graphical EtherCAT configuration and automatic code generation<\/li>\n\n\n\n<li><strong>86EVA + ArduBlock<\/strong> for low-code, block-based DI\/DO control<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This flexibility supports both <strong>rapid evaluation<\/strong> and <strong>production-level development<\/strong> on the same hardware platform.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 id=\"h-2-1-write-code\" class=\"wp-block-heading\">2.1 Write code<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The following program sets:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>EtherCAT Cycle Time: 3 milliseconds (Depending on DI\/DO filter).<\/li>\n\n\n\n<li>EtherCAT Mode: ECAT_SYNC.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Cycle time depends on module filter and application needs (e.g., 3 ms or 4 ms in the start guides).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>EthercatMaster<\/code> object (\u201c<code>master<\/code>\u201d) represents QEC MDevice: <strong>QEC-M-01<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>EthercatDevice_Generic<\/code> objects represent the Beckhoff terminals: <strong>EK1100<\/strong> (\u201c<code>ek1100<\/code>\u201d), <strong>EL1889<\/strong> (\u201c<code>el1889<\/code>\u201d), and <strong>EL2889<\/strong> (\u201c<code>el2889<\/code>\u201d). In this section, we periodically toggle <strong>EL2889 DO0<\/strong> (HIGH\/LOW), then read and print <strong>EL1889 DI0<\/strong> after a short settling delay to verify that the input state reflects the output change (for example, using an external loopback wiring between DO0 and DI0, or by driving an external signal into DI0).<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>#include &quot;Ethercat.h&quot;\nEthercatMaster master;\nEthercatDevice_Generic ek1100;\nEthercatDevice_Generic el1889;\nEthercatDevice_Generic el2889;\nvoid setup() {\n  Serial.begin(115200);\n  Serial.print(&quot;Begin: &quot;); Serial.println(master.begin());\n  Serial.print(&quot;EK1100: &quot;); Serial.println(ek1100.attach(0, master));\n  Serial.print(&quot;EL1889: &quot;); Serial.println(el1889.attach(1, master));\n  Serial.print(&quot;EL2889: &quot;); Serial.println(el2889.attach(2, master));\n  Serial.print(&quot;Start: &quot;);\n  Serial.println(master.start(3000000, ECAT_SYNC));\n}\nvoid loop() {\n  el2889.pdoBitWrite(0, HIGH);\n  delay(50);\n  Serial.print(&quot;EL1889 DI 0: &quot;);\n  Serial.println(el1889.pdoBitRead(0));\n  delay(1000);\n  el2889.pdoBitWrite(0, LOW);\n  delay(50);\n  Serial.print(&quot;EL1889 DI 0: &quot;);\n  Serial.println(el1889.pdoBitRead(0));\n  delay(1000);\n}<\/pre><\/div>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">If you are interested in learning more, click the link below to view the complete guide:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>EK1100 (Coupler) + EL1889 (16 DI) + EL2889 (16 DO)\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/11\/EK1100_EL1889_EL2889_Guide_1_v1.1.pdf\" target=\"_blank\" rel=\"noopener\">EK1100 + EL1889 + EL2889 : EtherCAT Coupler, DI, and DO \u2013 Coding<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/11\/EK1100_EL1889_EL2889_Guide_2_v1.1.pdf\" target=\"_blank\" rel=\"noopener\">EK1100 + EL1889 + EL2889 : EtherCAT Coupler, DI, and DO \u2013 Coding with 86EVA<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/11\/EK1100_EL1889_EL2889_Guide_3_v1.1.pdf\" target=\"_blank\" rel=\"noopener\">EK1100 + EL1889 + EL2889 : EtherCAT Coupler, DI, and DO \u2013 Coding with 86EVA and ArduBlock<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>EK1814 (Coupler + DIO)\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/EK1814-1-v1.01.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">EK1814 (Coupler + DIO) \u2013 Coding<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/EK1814-2-v1.01.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">EK1814 (Coupler + DIO) \u2013 Coding with 86EVA<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.qec.tw\/wp-content\/uploads\/2026\/01\/EK1814-3-v1.01.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">EK1814 (Coupler + DIO) \u2013 Coding with 86EVA and ArduBlock<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">By combining the QEC EtherCAT MDevice with Beckhoff DIO modules, engineers can build a stable and expandable EtherCAT I\/O system without being locked into a single vendor ecosystem or complex configuration workflow.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For more info and&nbsp;sample requests, please write to&nbsp;<a href=\"mailto:info@icop.com.tw\">info@icop.com.tw<\/a>, call your nearest&nbsp;<a href=\"https:\/\/www.icop.com.tw\/branches\" target=\"_blank\" rel=\"noopener\">ICOP Branch<\/a>, or contact our&nbsp;<a href=\"https:\/\/www.icop.com.tw\/distributors\" target=\"_blank\" rel=\"noopener\">Worldwide Official Distributor.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[Tutorial] 1. Quick Start with EK1814 and EK1100 + EL1889 + EL2889 Digital input\/output (DI\/DO) remains a core element in industrial automation systems. To help [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":17423,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[204],"tags":[162,54,191],"class_list":["post-17422","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-86duino","tag-ethercat","tag-qec"],"_links":{"self":[{"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/posts\/17422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/comments?post=17422"}],"version-history":[{"count":5,"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/posts\/17422\/revisions"}],"predecessor-version":[{"id":19142,"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/posts\/17422\/revisions\/19142"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/media\/17423"}],"wp:attachment":[{"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/media?parent=17422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/categories?post=17422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/tags?post=17422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}