This example demonstrates how to quickly implement stepper motor control using the 86Duino platform — covering HMI button design with 86HMI Editor and drag-and-drop programming with ArduBlock.
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips](https://icop-shop.com/wp-content/uploads/2026/06/Motion-Control-Tips.png)
86Duino IDE
要編譯並將控制程式上傳至 QEC 控制器,必須使用 86Duino IDE。86Duino IDE 提供了一個與 Arduino 相容的開發環境,可用於上傳由 ArduBlock 生成的程式,或使用標準 C/C++ 編寫的程式。
讀者可從 QEC 網站下載 86Duino IDE 的最新版本: 86Duino Coding IDE
對於初次使用本平台的用戶,我們也提供了一份逐步指南,協助您設定開發環境並開始進行第一個專案: 86Duino 入門指南
硬體設定
The hardware setup uses the QEC-M-070T as the EtherCAT MDevice controller and the QEC-R11MP3S-N as the SubDevice stepper motor driver:
- QEC-M-070T – 用於介面設計與控制邏輯執行的 EtherCAT MDevice HMI 解決方案
- QEC-R11MP3S-N – EtherCAT motion control with 3-axis Stepper Motor Controller
- 24V 電源供應器
- 乙太網路線(用於 EtherCAT 通訊)
實施步驟
The implementation process can be divided into three main steps.
- First, use 86EVA to scan and configure the EtherCAT devices. This step ensures that all connected EtherCAT slaves are correctly detected and properly configured.
- Next, design the HMI interface using 86HMI Editor. The interface can include buttons, text, and other visual elements required for motion control.
- Finally, create the control logic using ArduBlock. By combining the EtherCAT configuration and HMI interface, the function can be completed and operated through the HMI.
步驟 1 – 86EVA 配置工具
- Set up the development board and port to be used in tool option
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86EVA_1.png)
- 點擊 86EVA 設定工具
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86EVA_2.png)
- 點擊以連線,並掃描該裝置
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86-EVA_3.png)
- Scanning Device
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86EVA_4.png)
- Configure QEC-M-070T and QEC-R11MP3S-N devices in 86EVA network
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86EVA_5.png)
- Set up the QEC-M-070T Parameters (As shown in the illustration)
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86EVA_6.png)
- Set up the QEC-R11MP3S-N M1 in the servo mapping
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86EVA_7.png)
- Set up the servo 1 parameters (As shown in the illustration)
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86EVA_8.png)
- Back to 86EVA to click Code Generation
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86EVA_8-1.png)
- Scanning is complete and click OK to confirm
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86EVA_9.png)
步驟 2 – 86HMI 編輯器使用者介面設計
- 點擊 86HMI 編輯器工具
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86HMI-Editor_1.png)
- Select the board and Click OK
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86HMI-Editor_2.png)
- Edit Text: Label > Text (Type the text inside the field)
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86HMI-Editor_3.png)
- Add control button: Button (p1b1) > Edit the button text (Type the text inside the field)
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86HMI-Editor_4.png)
- Add control button: Button (p1b2) > Edit the button text (Type the text inside the field)
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86HMI-Editor_5.png)
- 上傳以產生範例內容
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/86HMI-Editor_6.png)
步驟 3 – ArduBlock 程式設計
- 點擊 ArduBlock 工具
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/ArduBlock_1.png)
- ArduBlock 工作區
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/ArduBlock_2.png)
- EtheCAT Motion Setup: EtherCAT.Motion > servo setup
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/ArduBlock_3.png)
- Setting the parameter (As shown in the illustration)
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/ArduBlock_4.png)
- Add HMI Visual Block: HMI.Visual > HMI Event Section
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/ArduBlock_5.png)
- Add Control Button: HMI.Control > if Button is clicked
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/ArduBlock_6.png)
- EtheCAT Motion Setup: add move to block
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/06/ArduBlock_7-1.png)
- Add Condition Block: while block
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/06/ArduBlock_8-1.png)
- EtheCAT Motion Setup: add is moving
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/06/ArduBlock_9-1.png)
- Right-click to clone the whole control block (As shown in the illustration)
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/06/ArduBlock_10-1.png)
- Set up the parameters, and upload to Generate Example Content
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/06/ArduBlock_11-1.png)
- Save draft (Please select the folder where you want to save it)
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/ArduBlock_12.png)
- Upload and compile the sketch
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/05/ArduBlock_13.png)
示範結果
- 結果呈現
![[Technical Tips] Getting Started with 86HMI Editor and ArduBlock: Simple HMI Stepper Motor Control Example Stepper Motor Control Example tips_pic](https://icop-shop.com/wp-content/uploads/2026/06/Technical-Tips-Getting-Started-with-86HMI-Editor-and-ArduBlock-Simple-HMI-Stepper-Motor-Control-Example-1.png)
產品特色 QEC-M-070T:
- EtherCAT MDevice 開放式框架 7 吋 LCD
- 基於即時雙核心 CPU 的整合式 EtherCAT MDevice
- 86Duino 集成開發環境(IDE)
- 7 吋 TFT LCD 螢幕,配備電阻式觸控螢幕(800×480)
- 適用於人機介面 (HMI) 的高可靠性 SLC eMMC 儲存裝置,具備 HDMI 輸出功能
- 工業運作溫度 -20 至 +70°C / -30 至 +85°C
- 豐富的介面:3×LAN、3×USB、RS232/485、CAN、SPI、I2C、與 Arduino 相容的 GPIO
- 內建電壓、溫度及系統狀態監控功能
產品特色 QEC-RXXMP3S:
- 支援 CiA402 和 G-code 的驅動程式
- 3 個步進馬達 (2 相雙極步進馬達)
- 驅動電流最高 4.84A,峰值 5.0A (可由開關調整)
- 編碼器介面 (A、B、Z),差分式
- 馬達不動時自動降低電流
- 內部監控硬件信息
- EtherCAT 一致性測試工具通過驗證
- 工作溫度 -20 至 +70 °C
如需更多資訊或索取樣品,請電郵至 info@icop.com.tw,聯絡您附近的 ICOP 分公司,或聯繫我們的 全球授權經銷商.





