From 67afd2685892e69ababb489f48b9033ab5908f4d Mon Sep 17 00:00:00 2001 From: PJ Bostley Date: Tue, 23 Jan 2018 15:33:23 -0700 Subject: [PATCH] Adding documentation for the Modbus little endian modes where 32 bit values have thier registers swapped --- src/collectd.conf.pod | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index dfd785a2..e9715126 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -4128,11 +4128,19 @@ Configures the base register to read from the device. If the option B has been set to B or B, this and the next register will be read (the register number is increased by one). -=item B B|B|B|B|B - -Specifies what kind of data is returned by the device. If the type is B, -B or B, two 16Ebit registers will be read and the data is -combined into one value. Defaults to B. +=item B B|B|B|B|B|B|B|B + +Specifies what kind of data is returned by the device. This defaults to +B. If the type is B, B, B, B, +B or B, two 16Ebit registers at B +and B will be read and the data is combined into one +32Evalue. For B, B and B the most significant +16Ebits are in the register at B and the least +significant 16Ebits are in the register at B. +For B, B, or B, the high and low order +registers are swapped with the most significant 16Ebits in +the B and the least significant 16Ebits in +B. =item B B|B -- 2.11.0