11.24 Siemens S7-1200 Ethernet

Supported Series: Siemens S7-1200

HMI Setting

Items

Settings

Note

Protocol

Siemens S7-1200

Connection

Ethernet

Port No.

102

PLC station No.

2

Address list

Type

Device register

HMI register

Format

Range

Note

Bit

I

I

M d.o

d:0--9999

o:0-7

Q

Q

Q d.o

d:0--9999

o:0-7

M

M

M d.o

d:0--9999

o:0-7

DB0.DB-DB99.DB

DBxDB

DBxDB nndddd.o

nn:0-9999,

dddd:0-9999,

o:0-7

nn: DB No.

dddd: address value

o: digit address

Word

M

MB

MB d

d:0-99999

M

MW

MW d

d:0-99999

MW0=MB(0~1)

MW2=MB(2~3)

Address value is a multiple of 2

M

MD

MD d

d:0-99999

MD0=MB(0~3)

MD4=MB(4~7)

Address value is a multiple of 4

I

IW

IW d

d:0-99999

Q

QW

QW d

d:0-99999

DB0.DB-DB99.DB

DBxDBB

DBxDBB nndddd

nn: 0-9999

dddd:0-9999

nn: DB No.

dddd: address value

DB0.DB-DB99.DB

DBxDBW

DBxDBW nndddd

nn:0-9999

dddd:0-9999

nn: DB No.

dddd: address value

Address value is a multiple of 2

DB0.DB-DB99.DB

DBxDBD

DBxDBD nndddd

nn:0-9999

dddd:0-9999

nn: DB No.

dddd: address value

Address value is a multiple of 4

Communication settings

11) Enable HMI Ethernet in [Project Settings];

12) Set PLC IP in [Device IP] settings;

Note:

1) The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens.

2) HMI access PLC, use S7 protocol, access PLC TSAP 02.01 (s7-1200 PROFINET interface only supports three connections, the default support), detailed reference to the system manual of S7-1200.

PLC settings

1) Add BD

Please uncheck [Symbolic access only] option;

2) Address settings, using BD2 as example.

DB×DBB2xxxx, DB×DBW2xxxx, DB×DBD2xxxx for accessing data of DB2 in B1.

2 represent DB block number

xxxx represent address

Such as:

DBxDBB20000 = DB2.DBB0

DBxDBW20004 = DB2.DBW4

How to connect with S7-1200 Firmware V4.0

1) PLC configuration

a) Double click [device configuration] in Siemens via software

b) Double click [protection] to enter protection configuration screen

c) Check [Permit access with PUT / GET communication from remote partner (PLC, HMI, OPC, ...)]

2) DB settings

Right click [DB], select [properties]

Uncheck [optimized block access]

Communication cable

Last updated