1. Introducció
This manual provides detailed instructions for the installation, operation, and maintenance of the Coolmay QM3G Series HMI PLC all-in-one unit. This device integrates a Human Machine Interface (HMI) and a Programmable Logic Controller (PLC) into a single compact unit, designed for industrial automation applications.
The QM3G-43FH-24MR model features a 4.3-inch resistive touch screen, supports various communication protocols including RS232, RS485, and MODBUS RTU, and offers DC24V relay output.
Vídeo: Acabatview of Coolmay HMI PLC all-in-one units, showcasing different sizes and features.
2. Especificacions
The Coolmay QM3G-43FH-24MR HMI PLC all-in-one unit offers the following technical specifications:
| Categoria | Especificació |
|---|---|
| Model | QM3G-43FH |
| Característica | 60K colors resistive touch screen, supports portrait display |
| Tipus | 4.3"TFT |
| Mida de la pantalla | 97*56 mm |
| Resolució (píxels) | 480*272 |
| RAM | 64MB (Inquire if storing historical data is required) |
| ROM | NOR Flash de 8 MB |
| CPU | CPU de 32 bits 408 MHz |
| Ports COM | Type-C HMI download port (supports PLC program download via USB penetrating function), RS232 port |
| PLC Input Level | Passive NPN, public terminal isolated |
| PLC Transistor Output | Low level NPN, COM connected to negative |
| PLC Relay Output | Normally open dry contact |
| DO Type and Load (MT) | 2A/point, 4A/4 point COM, 5A/12 point COM |
| High-speed Counting | Single phase 6 channel 60KHz, or 2 AB 60KHz + 1 AB 10KHz, or 2 ABZ 60KHz + 1 AB phase 10KHz |
| High-speed Pulse | 8 channels, Y0-Y3 is 100KHz, Y4-Y7 is 10KHz |
| Port COM | 1x TYPE-C, 1x RS232, 1x RS485 |

Image: Detailed specifications for the QM3G-43FH model.
3. Configuració i instal·lació
3.1 Producte acabatview i Dimensions
The QM3G Series HMI PLC all-in-one units are available in various sizes. The QM3G-43FH model has dimensions of 134 x 102 x 34 mm and a cutout size of 120 x 94 mm for snap-on installation.

Imatge: Frontal view of the QM3G-43FH HMI PLC unit with a calibration screen.

Imatge: Anglesa view of the QM3G-43FH HMI PLC unit with a function test screen.

Imatge: Lateral view of the QM3G-43FH HMI PLC unit with a string input screen.

Imatge: Lateral view of the QM3G-43FH HMI PLC unit with a mold check screen.
3.2 Interfaces and Indicator Lights
The unit features several interfaces and indicator lights:
- POTÈNCIA: Power indicator light, illuminates when power is connected.
- CORRER: PLC running status indicator light, illuminates when PLC is running.
- COM: Touch screen and PLC communication status indicator light, illuminates when communication is active.
- Terminal d'alimentació: Connect DC24V and 0V terminals of the power supply.
- PLC Programming Port: Two ports (MiniB USB or Type-C/RS232) for PLC program download.
- Touch Screen Programming Port: Dedicated port for downloading touch screen configuration programs.
- Interfície USB: Supports direct insertion of a USB flash drive with FAT32 file sistema.
- Targeta SD: For storing historical records.
- Port de xarxa: Supports program download or MODBUS TCP/IP protocol (PLC and HMI network ports cannot coexist).
- Wireless Network Card: Supports optional WiFi or 4G, occupies the USB download port of the touch screen.

Imatge: Part posterior view of the QM3G-43FH HMI PLC unit, showing various ports and connections.
3.3 Instal·lació del programari
The touch screen software, CoolMayHMI, is compatible with XP/WIN7/WIN8/WIN10 systems. If installation issues occur, consider replacing the computer, reinstalling the system, or trying higher user permissions.
- Double-click the Vcool executable file (e.g., Vcool *.**.exe).
- Follow the on-screen prompts, clicking "Next" to proceed.
- During installation, a device driver installation prompt will appear. Click "Next" to install the USB driver.

Image: Device Driver Installation Wizard.

Image: Confirmation of successful device driver installation.
3.4 Creating a New Touch Screen Program
To create a new program in CoolMayHMI software:
- Double-click the software icon to open it.
- Selecciona "File" > "New Project" or click the new project icon.
- Enter a project name and select the corresponding model (e.g., TK8043H for EX3U-8043H).
- Configure communication protocol settings (e.g., Device Manufacturer: Coolmay, Name: Coolmay 3U_3G, Serial Type: COM1, Baud: 9600, etc.).
- Click "OK" to start editing the screen program.

Image: CoolMayHMI software interface for creating a new project.
4. Funcionament
4.1 PLC Programming
The PLC is compatible with Vtool PRO programming software. Ensure you use the correct software version to avoid incompatibility. You can specify initial program settings in the Model Settings window.
- Modes de programació: The software supports Ladder Diagram (LD), Instruction List, and Sequential Function Chart (SFC) programming modes.
- Configuració de comunicació: Configure transmission method (RS232), data length, parity, stop bits, baud rate, and communication station number.
4.2 Analog Input and Output
The unit features 4 analog inputs and 2 analog outputs. Analog input types include 0-10V and 0-20mA (4-20mA). Analog output values range from 0-4000 with 12-bit accuracy.
- Reading Analog Input: Direct register reading is supported. D[1110]~D[1113] store output values for corresponding type settings.
- Analog Input Sampling: D1377 controls the number of sampling cycles (range 0-7, default 7). D1118 controls filter cycles (range 0-32767).
- Sortida analògica: Use TO instructions or direct register assignment (D8050~D8057). For current output, D8058.0~D8058.7=0 for 0~20mA, and =1 for 4~20mA.
4.3 High-Speed Counter
High-speed counters are categorized into hardware and software types. Hardware counters are faster and more accurate. When using multiple high-speed counters, reduce the counting frequency.
- Input Allocation: The built-in high-speed counter input allocation table details the use of C232-C255 for various counting modes.
- Related Software: Specific software components (M1235-M1255) are used for single-phase and two-phase dual-count input counters.
- Canvi de funció: D1225-D1228 are used to set the counting mode for different groups of counters (single, double, triple, or quadruple frequency).
4.4 Interrupcions
The PLC supports various interrupts, with external interrupts having the highest priority.
- External Interrupts: Triggered by X0-X7 input terminals on rising or falling edges. Supports 16 interrupt inputs.
- Timer Interrupts: Configured via T timer I602~1699, I702~I799, I805~1899.
- Positioning Interrupts: Supports pulse output interrupt insertion into I110, I120, I130, I140.
- High-Speed Counter Interrupts: Addresses 010-080, triggered by DHSCS instruction.
4.5 High-Speed Pulse Output
The unit supports 10 channels of 200KHz high-speed pulse output, with variable speed control.

Image: Positioning control with high-speed pulse output and counting input.

Image: High-speed counting input with encoders.
4.6 Modulació d'amplada de pols (PWM)
The PWM instruction specifies the pulse output's cycle and ON time. It outputs a pulse with an ON pulse width of [S1.ms] in units of period [S2.ms].
4.7 Handwheel Pulse Function
The handwheel pulse generator is used for setting CNC machine tool origins, manual stepping fine adjustment, and interruption insertion during processing.
- Cablejat: Connect the handwheel to the PLC's X0, X1, Y10, and COM terminals.
- Funcionament: Initialize handwheel parameters (M0), then set M1 to start following. Y0 and Y10 change with C232 value and handwheel shaking speed.
4.8 G Code Function
The PLC supports 4-axis G code (linked interpolation supports 8 axes). G code files can be generated from CAD software or edited via CAXA programming assistant.
- Import G Code: Copy G code files to a USB drive (FAT32 format) and insert into the HMI. Restart HMI, enter parameter settings, and select "CNC Program Import".
- Connect PLC and HMI: Use a DB9-round hole 9-pin communication cable. In the CNC list interface, select the CNC file and click "Download".
4.9 MODBUS Communication
When the PLC acts as the host, it supports MODRW, MODRD, and MODWR instructions for reading and writing data.
- Serial Port 1 (RS232): Occupied internally, not available for external use.
- Serial Port 2 (RS232/RS485): Supports Delta DVP, free port, and MODBUS RTU/ASCII protocols.
- Serial Port 3 (RS485): Similar to Serial Port 2, supporting various protocols.
4.10 Comunicació en xarxa
The unit automatically detects the network upon power-on. If a network chip is present, M1504=1 indicates network readiness.
- Configuració Ethernet: Configure remote device IP, station number, function code, and read/write data length using the ETHZW instruction.
- Data Receiving: M1702 controls data receiving mode (parsed pure data or message/data saved in D parameter).
4.11 Touch Screen Program Download/Upload
Programs can be downloaded to the HMI via USB, serial port, or Ethernet, and uploaded from the HMI to a computer.
- Descàrrega en línia: Save the program, compile it, then select the download method (USB, Serial, or Ethernet) and click "Download".
- Upload Configuration: Click the upload icon in the toolbar, select content (project files, data sampling, or event records), and connection method.
- USB Download Steps: Export the project to a USB disk from the "Tools" menu, then use the USB disk to update the configuration project via the "Project Update" section in the HMI's Touch Screen Parameter Settings.

Image: CoolMayHMI software interface for downloading a project.
5. Manteniment
To ensure the longevity and optimal performance of your Coolmay HMI PLC unit, follow these general maintenance guidelines:
- Neteja: Regularly clean the touch screen and exterior with a soft, dry cloth. Avoid abrasive cleaners or solvents.
- Condicions ambientals: Operate the unit within specified temperature and humidity ranges. Avoid exposure to direct sunlight, excessive dust, or corrosive environments.
- Actualitzacions de firmware: Periodically check the official Coolmay website (www.coolmayplc.com) for firmware updates to ensure the latest features and bug fixes.
- Connexions de cable: Ensure all communication and power cables are securely connected and free from damage. Loose connections can lead to intermittent operation or communication errors.
6. Solució De Problemes
This section provides solutions to common issues you might encounter with your HMI PLC unit.
6.1 Problemes de programari i controladors
- Software Installation Failure: If CoolMayHMI software or device drivers fail to install, try using a different computer, reinstalling the operating system, or running the installer with administrator privileges.
- Download Failure: If a project download fails, close and reopen the host computer software, then reconfigure and attempt the download again.
6.2 Problemes de comunicació
- Communication Cable Disconnected: If the communication cable is disconnected, re-power the unit to re-establish the connection.
- MODBUS Communication Errors: Ensure the target station address is not higher than the host station address. If the MODRD received data exceeds the storage range, it will not be saved. For large data reads, use MODRW.
6.3 Operation Anomalies
- Handwheel Function Issues: If abnormalities occur with the handwheel, first turn off M1743, assign 0 (or a number other than 1-8) to the following axis number D1816, then change it back and restart M1743 for changes to take effect. To clear pulse display values (D1336, D1338), follow the specified steps to avoid safety risks.
- PLC Freezing/Not Running: When changing axes (D1816) or presetting K7, K8 (Y6, Y7), ensure M1743 is turned off or started first, respectively, to prevent the PLC from freezing.
7. Consells d'usuari
- Compatibilitat del programari: Always use the recommended Vtool PRO programming software for PLC programming to ensure compatibility.
- Controlador USB: If the USB driver installation fails, ensure you have the latest version of the CoolMayHMI software from the official weblloc.
- Codi G Files: When importing G code files, ensure they are placed in the root directory of the USB drive and that the USB disk and HMI USB interface are not used simultaneously.
- Analog Input/Output: For precise analog output, verify the D8058 settings for 0-20mA or 4-20mA ranges.
- High-Speed Operations: When configuring high-speed counters or pulse outputs, carefully review the allocation tables and ensure proper software component usage to avoid conflicts.
8. Preguntes freqüents (FAQ)
- Q: Where can I download the programming software?
- A: The programming software (CoolMayHMI and Vtool PRO) can be downloaded for free from the official Coolmay weblloc: www.coolmayplc.com.
- Q: Can I use a standard USB cable for programming?
- A: The unit comes with specific USB-232, 232 PLC programming, and Type-C programming cables. It is recommended to use these provided cables for reliable programming and communication.
- Q: What should I do if the HMI screen is unresponsive?
- A: First, check the power supply and ensure the unit is properly powered. If the issue persists, try restarting the HMI. If the touch screen requires calibration, refer to the software manual for calibration procedures.
- Q: Is it possible to connect the HMI PLC to a cloud platform?
- A: Yes, Coolmay offers a cloud platform solution that allows for real-time monitoring and management of devices via PC or mobile terminals, connecting through Ethernet/WiFi/4G via a Coolmay IoT Module.

Image: Coolmay Cloud Platform architecture.
9. Support and Further Documentation
For further detailed information, including advanced programming topics and specific model variations, please refer to the comprehensive PDF user manual:
Coolmay provides professional R&D and after-sales support. For technical assistance, please contact Coolmay customer service.

Image: Coolmay product certifications.

Image: Coolmay production line and manufacturing process.

Image: Industrial applications of Coolmay HMI PLC.





