northwest_trail
Member
I'm trying to communicate to a Modbus RTU slave device using an M340 as the Modbus master using READ_VAR and WRITE_VAR.
I'm connecting directly to the slave device from the serial port of a M340 P342020 processor over RS-232. To address the device, do I use the ADDM function block, like this:
ADDM(’0.0.0.x’)
Where x is the slave Modbus ID?
I know that Modbus TCP requires specifying a network interface. Is this not necessary with Modbus RTU?
Thanks for any help.
I'm connecting directly to the slave device from the serial port of a M340 P342020 processor over RS-232. To address the device, do I use the ADDM function block, like this:
ADDM(’0.0.0.x’)
Where x is the slave Modbus ID?
I know that Modbus TCP requires specifying a network interface. Is this not necessary with Modbus RTU?
Thanks for any help.