V
Hi,
I inspected the Modbus Application Protocol V1.1b document and saw that it doesn't suggest an Exception Code for data out of expected boundaries.
1) What should slave do if master wants to write (by using 0x06-Write Single Register) 1000 to slave's register which can accept only values between 0 and 100? I mean which exception code should slave return?
2) What should slave do if master wants to write (by using 0x10-Write Multiple Registers) 1000 and 10 to slave's two registers which can accept only values between 0 and 100? Does it return an Exception Code and doesn't write to any registers? Or does it write the value 10 and return an Exception Code? Or something else?
I inspected the Modbus Application Protocol V1.1b document and saw that it doesn't suggest an Exception Code for data out of expected boundaries.
1) What should slave do if master wants to write (by using 0x06-Write Single Register) 1000 to slave's register which can accept only values between 0 and 100? I mean which exception code should slave return?
2) What should slave do if master wants to write (by using 0x10-Write Multiple Registers) 1000 and 10 to slave's two registers which can accept only values between 0 and 100? Does it return an Exception Code and doesn't write to any registers? Or does it write the value 10 and return an Exception Code? Or something else?