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 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.
Usage of the PROMOTIC OPC client component requires 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.