Communication with PLCs and devices by the Bernecker&Reiner company

Modular distributed I/O system X20 by the B&R automation company ( offers wide spectrum of communication options: Modbus TCP/IP, PROFIBUS, DeviceNet, CanOpen, POWERLINK, EtherNet/IP ...

Communication by Modbus protocol

The Modbus TCP/IP protocol is for example implemented in the X20BC0087 module.
For this communication in the PROMOTIC system can be used: PmModbusMr - Driver for communication by the Modbus Master protocol.
For easy integration of this driver into the application it is handy to use:
For this driver, it is recommended to set the configurators:
- PmCommData > Parameters > Special Parameters > Area base addresses:
- base address "Bo = Coil/output bits" = 0
- base address "Bi = Input bits" = 0
- base address "Ro = Holding/output registers"
= 2048 (=800 hex) for analog outputs
= 9216 (=2400 hex) for digital outputs in the form of status words
- base address "Ri = Input registers"
= 0 for analog inputs
= 8192 (=2000 hex) for digital inputs in the form of status words
- PmCommData > Parameters > Special Parameters > Max.number of variables received in one message:
- max.number "Bo = Coil/output bits" = 1968
- max.number "Bi = Input bits" = 2000
- max.number "Ro = Holding/output registers" = 123
- max.number "Ri = Input registers" = 125

Communication by OPC server

OPC server B&R is included in the software package Automation NET/PVI.

The software Automation NET/PVI can detect whether it is launched and running on a PC manufactured by the B&R company:

- If the software Automation NET/PVI is installed and running on a computer manufactured directly by the B&R company then it does not need any runtime license to work.
- If the software Automation NET/PVI is installed and running on a computer manufactured by another company than B&R then the runtime license is necessary.
The runtime license key can be burchased in the form of USB, LPT or DLL library.
- USB and LPT keys allow running the software Automation NET/PVI on a single PC.
- DLL library allows running the software Automation NET/PVI on unlimited numer of computers. This solution is suitable for large corporations/enterprises with corresponding pricetag of approx. 30 000 EUR.
Withou the runtime license, the software runs for two hours in trial mode. After this period the application stops. The communication can be reactivated (for another two hours) by restarting the PVI Manageru (main PVI component).
OPC server setting:

Basic setup of the server is contained in the INI file named BR.OPC.Server.ini that is located in the installation folder B&R in subfolder PVI/Vx.xx.xx/Bin.

This file contains entries regarding the locations of files with variable definitions (in ConfigPath section) and also the definitions of configuration files to be used by the OPC server (in ConfigFiles section). The OPC server configuration files are in XML format with the extension *.opcs.


Then the PROMOTIC application will communicate as a client by the OPC interface, i.e. by the PmOpcClient object, the PROMOTIC will be connected to the OPC server and thus communicate with the devices.

Using the PROMOTIC OPC client component is bound to purchase of the PmOpcClient license. With the freeware version PmFree, or when developing the application (with development environment for tersting purposes), this component is always functional.

PROMOTIC 8.3.20 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice