---
title: Siemens S7 CommPlus Symbolic Driver
slug: manufacturing-connect-edge/siemens-s7-commplus-symbolic-driver
docTags: 
createdAt: 2023-12-20T14:50:45.654Z
---

Review the following information for setting up and configuring the Siemens S7 CommPlus Symbolic driver.&#x20;

# Manufacturing Connect Edge Compatible Series&#x20;

| Compatibility parameter      | Compatible items                                                                                                                                                                                                                                                                                                                                                                                                            |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Driver type**              | Ethernet                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Validated devices/series** | [S7-1200 v2.2](https://support.industry.siemens.com/cs/document/57027057/delivery-release-simatic-s7-1200-firmware-version-2-2)[&#xA;&#xA;](https://new.siemens.com/global/en/products/automation/systems/industrial/plc/simatic-s7-1500.html)When configuring tags for this driver, you must enter the case-sensitive register name exactly as it is defined in the PLC. See the *Free Tags* section below to learn more.  |

To set up and configure this device in Manufacturing Connect Edge, you will need to do the following:

- Step 1: Set up and Configure the PLC Device
- Step 2: Set up the PLC Device in Manufacturing Connect Edge DeviceHub
- Step 3: Configure the List of Registers

# Step 1: Set up and Configure the PLC Device

If the device is configured for Ethernet access, find its network parameters. Otherwise, use PLC software on your computer to configure your device for Ethernet access.

# Step 2: Set up the PLC Device in Manufacturing Connect Edge DeviceHub

Configure the following parameters when you [Connect a Device](docId\:RFVIJdxz7DBAd8mwbismA) with this driver. Update default values to the specific setup of your device.&#x20;

:::hint{type="warning"}
**Important**: The following settings are currently supported.

- **PLC Type***:* Only **S7-1200** is currently supported.&#x20;
- **Firmware Version**: **v2.x** and **v3.x** are currently supported.&#x20;
:::

| Parameter                              | Value                                        |
| -------------------------------------- | -------------------------------------------- |
| **Type**                               | Siemens                                      |
| **Driver**                             | Siemens S7Comm Plus                          |
| **Network Address**                    | The device address you defined during Step 1 |
| **Network Port**                       | 102                                          |
| **PLC Type**                           | Select **S7-1200**                           |
| **Firmware Version**                   | Select **v2.x** or **v3.x**                  |
| **Read Timeout (ms)**                  | 1000                                         |
| **Retry Count**<br />**Read Retries**  | 0                                            |
| **Keep Alive**<br />**TCP Keep-Alive** | 60                                           |

# Step 3: Configure the List of Registers

When you [Add Tags](docId:8sE7z3PmRfwL1nmzcwaLX) to the connected device, refer to the following tag parameters and available value types.

You can also [Search for Pre-defined Device Tags](docId\:W1Est_A3MIDOUIZrkSgvi) for this device.&#x20;

Refer to the following additional resources:

- [Organize Device and Tag Data by Using Metadata](docId:583P-fbuozem6wHgRdGkQ)
- [Tag Formula Variables](docId\:iFBwcou90qTFODK_hRYSR)

## Free Tags

This driver doesn't have a list of available register names in the DeviceHub *Add Tag* form.

To add tags, you must enter the register name exactly as it is defined in the PLC.



## Available Value Types

:::hint{type="info"}
**Note**: The following data types are available for Manufacturing Connect Edge version 3.11.4 and later.&#x20;

- dt
- dtl
- wchar
:::

- `bool`&#x20;
- `byte`&#x20;
- `word`&#x20;
- `dword`&#x20;
- `lword`&#x20;
- `usint`&#x20;
- `uint`&#x20;
- `udint`&#x20;
- `ulint`&#x20;
- `sint`&#x20;
- `int`&#x20;
- `dint`
- `lint`
- `real`
- `lreal`
- `s5time`
- `dt`
- `dtl`
- `time`
- &#x20;`ltime`
- `tod`
- `ltod`
- `ldt`
- `date`
- `char`
- `wchar`
- `string`
- `wstring`
- `bool[]`
- `byte[]`
- `word[]`
- `dword[]`
- `lword[]`
- `usint[]`
- `uint[]`
- `udint[]`
- `ulint[]`
- `sint[]`
- `int[]`
- `dint[]`
- `lint[]`
- `real[]`
- `lreal[]`
- `s5time[]`
- `time[]`
- `ltime[]`
- `tod[]`
- `ltod[]`
- `ldt[]`
- `date[]`

## Tag Parameters

- **Name**: Enter the case-sensitive register name exactly as it is defined in the PLC.&#x20;
- **Value Type**: Select a data type from the drop-down list.&#x20;
- **Polling Interval**: Enter a value in seconds. This determines how often the tag should poll the register for data.
- **Tag Name**: Enter a name for the tag.
- **Description** (Optional): Enter a description for the tag. &#x20;
- **Tag Formula**: Enter a formula for the tag to process the generated data. Two variables are permitted: `value` (current tag value) and `timestamp` (current tag UNIX time in milliseconds). The following math functions are available:
  - sin
  - cos
  - sqrt
  - tan
  - power: power(`x`) performs the operation `10^x`.
  - log: log(`x`) is the natural logarithm (the logarithm is in base `e`).&#x20;
  - exp: exp(`x`) performs the operation `e^x`.
- **Only Publish on Change of Value**: Select the checkbox to only publish NATS messages when the *value&#x20;*&#x70;arameter changes to a new value. *Change of Value* only applies to boolean, numeric (such as int or float), and simple string data types. It does not apply to complex types, such as JSON or array. Poll-once topics will not be affected by *Change of Value* settings. These topics will still only see a single message.&#x20;
- **Meta Data**: Metadata summarizes basic information about data. This feature allows you to define key-value pair data for the device output payload later on. Metadata can then be used to find, use, and reuse particular instances of data.&#x20;

:::hint{type="info"}
**Note**: If you use special characters in meta data key names, the special characters are replaced with underscore characters in the payload. This can cause two key names to be combined into one. For example, configuring the key names a\*\*b and a&\&b will cause only one key name to be created (a\_\_b).&#x20;
:::

