Driver dialog PVI browser

Previous chapterNext chapter Show allShow all    Hide allHide all

Structure

The numbering of PARENT, NAME and TYPE is ascending and without gaps. If entries are no longer used, the name has to be changed to e.g. reserve.

Variables created in zenon refer to the numbers of the variables created here, so deleting or re-numbering of variables here would result in incorrect online values.

The use of arrays and structures is recommended for better performance.

The variable names have to be entered according to the B&R RPS configuration.

Right-click on PVI to add a "Line".

Freely definable name - according to B&R

Right-click on LINIE_1 to add a "Device".

Com

The definition of the COM interface is done in the file *.BUR.

Sampe string for port description:
CD_1=/IF=com1 /BD=57600 /PA=2

Parameters

Description

CD

Port name

/IF

Device name „com1"….."com4"

/BD

Baudrate 9600 / 19200 / 38400 / 57600 / 115200

/PA

Parity 2=EVENPARITY (1-7)

For the parameters to be set here please refer to the B&R documentation

Freely definable name - name of the higher-level line - according to B&R

Right-click on DEVICE_1 to add a "Station".

Freely definable name - name of the higher-level device - according to B&R

Right-click on STATION_1 to add a "CPU".

Freely definable name - name of the higher-level station

Right-click on CPU_1 to add a "Task".

Freely definable name - name of the higher-level CPU - according to B&R

Use the buttons New and Properties to create and edit each of the PVI items.

This is done in the below dialog. Additionally the variables created in the PLC can be read directly as described below.

With the button "Browse" the list window PLC Addressspace is filled with the data from the PLC. In order to create single PVI items they can be imported by doubleclicking them.

Ethernet

Structure of the Ethernet configuration

Communication via INA2000

Use the following settings for Ethernet communication:

You must use a unique station address for every computer.

Name of the task on the PLC, from which you want to request variables. (User defined)

special case of identical PLC hardware and software:

If you want to access two (identical) PLCs, you will have to add another 'device' (DEVICE_"). The PLC must be configured in one line, so the PVI will be able to identify them correctly.

Adjust the connection parameters accordingly.

Special case of a remote PVI:

The PVI does not have to run on the local PC. It can also run on a remote PC in the network.

This requires the following settings:

PVI Monitor:

Check "Use TCP/IP communication" in the manager properties of the PVI monitor. You can choose any port. The standard port is 20000

After starting the PVI manager, you will see the entry "TCP/IP communication (port: 20000)" in the output window.

Configuration file of the B&R driver:

Add another entry to the configuration file *.BUR (Access via 'Files'/'Drivers' in the project tree of the Editor).

Add the following String in the section [INIT] :

PARAM=IP=IP address PN=20000

For "IP address", enter the IP address of the computer which runs the PVI manager. For PN, enter the port that the PVI manager uses. The standard port is 20000.