Many users have faced the challenge to connect our DOP series HMI and Siemens S7-1200 PLC. This tutorial is intended to help all who may have little knowledge either Delta HMI or Siemens PLC in order to make this communication easy to set.

HMI-S71200

By following the below steps, you will find an easy way to connect both devices using Ethernet as a communication media:

Settings on Delta HMI side

1- In DOPSoft menu bar, go to “Options” => “Communication Setting”

Picture 1

2- Click on the Ethernet port and set the following parameters on the “Device” tab

2.1- Create a new connection by means of the “+” button:

Picture 4

Picture 2

2.2- Select “S7 1200 (ISO TCP) protocol from the SIEMENS list

Picture 3

Settings on Siemens S7-1200 PLC side using TIA Portal

1- Inside the PLC program, the “TCON” system function block (SFB) has to be inserted in order to establish the communication with Delta HMI

2- Open the Main Operation Block “OB1” and insert the “TCON” SFB as follows

3- In “Instructions” -> “Extended instructions” -> “Communications” -> “Open user communication”, open the “Others” folder and drag the “TCON” block to the operation block. This automatically generates an instance data block for the “TCON” function that you have to confirm with “OK”

Picture 54- Set the Input and Output parameters of the TCON block. Press F1 when selecting the TCN Block to access online help

Picture 6

5- Inside the properties of the TCON block specify the IP address of the communication partner

Picture 7

6- TIA Portal => PLC Properties

6.1- Select “General” => “Protection” => “Permit access with PUT/GET communication from remote partner”

Picture 8Picture 9

7- Enter the “Properties” option of the System Data Block previously generated and disable the “Optimized block access” option

Picture 10

Picture 11

Hope this tutorial is helpful to all of you. Good luck !