It varies with platform. For my systems, it typically will be /dev/ttyS0 or similar. Generally you use what your OS expects. Since the modbus driver is delegating to the serial support module, you might want to look at its documentation, like system.serial.openSerialPort().
2 Likes