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

    Function writeSingleCoil

    • Builds a write-single-coil request (function 0x05).

      Parameters

      • address: number

        The unit address to write to.

      • coil: number

        The coil address.

      • on: boolean

        The state to write.

      Returns Buffer

      The frame to send.