OpcdaEndpoint

tag (string)

The name of the tag that should be accessed. Use this property for a single tag, or alternatively the tags property for multiple ones.

Examples: "Random.Real4", "Triangle Waves.Int2"

type (string, enum)

The type of the tag

This element must be one of the following enum values:

  • DATE

  • CURRENCY

  • VARIANTBODY

  • VARIANT

  • DOUBLE

  • COMARRAY

  • BOOLEAN

  • SHORT

  • INTEGER

  • FLOAT

  • STRING

  • UUID

  • BYTE

  • LONG

  • CHARACTER

  • INTERFACEPOINTER

  • INTERFACEPOINTERBODY

  • DISPATCH

  • COMOBJECT

  • POINTER

  • STRUCT

  • UNION

  • COMSTRING

  • UNSIGNEDBYTE

  • UNSIGNEDSHORT

  • UNSIGNEDINTEGER

  • DUALSTRINGARRAY

tags (array)

An array of names of the tags that should be accessed. Use this property for multiple tags, or alternatively tag for a single one.

The object is an array with all elements of the type string.

Example: ["Random.Real4","Triangle Waves.Int2"]

browse (string, enum)

The method for browsing this OPC DA server. Use this property if the endpoint should serve as a browse endpoint, alternative to the tag or tags endpoint.

This element must be one of the following enum values:

  • flat

  • tree

Default: "flat"

interval (integer)

Polling interval in ms for subscriptions

Default: 1000

cronExpression (string)

The Cron expression used to poll the endpoint. (For examples, see: https://github.com/node-cron/node-cron)

Examples: "1,2,4,5 * * * *", "1-5 * * * *", "*/2 * * * *", "* * * January,September Sunday"

Last updated

Logo

© Copyright 2024, Cybus GmbH