Siemens MPI
Siemens MPI via the Site Runtime mpi (serial adapter).
| Property | Value |
|---|---|
| Console protocol id | siemens-mpi |
| Site Runtime plugin | mpi |
| Transport | Serial (RS-232/RS-485), some families also over TCP |
| Read | yes |
| Write | yes — through approved writes |
| Subscribe | — |
| Device families | S7-300, S7-400 |
| Default group interval | 1000 ms |
| Maturity | Production: complete driver (connection handling, address forms, batching, read and write) |
Create the device
- Open Connectivity → Devices and click Add device.
- Pick Siemens MPI in the protocol list and make sure the Site Runtime host has the serial port.
- Choose the Site Runtime that can reach the device, fill the connection parameters below and click Create & connect.
- Add a group (poll interval) and tags with the address formats below. See Devices and Groups and tags for the full walk-through.
Connection parameters
Every field the Console shows for this protocol. Required fields must be set before the device can be saved.
| Parameter | Type | Default | Range / options | Required | Description |
|---|---|---|---|---|---|
Connection Timeout (ms)timeout | int | 3000 | 1000 – 30000 | yes | |
Send Interval (ms)interval | int | 20 | 0 – 3000 | yes | |
Target Stationstation | int | 2 | 1 – 255 | yes | |
Serial Devicedevice | string | /dev/ttyUSB0 | max 30 chars | yes | |
Stop Bitsstop | map | 1 | 1, 2 | yes | |
Parityparity | map | odd | none, odd, even, mark, space | yes | |
Baud Ratebaud | map | 38400 | 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200 | yes | |
Data Bitsdata | map | 8 | 5, 6, 7, 8 | yes |
Tag addresses and data types
Supported data types: INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, BIT, STRING. The Console validates each tag address against the pattern for its data type before it is saved:
| Data types | Address pattern (regular expression) |
|---|---|
INT8 UINT8 INT16 UINT16 INT32 UINT32 INT64 UINT64 FLOAT DOUBLE | (^(S|SM|AI|AQ|C|T|IECC|IECT|IECHC|P|I|Q|M|DI)[0-9]+|^DB[0-9]+.DBB[0-9]+)$ |
BIT | (^(S|SM|AI|AQ|C|T|IECC|IECT|IECHC|P|I|Q|M|DI)[0-9]+|^DB[0-9]+.DBB[0-9]+)\.([0-9]|1[0-5])$ |
STRING | (^(S|SM|AI|AQ|C|T|IECC|IECT|IECHC|P|I|Q|M|DI)[0-9]+|^DB[0-9]+.DBB[0-9]+)\.[0-9]+$ |