DeviceHub Agent
4 min
Review the following information for setting up and configuring the DeviceHub Agent driver.
Set Up the DeviceHub Agent
See Set Up the DeviceHub Agent to review how to set up and configure the DeviceHub Agent driver.
DeviceHub Agent Driver Settings in Belden Horizon Data Operations
If you review or edit the settings of the OSI Agent device, refer to the following parameters.
Parameter | Value |
|---|---|
Type | OPC UA |
Driver | DeviceHub Agent |
Network Address | If unsure, leave the default value of 0.0.0.0 |
Network Port | 41250 |
Data Validity Period | 60 |
If you Add Tags in Belden Horizon Data Operations, refer to the following supported data types and tag parameters. There isn't a list of available register names.
Supported Data Types
- Word
- StrArg
- Null
- Single
- Byte
- RefToNull
- Mask
- ArrayOfDouble
- ArrayOfString
- RefToEmpty
- RefToSmallInt
- RefToMask
- SmallInt
- ShortInt
- RefToDate
- RefToDispatch
- Date
- Dispatch
- ArrayOfNull
- ArrayOfBoolean
- RefToVariant
- RefToString
- LongWord
- ArrayOfInteger
- ArrayOfDispatch
- Error
- ArrayOfUnknown
- ArrayOfLongWord
- ArrayOfAny
- String
- Any
- ArrayOfOleString
- RefToSingle
- RefToUnknown
- Double
- OleString
- RefToOleString
- Unknown
- ArrayOfInt64
- ArrayOfMask
- RefToInteger
- Currency
- Variant
- ArrayOfSmallInt
- ArrayOfVariant
- ArrayOfShortInt
- ArrayOfWord
- Empty
- ArrayOfEmpty
- ArrayOfStrArg
- RefToByte
- Integer
- Boolean
- ArrayOfDate
- RefToError
- RefToBoolean
- ArrayOfSingle
- ArrayOfCurrency
- ArrayOfError
- RefToDouble
- RefToCurrency
- UnknownType
- Int64
- ArrayOfByte
Tag Parameters
- Name: Enter the case-sensitive register name exactly as it is defined in the PLC.
- Value Type: Select a data type from the drop-down list.
- Polling Interval: Enter a value in seconds. This determines how often the tag should poll the register for data.
- Tag Name: Enter a name for the tag.
- Description (Optional): Enter a description for the tag.
- Tag Formula: Enter a formula for the tag to process the generated data. Two variables are permitted: value (current tag value) and timestamp (current tag UNIX time in milliseconds). The following math functions are available:
- sin
- cos
- sqrt
- tan
- power
- log
- exp
- Only Publish on Change of Value: Select the checkbox to customize NATS messages to be published only when the value parameter changes from a previous value to a new one. Change of Value only applies to boolean, numeric (such as int or float), and simple string data types. It does not apply to complex types, such as JSON or array. Poll-once topics will not be affected by Change of Value settings. These topics will still only see a single message.
- Meta Data: Metadata summarizes basic information about data. This feature allows you to define key-value pair data for the device output payload later on. It can then be used to find, use, and reuse particular instances of data.