'Modbus.SlaveException'.
Function Code: 144
Exception Code: 1 - The function code received in the query is not an
allowable action for the server (or slave). This may be because the
function code is only applicable to newer devices, and was not
implemented in the unit selected. It could also indicate that the
server (or slave) is in the wrong state to process a request of this
type, for example because it is unconfigured and is being asked to
return register values.
Probably I miss something, but I can't figure out what.
Any advice is really appreciated.
Hi, I'm trying to connect my PC to a PLC with modbud protocol, using RTU.
here is snippet of my code: private void WriteMultipleRegisters_Click(object sender, EventArgs e) {
}
When I push a button, an exception is generated :
'Modbus.SlaveException'. Function Code: 144 Exception Code: 1 - The function code received in the query is not an allowable action for the server (or slave). This may be because the function code is only applicable to newer devices, and was not implemented in the unit selected. It could also indicate that the server (or slave) is in the wrong state to process a request of this type, for example because it is unconfigured and is being asked to return register values.
Probably I miss something, but I can't figure out what. Any advice is really appreciated.
Thank you