Skip to main content

Configure Hardware Ports

It is mandatory to configure the hardware ports that your device will use for communication. Hardware ports define the physical communication parameters (baud rate, parity, etc.) and are shared between all blueprints running on the same UCM.

For more details on how hardware ports work, see the Interacting with Hardware documentation.

note

If your virtual UCM communicates with devices only over TCP/IP (e.g., Modbus TCP at tcp://192.168.1.42:502), no hardware port configuration is needed.

Hardware UCM

Each hardware UCM model comes with a predefined set of ports. For example:

  • ENP-RS485 provides a single RS-485 serial port
  • ENP-CAN provides a single CAN bus port
  • ENP-RL6 provides six relay (digital output) ports

To configure ports, open the communication device page in the Gateway Web UI, navigate to SettingsHardware Ports, enter the desired port settings, and click Update.

Open the communication device page, navigate to SettingsHardware Ports, enter the desired port settings, and click Update.

Hardware Ports

Hardware Ports Settings for ENP-RS232

Virtual UCM

Virtual UCMs on Enapter Gateway can integrate devices over TCP/IP without hardware port configuration. However, if the Gateway's computer has officially supported built-in hardware (e.g., serial ports on a Welotec Arrakis), you need to activate these ports first.

To make hardware ports available for the virtual UCM, open Gateway SettingsHardware Settings, select your computer model, choose the hardware you have installed, and click Update.

Hardware Ports

Gateway Hardware Settings

Once updated, the selected ports are exposed as hardware ports for the virtual UCM and can be used in Lua scripts via port:// connection URIs (e.g., port://rs485).

All Rights Reserved © 2026 Enapter AG.