QuickStart Guide
...
Siemens
Gen 1 Drivers

Siemens S7-Advanced (Gen1)

8min

Review the following information for setting up and configuring the Siemens S7-Advanced (Gen1) driver.

To review a use case for this driver, see Use the Siemens S7 Browse Agent.

Litmus 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 Litmus 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 Litmus 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:

  1. 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.

    Reference image of device
    Reference image of device
    
  2. Launch the Primary Setup Tool.

    Primary Setup Tool icon
    Primary Setup Tool icon
    
  3. Set up the PG/PC Interface using either software or the PC control panel.

    Set PC/PC Interface option
    Set PC/PC Interface option
    
  4. Select the network adapter, making sure the PC and the device are on the same subnet.

    Select the network adapter
    Select the network adapter
    
  5. Browse the Siemens devices on the network, select the device, and then set up the network parameters.

    Network parameters section
    Network parameters section
    
  6. Launch the TIA Portal v14 software and create a project file with the correct device model and version.

    TIA Portal software
    TIA Portal software
    
  7. Click the Accessible devices icon and search for the devices in the same subnet segment.

    Accessible devices dialog box
    Accessible devices dialog box
    
  8. Right-click the device, and select Properties.

    Properties option
    Properties option
    
  9. 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.

    Ethernet addresses section
    Ethernet addresses section
    
  10. Click Protection & Security > Connection mechanisms.

    Connection mechanisms section
    Connection mechanisms section
    
  11. In order to read the data block data, uncheck the Optimized block access option.

    Optimized block access option
    Optimized block access option
    
  12. Select Profinet Interface > Advanced Options > Port and set the Partner port to Any Partner.

    Any Partner option
    Any Partner option
    

Step 2: Set up the PLC Device in Litmus Edge DeviceHub



Parameter

Value

Type

Siemens

Driver

Siemens S7-Advanced (Gen1)

Network Address

The device address you defined in Step 1

Port

102

Slot

1



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



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:

  1. Start Simatic Manager and open the project file.
  2. Right-click the target Data Block, and then select Print > Object Contents.

    Print Object Contents option
    Print Object Contents option
    
  3. Save the contents of the data block as a PDF file.

Export Tags with the TIA Portal

To export tags with the TIA Portal:

  1. Launch the TIA Portal v14 software and open the project file.
  2. Open the Data Block you want to export.
  3. From the toolbar, select Project > Print.

    Print option
    Print option
    
  4. Save the contents of the data block as a PDF file.