readWriteRegisters(0, 12288, 6, 12288, $data, $dataTypes); if(!$recData) { // Print error information if any echo "
Error:
" . $modbus->errstr . "
"; // exit(); } // Print status information echo "writeMultipleRegister (FC26): DONE"; ?>