ICOP Technology QEC-M-150T User Manual

Dm&p vortex86ex2 processor ethercat master system 15” open frame panel pc with 4-wire resistive touch screen
Table of Contents

Advertisement

Quick Links

User Manual
QEC-M-150T
DM&P Vortex86EX2 Processor
EtherCAT Master System
15" Open Frame Panel PC with 4-wire Resistive Touch Screen
QEC-M-150T User Manual
(Revision 1.2)
Ver.1.2 March, 2024
ICOP Technology Inc.
i

Advertisement

Table of Contents
loading

Summary of Contents for ICOP Technology QEC-M-150T

  • Page 1 ICOP Technology Inc. User Manual QEC-M-150T DM&P Vortex86EX2 Processor EtherCAT Master System 15” Open Frame Panel PC with 4-wire Resistive Touch Screen (Revision 1.2) QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 2 ICOP Technology Inc. REVISION DATE VERSION DESCRIPTION 2022/10/26 Version1.0 New Release. 2023/10/31 Version1.1 Updated Arduino Pins and LCD Specifications. 2024/3/15 Version1.2 Add Getting Started. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 3 No part of this manual may be reproduced, copied, translated or transmitted, in whole or in part, in any form or by any means without the prior written permission of the ICOP Technology Inc. ©Copyright 2024 ICOP Technology Inc. Ver.1.2 March 2024 TRADEMARKS ACKNOWLEDGMENT ICOP®...
  • Page 4 WARNING! DO NOT ATTEMPT TO OPEN OR TO DISASSEMBLE THE CHASSIS (ENCASING) OF THIS PRODUCT. PLEASE CONTACT YOUR DEALER FOR SERVICING FROM QUALIFIED TECHNICIAN. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 5: Table Of Contents

    J29A: eMMC Module ........................15 J29B: eMMC Module ........................15 2.4 External I/O Overview ................... 16 2.4.1 USB ..........................17 2.4.2 Micro USB ........................17 2.4.3 LAN1/LAN2/Giga LAN ....................18 2.4.4 Arduino pin Assignment ....................19 QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 6 3.5.3 Cyclic Callback ....................... 38 3.5.4 Distributed Clock (DC) ....................41 3.5.5 Use 86EVA with code ....................44 3.6 Building an HMI on the QEC-M-150T with 86Duino ..........51 3.6.1 Library Instruction ......................51 3.6.2 Uploading the LVGL Example ..................52 3.6.3 Using the Graphical HMI editor: 86HMI ................
  • Page 7: 1 General Information

    ICOP Technology Inc. General Information 1.1 Introduction 1.2 Specifications 1.3 Dimension 1.4 Ordering Information QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 8: Introduction

    Users can upload the developed executable files and required images or data, such as HMI images, to the QEC-M-150T’s SLC via the 86Duino IDE without affecting the performance of the master system. Besides, 86Duino IDE also integrates with the LVGL library to provide an advanced and intuitive approach to user interface design on QEC-M-150T.
  • Page 9: Qec-M Systems Diagram

    The 86Duino integrated development environment (IDE) software makes it easy to write code and upload it to QEC-M. It runs on Windows, Mac OS X, and Linux. The environment is written in Java and based on Arduino IDE, Processing, DJGPP, and other open-source software. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 10: Specifications

    125 µs (min.) 86Duino Coding IDE 500+ Software Support (The environment is written in Java and based on Arduino IDE, Processing, DJGPP, and other open-source software) *MCM signal is equivalent to Arduino's PWM signal. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 11 Power Consumption 7.5 W (Typ.) Electrical Interface 1 channel LVFS Contrast Ratio 800: 1 Brightness (cd/m 350 nits Support Color 16.2M / 262K colors Viewing Angle Vertical 150 , Horizontal 160 Backlight Lifetime 50,000 hrs QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 12 ICOP Technology Inc. TOUCHSCREEN Type Analog Resistive Resolution Continuous Transmittance Controller PS/2 interface Durability 1 million QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 13: Dimension

    ICOP Technology Inc. 1.3 Dimension (Unit: mm) QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 14: Ordering Information

    ICOP Technology Inc. 1.4 Ordering Information (Below is the customization function, the unfilled fields do not need to be filled in; if the customer does not require, it will be directly shipped standard material number, such as QEC-M-150T) Type LCD size...
  • Page 15: 2 Hardware Installation

    ICOP Technology Inc. Hardware Installation 2.1 CPU Board Outline 2.2 Connector Summary 2.3 Connector Pin Assignments 2.4 External I/O Overview 2.5 Wiring to the Connector QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 16: Cpu Board Outline

    ICOP Technology Inc. 2.1 CPU Board Outline QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 17: Connector Summary

    VGA (Reserved and debug used) 1.25mm 10-pin VGA 10-pin MINI PCIe Mini PCIe Slot 52-pin SIM Card Holder Micro SIM Socket 10-pin J29A eMMC TINY MODULE 1.27mm 6-pin header 6-pin J29B eMMC TINY MODULE 1.27mm 4-pin header 4-pin QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 18: I/O Connectors

    GRX- (Secondary EtherCAT) GRXD+ Pin# Signal Name GRXD- J9: Power Input Connector OUT_Us Pin# Signal Name OUT_Up FGND FGND VsGND VpGND VpGND VsGND L4, L5, L7, L8 pins are option, for RJ45 Power IN/OUT. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 19: J10: I2C0, Mcm, Gpio

    J15: CAN0 and CAN1 bus GP02 MCM-5 Pin# Signal Name MCM-6 GP05 CAN1_L CAN1_H *MCM signal is equivalent to Arduino's PWM signal. J12: GPIO, VCC, GND CAN0_L GAN0_H Pin# Signal Name VCC3 GP35 GP36 GP37 QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 20: J16: Spi, Reset

    SPI0_CLK SPI0_DO RESET- GOUT SPI0_CS BOUT J17: SPI, RESET-, RS485 HSYNC_A Pin# Signal Name Pin# Signal Name SPI1_DI VSYNC_A SPI1_CLK SPI1_DO RESET- SPI1_CS RS485+ RS485- J18: Line-out Pin# Signal Name LOUT_R1 GND_AUD GND_AUD LOUT_L1 QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 21: J24: Mini Pcie

    SDA_D1 Mechanical Key SDA_D2 SDA_D3 SDA_CLK SDA_CMD PERST# PERn0 +3.3V J29B: eMMC Module PERp0 Pin# Signal Name Pin# Signal Name VCC3 SDA_CD PETn0 VCC3 PETp0 USB_D- USB_D+ +3.3V +3.3V LED_WWAN# Reserved / DCD +3.3V QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 22: External I/O Overview

    LAN1 and LAN2 are for the EtherCAT communication, and Giga LAN Arduino Standard Pin and QEC additional Arduino Pin. 10 Pin Flat Ribbon VGA Connector. (Reserved and debug used) Mini PCIe. SIM Card. DCM-12V, for LCD Display Power. eMMC Module. 10. Power Input. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 23: Usb

    ICOP Technology Inc. 2.4.1 USB Standard USB 2.0 with Hot-plug. You can plug in the Keyboard, Mouse, or USB dick to control the QEC-M-150T. For drive USB, you can refer to the following hyperlinks: library: read USB disk.  Keyboard Controller Example ...
  • Page 24: Lan1/Lan2/Giga Lan

    ICOP Technology Inc. 2.4.3 LAN1/LAN2/Giga LAN There are three LAN ports in QEC-M-150T, two for EtherCAT communication and one for external Ethernet work. The EtherCAT Lan on the QEC-M divides into Input and Output for cable redundancy. To drive GigaLAN, you can refer to...
  • Page 25: Arduino Pin Assignment

    ICOP Technology Inc. 2.4.4 Arduino pin Assignment We have kept the Arduino pin on the QEC-M-150T. Users can easily control these pins via software (86Duino IDE). To drive Arduino pins, you can refer to Libraries and Language. Arduino standard pins: You can use the following pins like 86Duino One board.
  • Page 26 J11: MCM, GPIO, COM1(TTL) Pin# Signal Name RXD1# TXD1# GP00 MCM-3 GP02 MCM-5 MCM-6 GP05 J13: Power source, RESET- Pin# Signal Name VCC3 RESET- VCC3 J14: ADC/GPIO Pin# Signal Name GP57ADC GP56ADC GP43ADC GP42ADC GP41ADC GP40ADC QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 27 ICOP Technology Inc. QEC Arduino pins: There are other pins on the QEC-M-150T. To drive Arduino pins, you can refer to Libraries or please contact ICOP for the details. J12: GPIO, VCC, GND Pin# Signal Name GP35 GP36 GP37 QEC-M-150T User Manual...
  • Page 28 CAN0_L GAN0_H VCC3 J16: SPI, RESET- Pin# Signal Name Pin# Signal Name SPI0_DI SPI0_CLK SPI0_DO RESET- SPI0_CS J17: SPI, RESET-, RS485 Pin# Signal Name Pin# Signal Name SPI1_DI SPI1_CLK SPI1_DO RESET- SPI1_CS RS485+ RS485- QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 29: 10-Pin Vga Connector

    The pin configuration of a VGA Connector includes 10 pins where each pin and its function are discussed right. 2.4.6 DCM-12V DCM-12V, for LCD Display Power. Input 15~36Vdc and Output 12V@Max. 2.5A. For detail information, please refer to DCM-12V-S. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 30: Emmc Module

    Your 86Duino executable will be uploaded to this eMMC. To save data to this eMMC, you can refer to the SD library and set the following code: #include <SD.h> void setup() { SD.setBank(EMMCDISK); void loop() { QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 31: Power Input

    4-pins Power Input/Output & 2-pins FGND. Vs for system power; Vp for peripheral power and backup power. Pin # Signal Name Pin # Signal Name Vs- (GND) Vp- (GND) Power Input voltage +19 to +50VDC Power Input (Typ. +24VDC) QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 32: Wiring To The Connector

    2.5 Wiring to the Connector 2.5.1 Connecting the wire to the connector Insulated Terminals Dimensions (mm) Position Ø D1 Ø d1 Ø D2 CN 0.5-6 CN 0.5-8 CN 0.5-10 10.0 2.5.2 Removing the wire from the connector QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 33: 3 Getting Started

    Getting Started 3.1 Package Contents 3.2 Hardware Configuration 3.3 Software/Development Environment 3.4 Connect to your PC and set up the environment 3.5 EtherCAT Development Method 3.6 Building a HMI on the QEC-M-150T with 86Duino QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 34: Package Contents

    3.2.1 Plugin the power supply There are two groups of power supplies in QEC-M-150T, Vs and Vp; The voltage requirement for both supplies’ ranges from 19V to 50V wide voltage. After powering on, you’ll see the power screen light up.
  • Page 35: Software/Development Environment

    After downloading, please unzip the downloaded zip file, no additional software installation is required, just double-click 86duino.exe to start the IDE. *Note: If Windows displays a warning, click Details once and then click the Continue Run button once. 86Duino Coding IDE 500+ looks like below. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 36: Connect To Your Pc And Set Up The Environment

    3.4 Connect to your PC and set up the environment Follow the steps below to set up the environment: Connect the QEC-M-150T to your PC via a Micro USB to USB cable (86Duino IDE installed). Turn on the QEC power.
  • Page 37 Select the correct board: In the IDE's menu, select “Tools” ->” Board”- > QEC M090T (or the QEC-M master model you use). Select Port: In the IDE's menu, select “Tools”- >” Port” and select the USB port to connect to the QEC-M master (in this case, COM6 (QEC)). QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 38: Ethercat Development Method

    A distinction is made between the following states: Init • Pre-Operational • Safe-Operational and • Operational • Boot • The regular state of each EtherCAT slave after bootup is the OP state. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 39 ICOP Technology Inc. The EtherCAT master (QEC-M-150T) can be configured in the EtherCAT network via the EtherCAT library and programmed with the control action in the 86Duino IDE. The 86Duino development environment has two main parts: , which correspond to...
  • Page 40 Note: Once the code is written, click on the toolbar to compile, and to confirm that the compilation is complete and error-free, you can click to upload. The program will run when the upload is complete. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 41: Process Data Objects (Pdo) Functions

    ECAT-Slaves on bus by just passing one single internet packet. The types of data include DIO, AIO and servo motor position, etc. Please refer to the diagram below. EtherCAT: Exchange of internet packets and data. (Source of information: http://www.ethercat.org/) QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 42 PDO and in what order. This customization can be achieved through SDOs during the system setup phase, allowing for a highly tailored and optimized communication setup. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 43 Note: Once the code is written, click on the toolbar to compile, and to confirm that the compilation is complete and error-free, you can click to upload. The program will run when the upload is complete. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 44: Cyclic Callback

    Variables accessed within an ISR must be declared as volatile to ensure their values are • updated in real-time, reflecting changes made by the interrupt. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 45 Although functions like may operate as expected within ISRs in this • delay() millis() specific environment, it is still advisable to avoid lengthy operations within ISR code to maintain system efficiency and real-time performance. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 46 Note: Once the code is written, click on the toolbar to compile, and to confirm that the compilation is complete and error-free, you can click to upload. The program will run when the upload is complete, and the LED will start flashing. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 47: Distributed Clock (Dc)

    Therefore, the EtherCAT solution for synchronizing nodes is based on such distributed clocks (DC). EtherCAT: Illustration of Distributed Clock (DC). (Source of information: http://www.ethercat.org/) QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 48 I/O signal from two EC-Slaves is around 20 nano-seconds. (*1) Please refer to EtherCAT standard document ETG1000.4 Synchronicity and Simultaneousness: Scope view of two distributed devices with 300 nodes and 120 m of cable between them. (Source of information: http://www.ethercat.org/) QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 49 Note: Once the code is written, click on the toolbar to compile, and to confirm that the compilation is complete and error-free, you can click to upload. The program will run when the upload is complete. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 50: Use 86Eva With Code

    Set Slave Object Name • Set Slave Alias • Slave I/O Mapping can be set • Display secondary device information • View internal information, including: • Voltage (V) Current (A) Temperature (C) Startup time (hr) QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 51 The 86EVA tool can be opened via the following buttons. After confirming that the correct COM port (COM9 in this example) has been selected for QEC-M-150TP, press the Connect button to start scanning the EtherCAT network. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 52 Click on the scanned device image to enter the corresponding parameter setting screen. QEC-M-150T: Click on the image of the QEC-M-150T to see the parameter settings. If you are developing for the first time, please use the preset settings first and click "Back" in the upper left corner to return.
  • Page 53 D0" in the drop-down box of DQ00 of Digital Output Pin Mapping and click "Back" in the upper left corner to return. This action is to set the Digital Output Pin0 of QEC-R11D0FH to the virtual D0 pin of EVA. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 54 Once you've set your device's parameters, go back to the home screen and press the "Code Generation" button in the bottom right corner. When you're done, double-click the OK button to turn off 86EVA, or it will close in 10 seconds. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 55 After 86EVA generates code, the following code will be automatically generated in the main program (.ino), and any of them missing will cause 86EVA not to work. : Include EVA Header file #include “myeva.h” : Initialize the EVA function EVA.begin() setup(); QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 56 Note: Once the code is written, click on the toolbar to compile, and to confirm that the compilation is complete and error-free, you can click to upload. The program will run when the upload is complete, and the LED will start flashing. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 57: Building An Hmi On The Qec-M-150T With 86Duino

    ICOP Technology Inc. 3.6 Building an HMI on the QEC-M-150T with 86Duino This section will demonstrate how to build a basic HMI on the QEC-M-150T using the LVGL library in the 86Duino Coding IDE 500+. We assume that you have already completed the previous sections of the quick start guide, including Package Contents, Hardware Configuration, Software Driver Installation, and Set up the QEC-M-150T.
  • Page 58: Uploading The Lvgl Example

    QEC-M-150T: 1. Open the 86Duino Coding IDE 500+ and connect the QEC-M-150T. 2. Open the Tools menu from Menu bar -> Select the assigned COM port for QEC-M-150T -> Select “QEC M150T” for the board.
  • Page 59 2. lv_demo_widgets.c: *.c files are our C source code files in which our code is written and created by the user. 3. lv_demo_widgets.h: *.h files are header files that are prewritten for our compiler. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 60: Using The Graphical Hmi Editor: 86Hmi

    Use the Auto Code Generation function in 86HMI Editor to generate HMI APIs (Application Programming Interface), thus achieving the effect of creating HMIs without writing programs. Below are the complete steps to design UI to QEC-M-150T using 86HMI: 1. Open 86HMI tool via 86Duino Coding IDE 500+. Choose QEC-M-150T.
  • Page 61 And after you finish uploading, you can see the user interface you just designed on QEC-M-150T. For more information on how 86HMI can be developed, please write to info@icop.com.tw, call your nearest ICOP Branch, or contact our Worldwide Official Distributor. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 62: 4 Software Function

    ICOP Technology Inc. Software Function 4.1 Software Description 4.2 EtherCAT Function List 4.3 Additional Resources QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 63: Software Description

    The 86Duino Coding IDE 500+ developed by the QEC team designed specifically for industrial-field control systems, bringing simple and powerful functions into related industrial fields through the open-source Arduino. Please visit qec.tw for 86Duino Coding IDE 500+ details. You can Download here: https://www.qec.tw/software/. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 64: Ethercat Function List

    - Stop EtherCAT Master. ⚫ getSystemTime() - Get system time of current cycle. (The unit is nanosecond) ⚫ getWorkingCounter() - Get working counter of current cycle. ⚫ getExpectedWorkingCounter() - Get expected working counter. (Fixed value) ⚫ QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 65 The following APIs are still under development and are not recommended for use. attachCyclicCallback() - Register Cyclic Callback Function. ⚫ detachCyclicCallback() - Unregister Cyclic Callback Function. ⚫ attachErrorCallback() - Register Error Callback Function. ⚫ detachErrorCallback() - Unregister Error Callback Function. ⚫ QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 66: Ethercatdevice Class General Functions

    - Read Slave Process Data Input. ⚫ pdoRead8() - Read 8-bit Slave Process Data Input. (unit8_t) ⚫ pdoRead16() - Read 16-bit Slave Process Data Input. (unit16_t) ⚫ pdoRead32() - Read 32-bit Slave Process Data Input. (unit32_t) ⚫ QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 67 – Return a description of a single object dictionary Entry. ⚫ File over EtherCAT (FoE) Functions: readFoE() - Read FoE. ⚫ writeFoE() - Write FoE. ⚫ Distributed Clock (DC) Functions: setDc() - Configure Distributed Clock (DC) parameters. ⚫ QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 68: Additional Resources

    The text of the 86Duino reference is a modification of the Arduino reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain. QEC-M-150T User Manual Ver.1.2 March, 2024...
  • Page 69: Warranty

    All Trademarks appearing in this manuscript are registered trademark of their respective owners. All Specifications are subject to change without notice. © ICOP Technology Inc. 2024 QEC-M-150T User Manual Ver.1.2 March, 2024...

Table of Contents