M
hello folks,
I am writing a driver which talks to an enron alike modbus slave over RS232. The slave supports function code 6 "Write Single Register". However, when i use this function to write to a register, i get an exception with code 7.
To the best of my knowledge, this means a NAK. With some of the registers, i get this code everytime in the response. However, i am able to write some of the registers everytime i try to do so.
Does this mean that the registers which always give exception response 7 are read only or write protected (may be some configuration/ definition is required on the slave to allow write operations on those registers). Any pointers?
I am writing a driver which talks to an enron alike modbus slave over RS232. The slave supports function code 6 "Write Single Register". However, when i use this function to write to a register, i get an exception with code 7.
To the best of my knowledge, this means a NAK. With some of the registers, i get this code everytime in the response. However, i am able to write some of the registers everytime i try to do so.
Does this mean that the registers which always give exception response 7 are read only or write protected (may be some configuration/ definition is required on the slave to allow write operations on those registers). Any pointers?