ads-client | Beckhoff TwinCAT ADS client library for Node.js
    Preparing search index...

    Variable AMS_HEADER_FLAGConst

    AMS_HEADER_FLAG: {
        AMS_TCP_PORT_AMS_CMD: number;
        AMS_TCP_PORT_CLOSE: number;
        AMS_TCP_PORT_CONNECT: number;
        AMS_TCP_PORT_ROUTER_NOTE: number;
        GET_LOCAL_NETID: number;
        toString: (value: number) => string;
    } = ...

    AMS header flag (AMS command)

    Type Declaration

    • AMS_TCP_PORT_AMS_CMD: number

      0x0000 - Used for ADS commands

    • AMS_TCP_PORT_CLOSE: number

      0x0001 - Port close command

    • AMS_TCP_PORT_CONNECT: number

      0x1000 - Port connect command

    • AMS_TCP_PORT_ROUTER_NOTE: number

      0x1001 - Router notification

    • GET_LOCAL_NETID: number

      0x1002 - Requests local AmsNetId

    • toString: (value: number) => string

      Returns the corresponding key as string by given value (number)