SNMP line

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

SNMP line

The SNMP line maps SNMP (Simple Network Management Protocol) variables from an SG4 PLC to PVI variable objects.

The SNMP line is intended mainly for commissioning a new PLC via the Ethernet interface. SNMP variables can be used to make or call up settings such as host name, IP address, node number, etc..

The following topics are covered in this section:

SNMP process objects

SNMP access types

SNMP event types

SNMP process objects

A line object, a device object, and a variable object are all needed to access a global SNMP variable. Local SNMP variables also require a station object.

Process objects of the ADI line:

Name

Type

Connection

Usage

Line object

Line

"LNSNMP"

SNMP line.

Device object

Device

"SNMP"

SNMP device.

Station object

Station

MAC address

Specifies a particular PLC.

CPU object

CPU

 

Can be specified, but not required.

Module object

Modules

 

Can be specified, but not required.

Task object

Task

 

Can be specified, but not required.

Variable object

Pvar

Variable name

SNMP variable.

Allowed object structure for SNMP process objects:

pvilnsnmpobjectstructure

SNMP access types

The following table shows an overview of all access types which are regulated via a line. All access types not listed here as well as access types to the PVI base object are executed by PVI Manager and therefore work independently of the line being used. The corresponding process object type is listed in the "Type" column.

Access types

Type

Special features

POBJ_ACC_VERSION

Line

Line object: Version of the line DLL.

Device object: Version of the B&R SNMP DLL.

POBJ_ACC_LIST_EXTERN

Line,

Device,

Station

Line object: SNMP device.

Device object: List of all PLC MAC addresses that can be identified on the network, as well as all global SNMP variables.

Station Object: List of local SNMP variables *)

POBJ_ACC_DATA

Pvar

Read/write data from an SNMP variable.

POBJ_ACC_STATUS

Pvar

Not supported

POBJ_ACC_TYPE_EXTERN

Pvar

Data format of an SNMP variable (as defined by the line).

POBJ_ACC_UPLOAD

 

Not supported

POBJ_ACC_DOWNLOAD

 

Not supported

POBJ_ACC_DATE_TIME

 

Not supported

POBJ_ACC_MEM_DELETE

 

Not supported

POBJ_ACC_MEM_INFO

 

Not supported

POBJ_ACC_MOD_TYPE

 

Not supported

POBJ_ACC_UPLOAD_STM

 

Not supported

POBJ_ACC_DOWNLOAD_STM

 

Not supported

POBJ_ACC_MOD_DATA

 

Not supported

POBJ_ACC_MOD_DELETE

 

Not supported

POBJ_ACC_LIST_STATION

Device

Device object: List of all PLC MAC addresses that can be identified on the network.

POBJ_ACC_LIST_CPU

 

Not supported

POBJ_ACC_LIST_MODULE

 

Not supported

POBJ_ACC_LIST_TASK

 

Not supported

POBJ_ACC_LIST_PVAR

Device,

Station

Device object: List of global SNMP variables.

Station Object: List of local SNMP variables *)

POBJ_ACC_CPU_INFO

 

Not supported

Access type > 255

 

Not supported

*) The list contains the possible variables for a PLC. Whether or not these variables are actually supported depends on the addressed PLC.

SNMP event types

The following table shows an overview of all event types which can be generated from a line. All event types which are not listed are generated by PVI Manager and therefore work independently of the line being used.

Event types

Special features

POBJ_EVENT_STATUS

Not supported

POBJ_EVENT_PROCEEDING

Not supported

Event type > 255

Not supported