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 the 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:
For this driver, it is recommended to set the configurators:
- PmaCommGroup > 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
- PmaCommGroup > 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 a part of 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 licence 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 licence is necessary.

The runtime licence 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 licence, 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 settings 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 the ConfigPath section) and also the definitions of configuration files to be used by the OPC server (in the 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.
The usage of the PmaOpcDaClient object requires purchase of the "PmOPC" licence. With the freeware version PmFree, or when developing the application (with development environment for testing purposes), this component is always functional.
PROMOTIC 9.0.17 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