@flux-control/effect-modbus-rs
    Preparing search index...

    Function planCoilReads

    • Merges coil addresses into the fewest FC01 transactions that cover them.

      This is planReads with the coil transaction limit.

      Parameters

      • addresses: readonly number[]

        Requested addresses, in any order, duplicates allowed.

      • options: PlanCoilReadsOptions = {}

        Device limits and the gap tolerance.

      Returns ReadPlan

      The spans to read and the index back into their responses.

      RangeError - An address or an option is out of range.