I want to change device identyficator (id) in properties of my object.
// Declare the RS485 interface here with a hardware serial port.
RS485Class RS485(PORT_RS485, PIN_RS45_EN, -1, PIN_RS485_TX); // (Serial Port, DE, RE, TX)
// Create a Modbus RTU node instance with the RS485 interface.
CSE_ModbusRTU modbusRTU(&RS485, id, "modbusRTU-0x01"); // (RS-485 Port, Device Address, Device Name)
// Create a Modbus RTU server instance with the Modbus RTU node.
CSE_ModbusRTU_Server modbusRTUServer(modbusRTU, "modbusRTUClient"); // (CSE_ModbusRTU, Server Name)
And then i want to modbusRTU... (no method for that?)
I want to change device identyficator (id) in properties of my object.
How to do it?
Ive got standard constructors with
And then i want to modbusRTU... (no method for that?)