|
<< Click to Display Table of Contents >>
Tag Addressing |
N1 |
SOETYPE × 10 + Class |
N2 |
Function code. For more information, please check topic Supported Function Codes |
N3 |
Object and Variation code. For more information, please check topic Supported Objects |
N4 |
Address of a variable or number |
Device |
Optional parameter informing the logical DNP address, informed in the My DNP Addresses parameter. If it is not informed, a Tag is addressed to the first address of the list, or the main DNP address |
Item |
Optional parameter that informs the individual dead band of a Tag |
The N1 parameter contains a configuration for Classes and Events, according to the formula SOETYPE × 10 + Class. SOETYPE can be 0 (zero, without SOE), 1 (one, COS or Change of State without timestamp), or 2 (two, SOE or Sequence of Events with timestamp). Class can be 1 (one), 2 (two), or 3 (three). The special cases for the value in the N1 parameter are the following:
•If the N1 parameter is equal to 999, this Tag represent a protocol's On/Off Tag, whose default value is 1 (one). When writing the value 1 (one), it turns off any communication, returning on the writing the value 1 (one)
•If the N2 parameter is less than 0 (zero, special Functions), the N1 parameter is used to identify a connection, ranging between 1 (one) and 5 (five)
The N3 parameter must be informed according to the formula ObjectCode × 100 + Variation. ObjectCode is a type of Object, such as Binary Outputs, and Variation is a sub-type.
The N4 parameter is the address of a variable or number, regardless of being a physical or logical point.
If it is necessary to inform an individual dead band per Tag, users can use the Item parameter, with the following options:
•Percent Dead Band: This parameter must be in the format DB:X%, in which X is a decimal value. For example, the value DB:3% corresponds to 3 (three) percent and the value DB:0,6% corresponds to 0,6 percent. Alternatively, users can also specify a relative dead band, using the format DBR:X%, in which X is a decimal value. Therefore, requests for snapshot values, such as Class 0 (zero), always report an updated value, while events are only generated if the value is above or below the dead band relative to the last reported event
•Absolute Dead Band: This parameter must be in the format DB:XA, in which X is a decimal value. For example, the value DB:3A corresponds to 3 (three) units in the scale of the variable itself. Like the previous option, users can specify a relative dead band, using in the Item parameter the format DBR:XA, in which X is a decimal value
•BitString Dead Band: Users can also specify a special dead band for integer analog Tags that represent a set of bits, such as Word or DWord, in which each bit represents a digital state. To do so, configure the Item parameter in the format DB:BSTR. In this case, if there is a change in any bit of this Tag, an event is generated, regardless of options One Analog Event per Index and Stop Analog if not Connected, allowing that changes in this Tag are not lost, regardless of the configuration of other analog Tags