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

    Interface ModbusFrame

    A received Modbus RTU frame whose CRC has been verified.

    interface ModbusFrame {
        address: number;
        exception?: number;
        functionCode: number;
        pdu: Buffer;
    }
    Index
    address: number

    The unit (slave) address the frame is addressed to or came from.

    exception?: number

    The exception code a device reported, or null when the frame is not an exception response.

    functionCode: number

    The function code. An exception response carries the request's code with its high bit set, as it appeared on the wire.

    pdu: Buffer

    The protocol data unit: the function code and its data, without the address or the CRC.