Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IIndustrialEthernet

IIndustrialEthernet have api and monitoring data variable. These elements are related to Industrial Ethernet communication function.

api-version

2

user

Hierarchy

  • IIndustrialEthernet

Index

Properties

api-version

2

user

Methods

  • setMonitoring(start: boolean): Promise<boolean>
  • Setting whether to monitor industrial Ethernet status

    api-version

    2

    system

    Parameters

    • start: boolean

      monitoring 0: stop 1: start

    Returns Promise<boolean>

    Promise returns true if successful, false if unsuccessful.

  • setOutputRegister(gprType: IEGprDataType, gprAddress: number, data: string): Promise<boolean>
  • Set an industrial ethernet protocol general purpose register value.
    Controls and alters the Industrial Ethernet GPR output.

    api-version

    2

    user

    Parameters

    • gprType: IEGprDataType

      data type. 0:bit, 1:int, 2:float

    • gprAddress: number

      Variable address

    • data: string

      Variable output data- 128 byte string

    Returns Promise<boolean>

    Return Fulfills with true if the request has been operated successfully, otherwise false.

Generated using TypeDoc