0% found this document useful (0 votes)
153 views

Communicate With S7-1200 Via Ehernet

The document provides instructions for configuring a WECON PI Series HMI to communicate with a Siemens S7-1200 PLC via Ethernet. The summary is: 1) Select the Siemens S7-1200 Ethernet protocol in the HMI project. 2) Configure the PLC IP address, port number, and network settings. 3) Access data blocks in the PLC by adding blocks and configuring offsets for addresses.

Uploaded by

Regis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
153 views

Communicate With S7-1200 Via Ehernet

The document provides instructions for configuring a WECON PI Series HMI to communicate with a Siemens S7-1200 PLC via Ethernet. The summary is: 1) Select the Siemens S7-1200 Ethernet protocol in the HMI project. 2) Configure the PLC IP address, port number, and network settings. 3) Access data blocks in the PLC by adding blocks and configuring offsets for addresses.

Uploaded by

Regis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

WECON PI Series HMI

Communicate with
S7-1200 via
Ethernet

WECON Technology Co., Ltd.

Website: http://www.we-con.com.cn/en
Technical Support: liux@we-con.com.cn
Skype: “fcwkkj” or “Jason.chen842”
Phone: 86-591-87868869
QQ Tech Group: 465230233
Technical forum: http://wecon.freeforums.net/
WECON Technology Co., Ltd.
WECON PI Series HMI

1. General
WECON HMI could communicate with devices via Ethernet port, in this document use SIEMENS
S7-1200 series PLC as example.

2. Select protocol
Please select the Siemens S7-1200 Ethernet protocol in HMI project as following figure shows.

3. Communication parameters
 Users can set PLC IP in [TCP/IP parameters];
 The PLC port No,:102 (fixed);
 Network: TCP_Client_2N (fixed);
 Wait Timeout (ms):1500 (fixed);

1 WECON Technology Co., Ltd.


WECON PI Series HMI

4. Remark
1) S7-1200 supports three devices connected at the same time, so the protocol supports three accesses
HMI to PLC.
2) HMI access PLC, using the S7 protocol. The TSAP in PLC is 02.01 (S7-1200 PROFINET interface
only three connections supported by default). Please reference S7-1200 system manual for detailed
information.
3) Access BD data block
 Add BD data block

 As the following figure shows, for DB2, offset is the DB address

2 WECON Technology Co., Ltd.


WECON PI Series HMI

4) Communicate with S7-1200 (firmware version is V4.0 or later)


Now SIEMENS PLC has released new firmware version, it is V4.0, in this version, plc contain
new protect method, so many HMIs can’t communicate with it by old setting. Please view the
following content to change some settings.
 Right-click on the PLC Project, press [Properties].

3 WECON Technology Co., Ltd.


WECON PI Series HMI
 Select [Protection], check [Permit access with PUT / GET communication from remote partner
(PLC, HMI, OPC, ...)], as following figure shows.

5. Register settings
The register setting for SIEMENS S7-1200 in HMI screen as following table shows.
Register HMI
PLC registers Format Range Remark
types registers
MB M MBn 0 – 99,999
MW M MWn 0 – 99,999 MW0=MB0-1,
MW1=MB2-3.
MD M MDn 0 – 99,999 MD0=WB0-3,
MD1=WB4-7
Parts need to be
Word set as double
registers word.
IW I IWn 0 – 99,999
QW Q QWn 0 – 99,999
DBxDBB DB0.BD – DB99.DB DBxDBBnnxxxx 000,000 – 999,999 “nn” means
DBxDBW DB0.BD – DB99.DB DBxDBWnnxxxx 000,000 – 999,999 block number,
DBxDBD DB0.BD – DB99.DB DBxDBDnnxxxx 000,000 – 999,999 “xxxx” means
address.

4 WECON Technology Co., Ltd.


WECON PI Series HMI
I I Mn.x 0.0-99999.7
Q Q Qn.x 0.0-99999.7
M M Mn.x 0.0-99999.7
Bit
DBxDB DB0.DB – DB99.DB BDxDBnnxxxx.y 000000.0 “nn” means
registers
-999999.7 block number,
“xxxx” means
address.

5 WECON Technology Co., Ltd.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy