Hello, I am working with an inverter that only writes with a personalized command, soo I can't use system.opc.writeValues(). I'm trying to close the modbus device I have in the gateway and open the port with system.serial.openSerialPort(), and then sending the request with system.serial.writeBytes(). This is not working right now and I hope someone could help me, because clearly I'm doing something wrong. I'm working with 8.3 version.
You should try my alternate Modbus driver, which allows the use of scripted custom commands.