title: Python modbus communcation reading words on Mitsubishi PLC using ModbusTcpClient library
body: <p>I am trying to communicate and read the words on a Mitsubishi PLC (Q06udeh) using the following code:</p>
  
  <pre><code>from pymodbus.client.sync import ModbusTcpClient
  
  client = ModbusTcpClient('10.1.1.4',port=5007)
  client.connect()
  
  result = client.read_holding_registers(1,1)
  print result
  t = result.registers[0]
  print t
  </code></pre>
  
  <p>I am getting following output:</p>
  
  <pre><code>None
  
  Traceback (most recent call last):
    File "C:\Users\serkan\Desktop\sasda.py", line 8, in &lt;module&gt;
      t = result.registers[0]
   AttributeError: 'NoneType' object has no attribute 'registers'
  </code></pre>
  
  <p>No matter how I changed the accessing words with different parameters no hope, I still have no success. </p>
  
  <p>Please help.</p>