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.
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”
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:
2.2- Select “S7 1200 (ISO TCP) protocol from the SIEMENS list
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”
4- Set the Input and Output parameters of the TCON block. Press F1 when selecting the TCN Block to access online help
5- Inside the properties of the TCON block specify the IP address of the communication partner
6- TIA Portal => PLC Properties
6.1- Select “General” => “Protection” => “Permit access with PUT/GET communication from remote partner”
7- Enter the “Properties” option of the System Data Block previously generated and disable the “Optimized block access” option
Hope this tutorial is helpful to all of you. Good luck !