Guia do utilizador do CNC Gateway: Integração do HAAS CNC com o gateway CNC

In this tutorial, we will focus on HAAS CNC Integration with CNC gateway. We hope this proves helpful.

Nas aulas anteriores, abordámos:

Como o EG8200 Mini CNC Gateway se liga aos sistemas CNC da Siemens

Como integrar o CNC Gateway com o CNC da Mitsubishi

Como integrar o CNC Gateway com a nova geração de CNC

This lesson will provide a detailed explanation for Haas CNC systems. HAAS CNC employs two communication modes: Ethernet and serial port. Below, we will address CNC gateway integration for both modes.

1.Haas CNC (Ethernet) – CNC Gateway Integration

1. Ligação do hardware

The Haas CNC communicates via Ethernet. Ensure the LAN port IP of the gateway and the Haas CNC DE IP are on the same subnet (Note: In special cases, they may be on different subnets, requiring routing configuration—consult technical support for details). IP addresses are assigned as follows in this example:

EG8200 Mini-CNC gateway

Haas CNC (Ethernet)

Endereço IP 192.168.88.1 192.168.88.34

Haas CNC (Ethernet) - CNC Gateway Integration1

2. Machine Tool Setup

2.1. Locate or Configure IP in the Haas System

Locate the interface shown below and ensure the wired network status is enabled at startup:

Haas CNC (Ethernet) - CNC Gateway Integration2

2.2. Setting the Port Number

Switch to the Settings interface (to the left of the Network Options button), select the Other tab, and enter the corresponding interface:

Haas CNC (Ethernet) - CNC Gateway Integration3

Configure the 143 parameter and set the port number:

Haas CNC (Ethernet) - CNC Gateway Integration4

Machine tool side setup complete. Restart the CNC.

3. Configuração da porta de entrada

3.1. CNC Connection Settings

Drag a Hass node from the left panel, double-click to open the settings page, and configure as follows based on the PLC parameters:

Communication Method: TCP

IP de destino: 192.168.88.66 (Replace with your machine tool’s IP)

Porto: 19000 (Enter the port configured on the machine tool)

Tempo limite de ligação: 5000

Intervalo entre batimentos cardíacos: 60000

Tempo limite de dados: 500

Intervalo de dados: 500

Cycle Wait: 100

Haas CNC (Ethernet) - CNC Gateway Integration5

3.2. Testes

Clique em «Implementar» e observe que é apresentado um ponto de dados a cada poucos segundos. Verifique os pontos de dados recebidos para confirmar que a comunicação foi bem-sucedida!

Para consultar a tabela de referência dos pontos de dados, consulte:

Esta é uma ficha de conteúdo sobre os Yueque. Clique na ligação para ver: https://iotrouter.yuque.com/zn3vdn/eg8000/inggeg9b79itoggq

Haas CNC (Ethernet) - CNC Gateway Integration6

2.Haas CNC (Serial Port) – CNC Gateway Integration

Compatible CNC: VS500

1. Ligação do hardware

The Haas CNC utilizes serial communication. In this example, the CNC communication port is a DB-25 pin RS-232 interface. The TXD/RXD/GND pins must be routed out and connected to the gateway’s RS232 interface. Connect TXD to the gateway’s RX, RXD to the gateway’s TX, and GND to the gateway’s GND.

DB25 (25-pin) RS-232 Standard Pinout

Pin Number Nome Direction Descrição
1 PGND Protective Ground (Chassis Ground)
2 TXD Saída Transmit Data (DTE → DCE)
3 RXD Entrada Receive Data (DCE → DTE)
4 RTS Saída Request To Send (DTE → DCE)
5 CTS Entrada Clear To Send (DCE → DTE)
6 DSR Entrada Data Set Ready (DCE → DTE)
7 GND Signal Ground (Common Return)
8 DCD Entrada Data Carrier Detect (DCE → DTE)
20 DTR Saída Data Terminal Ready (DTE → DCE)
22 RI Entrada Ring Indicator (DCE → DTE)

2. Machine Tool Settings

2.1. Serial Port Parameter Configuration

Click the Settings button, select I/O, and modify system parameters.

Haas CNC (Serial Port) - CNC Gateway Integration1

3. Definições da porta de entrada

3.1. CNC Connection Settings

Drag a Hass node from the left panel, double-click to open the settings page, and configure as follows based on the PLC parameters:

Communication Method: Porta de série

Porta de série: RS232

Taxa de transmissão: 38400

Bits de dados: 8

Bits de paragem: 1

Paridade: Nenhum

Tempo limite de ligação: 5000

Intervalo entre batimentos cardíacos: 60000

Tempo limite de dados: 500

Intervalo de dados: 500

Cycle Wait: 100

Haas CNC (Serial Port) - CNC Gateway Integration2

3.2. Testes

Clique em «Implementar» e observe que é apresentado um ponto de dados a cada poucos segundos. Verifique os pontos de dados recebidos para confirmar que a comunicação foi bem-sucedida!

Para consultar a tabela de referência dos pontos de dados, consulte:

Esta é uma ficha de conteúdo sobre os Yueque. Clique na ligação para ver: https://iotrouter.yuque.com/zn3vdn/eg8000/inggeg9b79itoggq

Haas CNC (Serial Port) - CNC Gateway Integration3