Communication with PLCs and devices by the Bernecker&Reiner company
Modular distributed I/O system X20 by the
B&R automation company
(
www.br-automation.com)
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 e.g. implemented in the
X20BC0087 module.
For this communication in the PROMOTIC system can be used:
PmModbusMr - Driver for communication by 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
Communications by another protocols
The communication on the
PROFIBUS,
DeviceNet ..
is accesible for the PROMOTIC application via the OPC interface.
The OPC server by
B&R can be purchased separately or included in the
Automation Studio software package.
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.