FS-8704-09 SNMP Driver Manual

Page 21 of 39

Non-COV Traps

The FieldServer can be configured to send a trap periodically or when a data is updated. A data update occurs when one protocol reads data from a remote device and the data is stored in a Data Array regardless of whether the data has changed or not. Each Trap Map Descriptor must specify the destination of the Trap by configuring a Remote_Client_Node_Descriptor, as shown in the example below. The OID to which the data value is to be bound in the Trap message is specified in the Map Descriptor.

First, the Trap destination Node is set up as follows:

Remote_Client_Node_Descriptors

 

 

 

Node_Name,

Node_ID,

Protocol,

Adapter,

IP_Address

NM_1,

1,

SNMP,

N1,

192.168.1.174

 

 

 

 

 

The Trap Map Descriptors are then configured as below:

Map_Descriptors

 

 

 

 

 

 

 

 

Map_Descriptor_Name,

Data_Array_Name, Data_Array_Offset,

Function,

Node_Name, SNMP_OID,

SNMP_Write_as_Trap,

Data_Type,

Length

PSU_Voltage_Alarm,

DA_AI3,

0,

Wrbx,

NM_1,

1.3.6.1.4.1.6347.1.1.0.0,

Yes,

Integer,

1

Wrbx to write on update.

Use Wrbc and add a Scan_Interval to have the trap send periodically.

This is what tells the driver that this is not a normal write and that the message should be sent as a trap.

Integer value or ASCII strings may be sent. If sending an ASCII string keep the length as one but note that the driver starts at the specified location and proceeds element by element of the Data Array building the string until it finds a zero which it regards as the marker for the end of string. If using Wrbx as the function the message is only sent when the 1st element is updated.

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com Tel: (408) 262 2299 Fax: (408) 262 9042 Toll Free: (888) 509 1970 email: support@fieldserver.com

Page 21
Image 21
FieldServer FS-8704-09 SNMP instruction manual Trap Map Descriptors are then configured as below