title: What is this error given by RS485 Modbus-RTU Device
body: <p>I am using <a href="https://github.com/pyhys/minimalmodbus" rel="nofollow noreferrer">minimalmodbus</a> to communicate with a <a href="http://www.pvi.com/pdf%20files/Love%20Control%20I.pdf" rel="nofollow noreferrer">PID controller (Love 16C-3)</a> via RS485 using a <a href="https://rads.stackoverflow.com/amzn/click/com/B005CPLOVW" rel="nofollow noreferrer" rel="nofollow noreferrer">USB-RS485 adapter cable</a>.</p>
  
  <p>However when trying to read the register, the following error is shown. What does this error mean?</p>
  
  <pre><code>raise ValueError('The slave is indicating an error. The response is: {!r}'.format(response))
  ValueError: The slave is indicating an error. The response is: '\x01\x83\x02\xc0\xf1'
  </code></pre>
  
  <p><strong>From Hardware's Manual</strong></p>
  
  <p><a href="https://i.stack.imgur.com/kUsT9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kUsT9.png" alt="enter image description here"></a></p>
  
  <p><strong>Python Code</strong></p>
  
  <pre><code>instrument = minimalmodbus.Instrument(port, 1, 'rtu')
  instrument.serial.baudrate = 9600
  instrument.serial.bytesize=8
  instrument.serial.parity='E'
  instrument.serial.stopbits=1
  instrument.read_register(4096,1)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/vN2hR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vN2hR.png" alt="enter image description here"></a></p>