title: PHP Modbus/TCP Address can only be up to 126
body: <p>m use php to connect modbus\tcp by phpmodbus。</p>
  <p><a href="https://github.com/krakorj/phpmodbus/blob/master/Phpmodbus/ModbusMaster.php" rel="nofollow noreferrer">https://github.com/krakorj/phpmodbus/blob/master/Phpmodbus/ModbusMaster.php</a></p>
  <p>but address only up to 126  my Address is 32969 to 34597</p>
  <pre><code>equire_once dirname(__FILE__) . '/../Phpmodbus/ModbusMaster.php'; 
  $IP =  $_POST[&quot;IP&quot;] ;
  $RAM_location =  $_POST[&quot;RAM_location&quot;] ;
  $RAM_NUM =  $_POST[&quot;RAM_NUM&quot;] ;
  $modbus = new ModbusMaster($IP, &quot;TCP&quot;);
  try {
      // FC 3
      $recData = $modbus-&gt;readMultipleRegisters(0, $RAM_location, $RAM_NUM);
  }
  catch (Exception $e) {
      // Print error information if any
      echo $modbus;
      echo $e;
      exit;
  }
   $DataCount = count($recData);
  
  $new_redata = array();
  $j = $RAM_location;
  for($i = 0;$i &lt; $DataCount;$i = $i+2){
  //  $new_redata[$j] =strval($recData[$i]) + strval($recData[$i+1]) ;
  if ($recData[$i]!= 0 ){
      //this modbus is 256 carry 
      $reI = $recData[$i] * 256;
      } else {
      $reI = 0;
      }
  $new_redata[$j+1] = $reI + $recData[$i+1] ;
  $j++;
  }
  </code></pre>
  <p>this is  my use modbusmaster.php code.</p>