Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Interface for SNMP

Location2

  • Last UpdatedFeb 13, 2023
  • 2 minute read

The Location2 attribute specifies whether a point is an input point, which records SNMP data from a device to the PI Data Archive, or an output point, which writes data from the PI Data Archive to the device. Input and output points must be configured in separate instances of the interface as explained below.

Caution: When outputs are required, securing the output point using a whitelist provides the best defense against accidental or malicious changes to the data source. For information about securing output points using a whitelist file, see the PI Universal Interface (UniInt) User Guide.

Input points

Input points must be configured in a separate instance of the interface from output points. OSIsoft strongly recommends using the read only version of the interface for input points.

If the value of Location2 is 1, then the input point is treated as a range as discussed in the Basics of SNMP topic. If the value of Location2 is 0 or any other positive integer then the input point is a regular input point.

Output points

Output points must be configured in a separate instance of the interface, using the read/write version of the interface.

If the value of Location2 is between -1 and -4 and the command line parameter -out is present then the interface enables output support. Output points must be of integer or string type.

Note: All other negative values of Location2 are rejected by the interface, and no output will occur.

The values of Location2 determine how the interface interprets the output type:

Location2 value

Output type

-1

The interface decides the output type.

-2

The interface sets the output type to integer.

-3

The interface sets the output type to string.

-4

The interface sets the output type to IPAddress.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in