Did the write not work on the original node when you changed the address? Did you get the error 2 after changing the address or was this before changing the address? Does the device you are communicating with allow you to write to that register?
Edit: @beno, should this be moved into a separate thread so the original poster isn’t getting bothered with all the replies?
Can you explain why you are switching nodes?: because it throws me error 2, which indicates that there is an error in the requested function or the slave device is incompatible with said function (16). If I am wrong I would appreciate information.
Did the write not work on the original node when you changed the address?: no it didn’t work but this time as i reported earlier it says it doesn’t support feature 16
Did you get the error 2 after changing the address or was this before changing the address?: after changing address.
Does the device you are communicating with allow you to write to that register?: yes, it is a write register, try with register 5 and 7, but it doesn’t work either.
yes, that’s how it works. it is function 16 that is not compatible with my equipment, use a modbus simulator with function 16 and it writes correctly. the limitation is on my computer and not on the node. thank you very much for your help.
Can you explain why you are switching nodes?: because it throws me error 2, which indicates that there is an error in the requested function or the slave device is incompatible with said function (16). If I am wrong I would appreciate information.
Did the write not work on the original node when you changed the address?: no it didn’t work but this time as i reported earlier it says it doesn’t support feature 16
Did you get the error 2 after changing the address or was this before changing the address?: after changing address.
Does the device you are communicating with allow you to write to that register?: yes, it is a write register, try with register 5 and 7, but it doesn’t work either.