pamoja for TypeScript - v0.1.17
    Preparing search index...

    Function readDiscreteInputs

    • Builds a read-discrete-inputs request (function 0x02).

      Parameters

      • address: number

        The unit address to ask.

      • start: number

        The address of the first input.

      • count: number

        How many inputs to read.

      Returns Buffer

      The frame to send.