ADS_STATE_FLAGS: {
    AdsCommand: number;
    Broadcast: number;
    HighPriority: number;
    InitCmd: number;
    NoReturn: number;
    Response: number;
    SysCommand: number;
    TimeStampAdded: number;
    toString: ((value: number) => string);
    Udp: number;
} = ...

ADS state flags

Source: TwinCAT.Ads.dll By Beckhoff

Type declaration

  • AdsCommand: number

    AdsCommand

  • Broadcast: number

    (AMSCMDSF_BROADCAST)

  • HighPriority: number

    High Priority (R0 to R0 checked at task begin, AMSCMDSF_HIGHPRIO)

  • InitCmd: number

    (command during init phase of TwinCAT, AMSCMDSF_INITCMD)

  • NoReturn: number

    (AMSCMDSF_NORETURN)

  • Response: number
  • SysCommand: number

    Internal generated cmds (AMSCMDSF_SYSCMD)

  • TimeStampAdded: number

    (cbData um 8 Byte vergrößert, AMSCMDSF_TIMESTAMPADDED)

  • toString: ((value: number) => string)

    Returns the flags as comma separated list by given flag value (number)

      • (value): string
      • Parameters

        • value: number

        Returns string

  • Udp: number

    (UDP instead of TCP, AMSCMDSF_UDP)