Siemens S7-Advanced (Gen1.3)
Review the following information for setting up and configuring the Siemens S7-Advanced (Gen1.3) driver.
Manufacturing Connect Edge Compatible Series
Compatibility parameter | Compatible items |
|---|---|
Driver type | Ethernet |
Validated devices/series | |
Replaced with Gen 2 driver | Siemens S7 |
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, follow the steps below.
To configure your device:
- Note down the following information and refer to it when needed. Device: Siemens S7 CPU1212C AC/DC/RLY Communication I/F: Profitnet. Refer to the following figure.

- Launch the Primary Setup Tool.

- Set up the PG/PC Interface using either software or the PC control panel.

- Select the network adapter, making sure the PC and the device are on the same subnet.

- Browse the Siemens devices on the network, select the device, and then set up the network parameters.

- Launch the TIA Portal v14 software and create a project file with the correct device model and version.

- Click the Accessible devices icon and search for the devices in the same subnet segment.

- Right-click the device, and select Properties.

- Set up the network parameters. The following settings are applicable for Siemens S7-1200 and Siemens S7-1500 only. The changes must be made when the TIA Portal is offline, and then downloaded to the PLC.

- Click Protection & Security > Connection mechanisms.

- In order to read the data block data, uncheck the Optimized block access option.

- Select Profinet Interface > Advanced Options > Port and set the Partner port to Any Partner.

Step 2: Set up the PLC Device in Manufacturing Connect Edge DeviceHub
Configure the following parameters when you Connect a Device with this driver. Update default values to the specific set up of your device.
Parameter | Value |
|---|---|
Type | Siemens |
Driver | Siemens S7-Advanced (Gen1.3) |
Network Address | The device address you defined in Step 1 |
Port | 102 |
Slot | 1 |
Step 3: Configure the List of Registers
When you Add Tags to the connected device, refer to the following register table and tag parameters.
Refer to the following additional resources:
Register Table
Name | Value Type | Address Format | Min Address | Max Address |
|---|---|---|---|---|
I | bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string | DDDDd | 0 | 40957 |
Q | bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string | DDDDd | 0 | 40957 |
M | bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string | DDDDd | 0 | 40957 |
PE | bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string | DDDDd | 0 | 40957 |
PA | bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string | DDDDd | 0 | 40957 |
MK | bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string | DDDDd | 0 | 40957 |
DB | bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string | DDDDDd | 0 | 327677 |
Tag Parameters
- Name: Select a register name from the drop-down list. The available options depend on the names in the register table.
- Value Type: Select a data type from the drop-down list. The available options depend on the register name selected.
- 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.
- Address: Enter a tag address. The value must in the decimal format, within the allowed min/max range. Omit the leading zeros. The device might use the decimal (D), hexadecimal (H), or octal (O) address format. See the Register Table at the bottom of the dialog box. For Bit tags, append the bit address without the bit separator. The lowercase letters in the address format indicate how many digits you should enter in the Bit address.
- DB Number: Enter the data block number of the tag.
- Polling Group: Enter the polling group.
- Count: Enter the number of register values to read. A count higher than 1 will generate an array of values from the address value configured and respective subsequent address values.
- 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).
- exp: exp(x) performs the operation e^x.
- Only Publish on Change of Value: Select the checkbox to customize NATS messages to be published only when the value parameter changes from a previous value to a new one. 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.
- 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. It can then be used to find, use, and reuse particular instances of data.
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).
Export Tags as PDF
You have the option of exporting tags as a PDF file.
Export Tags with Simatic Manager
To export tags with Simatic Manager:
- Start Simatic Manager and open the project file.
- Right-click the target Data Block, and then select Print > Object Contents.

- Save the contents of the data block as a PDF file.
Export Tags with the TIA Portal
To export tags with the TIA Portal:
- Launch the TIA Portal v14 software and open the project file.
- Open the Data Block you want to export.
- From the toolbar, select Project > Print.

- Save the contents of the data block as a PDF file.