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

    Function writeMultipleCoils

    • Builds a write-multiple-coils request (function 0x0F).

      Parameters

      • address: number

        The unit address to write to.

      • start: number

        The address of the first coil.

      • values: readonly boolean[]

        One state per coil, at most 1968 of them.

      Returns Buffer

      The frame to send.

      If there are no values, or more than one request can carry.