Siemens S7-400

Estimated reading time: 7 minutes

Refer to these sections for details:

Supported Series

Siemens S7-400 series.

Websitehttp://www.siemens.com/entry/cc/en/

PLC Connection Settings

Parameters Recommended Options Notes
PLC Type Siemens S7-400 (Ethernet)
PLC Interface Ethernet

Port # 102

Link Type PG PG, OP
Rack 0 0 - 7
CPU Slot 3 1 - 31 Slot 1 required if connecting with S7-1200
PLC Station # 0 0 - 31

PLC Configuration

The instructions listed here provide only the basic configuration steps. Refer to the Siemens PLC documentation for current, complete details.

  1. ** > New > Model**.
  2. In System Parameter Settings, select Siemens S7-400 (Ethernet).
  3. In Settings, set S7-400, Port Number, Link Type, Rack, and CPU slot.

Import Tags

Use the Siemens Step 7 program to build files of user-defined tags (.dif and .AWL files). Then, import these files in CSV.

  1. In Siemens Step 7, select Symbols and create a user-defined tag.
  2. Click Export and then Save to export the edited file.
  3. Select Blocks and create the following items.

  4. Open LAD, STL, FBD - Programming S7 Blocks and then select File > Generate Source.
  5. Select Sources for the storage path, enter a file name, and click OK.
  6. Select the objects to be exported and click OK.
  7. In Sources, select Export Source.
    This builds the .AWL file.

OT Link Platform DeviceHub Configuration

To configure DeviceHub for this Siemens S7-400 Ethernet PLC:

  1. DeviceHub > Add Device
    Type: Siemens
    Driver: Siemens S7-400

  2. Enter details specific to your environment and click Add Device.

Device Addresses

Bit/Word

DeviceType

Format

Range

Description

B

PE

DDDD

0 ~ 40950


W PE DDDD 0 ~ 4095
B PA DDDDd 0 ~ 40950
W PA DDDD 0 ~ 4095
B MK DDDDd 0 ~ 40950
W MK DDDD 0 ~ 4095
B DB DDDDDd 0 ~ 327670
W DB DDDDD 0 ~ 32767

Siemens S7 Protocol Compatibility

The Siemens S7 drivers are similar for S7-300, S7-400, S7-1200, and S7-1500.  The following table lists partial compatibility. Refer to the Siemens documentation for a definitive list.


CPU CP Drive

300 400 WinAC Snap7S 1200 1500 343/443/IE SINAMICS
DB Read/Write (blue star) (blue star) (blue star) (blue star) (blue star) (blue star)
(blue star)
EB Read/Write (blue star) (blue star) (blue star) (blue star) (blue star) (blue star)
(blue star)
AB Read/Write (blue star) (blue star) (blue star) (blue star) (blue star) (blue star)
(blue star)
MK Read/Write (blue star) (blue star) (blue star) (blue star) (blue star) (blue star)

TM Read/Write (blue star) (blue star) (blue star) (blue star)



CT Read/Write (blue star) (blue star) (blue star) (blue star)



Read SZL (blue star) (blue star) (blue star) (blue star) (blue star) (blue star) (blue star) (blue star)
Multi Read/Write (blue star) (blue star) (blue star) (blue star) (blue star) (blue star)
(blue star)
Directory (blue star) (blue star) (blue star) (blue star)

(blue star)
Date and Time (blue star) (blue star) (blue star) (blue star)


(blue star)
Control Run/Stop (blue star) (blue star) (blue star) (blue star)


(blue star)
Security (blue star) (blue star) (blue star) (blue star)



Block Upload/Down/Delete (blue star) (blue star) (blue star)


(blue star) (blue star)