From 09bd467b9821d394f4b29f5bf5b0984c005fbdb0 Mon Sep 17 00:00:00 2001 From: toimtoimtoim Date: Sun, 11 Jun 2023 22:47:24 +0300 Subject: [PATCH] update readme with example of unadressable ranges --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 97641ba..12e4668 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,7 @@ Request multiple packets with higher level API: $address = 'tcp://127.0.0.1:5022'; $unitID = 0; // also known as 'slave ID' $fc3 = ReadRegistersBuilder::newReadHoldingRegisters($address, $unitID) + ->unaddressableRanges([[100,110], [1512]]) ->bit(256, 15, 'pump2_feedbackalarm_do') // will be split into 2 requests as 1 request can return only range of 124 registers max ->int16(657, 'battery3_voltage_wo')