Examples of Tag Configuration

<< Click to Display Table of Contents >>

 

Examples of Tag Configuration

To read or write the presentValue property of object "analogValue-300", on a device with address 15, declare a Tag with the following parameters:

N1: 15 (device with address 15)

N2: 2 (analogValue-type object)

N3: 300 (object address)

N4: 85 (the presentValue property)

 

For the same configuration by Strings, declare a Tag with the following properties:

ParamDevice: "15:"

ParamItem: "analogValue-300"

 

Or else:

ParamDevice: "" (an empty String)

ParamItem: "15:analogValue-300"

 

NOTE

Configuration by Strings assumes the presentValue property if not informed. The value "analogValue-300" is equivalent to "analogValue-300.presentValue".

 

To read a vendor's name, that is, the vendorName property from a device with number 15, declare a Tag with the following parameters:

N1: 15 (device with address 15)

N2: 8 (device-type object)

N3: 15 (address of object "device-15")

N4: 121 (the vendorName property)

 

For the same configuration by Strings, declare a Tag with the following properties:

ParamDevice: "15:"

ParamItem: "device-15.vendorName"

 

Or else:

ParamDevice: "" (an empty String)

ParamItem: "15:device-15.vendorName"

Was this page useful?