diff --git a/examples/example_fc22.php b/examples/example_fc22.php new file mode 100644 index 0000000..24e235f --- /dev/null +++ b/examples/example_fc22.php @@ -0,0 +1,28 @@ +maskWriteRegister(0, 12288, $andMask, $orMask); +} +catch (Exception $e) { + // Print error information if any + echo $modbus; + echo $e; + exit; +} + +// Print status information +echo $modbus; + +?>