[EthercatDevice_Dmp]
EthercatDevice_DmpHID_Generic is an EtherCAT slave class specifically developed by ICOP for QEC EtherCAT slave HID modules. It encompasses RS232/RS485, 4×4 Keypad, 16×2 LCM, Manual Pulse Generator (MPG), and Buzzer functionalities.
RS232 and RS485 are electrical specifications that define the voltage levels, signal timing, and connector pinouts for implementing UART communication over physical cables. UART (Universal Asynchronous Receiver Transmitter) is a hardware interface standard for asynchronous serial data communication. It defines the format of data bits, start and stop bits, parity bits, and baud rate for serial communication. UART is commonly used for connecting microcontrollers, computers, and other devices for data exchange. This device features two UART ports that can be freely switched between RS232 or RS485 modes to accommodate user application requirements.
This device features a 4×4 keypad that provides a user interface for inputting numbers, symbols, and characters. The keypad is arranged in a matrix format with four rows and four columns, with each key representing a specific character or function.
This device features a 2×16 LCD module that provides a visual display for presenting information to the user. The LCM is arranged in a matrix format with two rows and 16 columns, allowing it to display up to 32 characters per line.
This device features a Manual Pulse Generator (MPG) interface that enables the connection of specific MPG devices, allowing precise control of machine or system movement. The interface that counts MPG pulses is referred to as an Encoder in this context. In addition to Encoder counter, the interface also offers Ratio knob, Axis knob, Emergency Stop switch, and Enable switch.
The class relationships of EthercatDevice_DmpHID_Generic are illustrated in the following diagram:

EthercatDevice_DmpHID_Generic inherits from _EthercatDevice_DmpCommonDriver.
Base Class:
- _EthercatDevice_CommonDriver
Derived Class:
Class Name | Vendor ID | Product Code | UART | Keypad | LCM | MPG |
EthercatDevice_QECR11HU1S | 0x00000bc3 | 0x0086d404 | O | O | ||
EthercatDevice_QECR11HU5S | 0x00000bc3 | 0x0086d403 | O | |||
EthercatDevice_QECR00HU5S | 0x00000bc3 | 0x0086d400 | O | |||
EthercatDevice_QECR11HU9S | 0x00000bc3 | 0x0086d402 | O | O | O | O |
EthercatDevice_QECR00HU9S | 0x00000bc3 | 0x0086d401 | O | O | O | O |
Initialization Functions
Initialization-related functions for the EthercatDevice_DmpHID_Generic class.
Control Functions
Control functions for the EthercatDevice_DmpHID_Generic class.
UART Functions
UART functions for the EthercatDevice_DmpHID_Generic class.
- uartIs485()
- uartSetBaud()
- uartSetFormat()
- uartSetFlowControl()
- uartGetRTS()
- uartGetCTS()
- uartGetDTR()
- uartGetDSR()
- uartSetRTS()
- uartSetDTR()
- uartClearFIFO()
- uartClearTxQueue()
- uartClearRxQueue()
- uartQueryTxQueue()
- uartQueryRxQueue()
- uartTxQueueEmpty()
- uartRxQueueEmpty()
- uartTxQueueFull()
- uartRxQueueFull()
- uartSend()
- uartWrite()
- uartReceive()
- uartRead()
LCM Function
LCM functions for the EthercatDevice_DmpHID_Generic class.
Keypad Functions
Keypad functions for the EthercatDevice_DmpHID_Generic class.
MPG Functions
MPG hand wheels functions for the EthercatDevice_DmpHID_Generic class.
- mpgSetCallback()
- mpgSetNoiseFilter()
- mpgInvertEncoderDirection()
- mpgWriteEncoderRaw()
- mpgWriteEncoder()
- mpgReadEncoderRaw()
- mpgReadEncoder()
- mpgReadEmergencyStop()
- mpgReadEnableSwitch()
- mpgReadAxis()
- mpgReadRatio()
Buzzer Functions
Buzzer functions for the EthercatDevice_DmpHID_Generic class.
Please see the EtherCAT Library User Manual for more QEC EtherCAT instructions and API usage.