Siemens S7-1200

Estimated reading time: 4 minutes

Refer to these sections for details:

Supported Series

Siemens S7-1200 series Ethernet.

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

PLC Connection Settings

Parameters Recommended Options Notes
PLC Type Siemens S7-1200 symbolic addressing (Ethernet)
PLC Interface Ethernet

Port # 102

PLC Station # 2

Rack 0

CPU Slot 1

PLC Configuration

The steps shown here are for the Siemens S7-1200 Ethernet series.

OT Link Platform DeviceHub Configuration

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

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

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

Supported Device Types

S7-1200 Data Type

Data Format

Description

Bool

bit

Byte

16-bit BCD, Hex, Binary, Unsigned

8-bit

SInt

16-bit BCD, Hex, Binary, Signed

8-bit

USInt

16-bit BCD, Hex, Binary, Unsigned

8-bit

Word

16-bit BCD, Hex, Binary, Unsigned

16-bit

Int

16-bit BCD, Hex, Binary, Signed

16-bit

UInt

16-bit BCD, Hex, Binary, Unsigned

16-bit

DWord

32-bit BCD, Hex, Binary, Unsigned

32-bit

DInt

32-bit BCD, Hex, Binary, Signed

32-bit

Real

32-bit Float

32-bit

UDInt

32-bit BCD, Hex, Binary, Unsigned

32-bit

Char

16-bit BCD, Hex, Binary, Unsigned

USInt

CREF

Struct

Date

16-bit BCD, Hex, Binary, Unsigned

UInt

DTL

ErrorStruct

IEC_COUNTER

IEC_DCOUNTER

IEC_SCOUNTER

IEC_TIMER

IEC_UCOUNTER

IEC_UDCOUNTER

IEC_USCOUNTER

NREF

Time

32-bit BCD, Hex, Binary, Unsigned

DWord

Time_Of_Day

32-bit BCD, Hex, Binary, Unsigned

DWord

Array

 

Bool, Byte, SINT, USInt, Word, Int, UInt, DWord, Dint, Real, UDInt

Struct

 

Bool, Byte, SINT, USInt, Word, Int, UInt, DWord, Dint, Real, UDInt

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