ADI line

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

ADI line

The ADI line provides functions for the B&R Automation Device Interface (ADI).

ADI is the interface for B&R devices (see supported industrial PCs). It can be used to e.g. set LEDs of change brightness settings on B&R displays. The functionalities provided by ADI come from the ADI driver, which needs to be installed on your system.

Topics in this section:

ADI process objects

ADI access types

ADI event types

ADI process objects

A line object, a device object, and a variable object are all needed to access an ADI variable.

Process objects in the ADI line:

Name

Type

Connection

Usage

Line object

Line

"LNADI"

ADI line.

Device object

Device

Device parameter

ADI device.

Station object

Station

 

Can be specified, but not required.

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

ADI variable.

Allowed object structure for ADI process objects:

pvilnadiobjectstruktur

ADI 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.

POBJ_ACC_LIST_EXTERN

Line,

Device

Line object: List of all installed ADI devices.

Device object: List of all supported ADI variables.*

POBJ_ACC_DATA

Pvar

 

POBJ_ACC_STATUS

Pvar

 

POBJ_ACC_TYPE_EXTERN

Pvar

 

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

Line,

Device

 

POBJ_ACC_LIST_CPU

Line,

Device

 

POBJ_ACC_LIST_MODULE

Line,

Device

 

POBJ_ACC_LIST_TASK

Line,

Device

 

POBJ_ACC_LIST_PVAR

Line,

Device

Device object: List of all supported ADI variables.*

POBJ_ACC_CPU_INFO

 

Not supported

Access type > 255

 

Not supported

* The list contains the possible variables for a device. Whether or not these variables are actually supported depends on the current hardware configuration. Example: An APC620 may have an AP Link transmitter, which is why the "LinkFpgaVersion" and "LinkType" variables are listed. However, if the device doesn't have an AP Link transmitter, then an error will occur when registering the variables.

ADI 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