How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen
Search WeChat
How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen
Technical Training

Many students learning about Weintek touch screen communication skills generally know how to communicate with PLCs, such as M area addresses, V area addresses, and Q area addresses, which are quite simple. Especially for DB block addresses like S7-1200, we often don’t know where to start. So how do we associate them? Let’s take a simple approach to achieve this.

1. Write PLC Program

Step 1: (Create DB Block and Write Address)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 2: (Create Variable Table Address)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 3: (Write Forward and Reverse Interlock Program in OB1 Main Program)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 4: (Double-click CPU Properties – Protection – Connection Mechanism – Check Allow Communication Access from Partners (PLC, HM, OPC, etc.) using PUT/GET)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 5: (Download Program to PLC and Monitor)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

1. Weintek Touch Screen Configuration

Step 1: (System Parameter Settings)

Device Type – Siemens S7-1200/S7-1500 (Absolute Addressing) (Ethernet)

Interface Type: Ethernet

IP Address: Enter 1200 PLC IP Address (192.168.0.144)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 2: (Click to Get Tag Information – Select All and Click Confirm)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

1. Design Weintek Touch Screen Interface

Step 1: (Associate Button DB Addresses)

Forward Start Address S7-1200 PLC: %DB1.DBX0.0 corresponds to Weintek Touch Screen: DB1Bit0 Reverse Start Address S7-1200 PLC: %DB1.DBX0.1 corresponds to Weintek Touch Screen: DB1Bit1

Stop Address S7-1200 PLC: %DB1.DBX0.2 corresponds to Weintek Touch Screen: DB1Bit2

Forward Start Button Parameters are as follows:

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Reverse Start Button Parameters are as follows:

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Stop Button Parameters are as follows:

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 2: (Associate Indicator Light Addresses)

Forward Running Indicator Light Parameters are as follows:

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Reverse Running Indicator Light Parameters are as follows:

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

  1. Design Weintek Interface

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

1. Operation Demonstration

Step 1: (Forward Start Operation)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 2: (Reverse Start Operation)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 3: (Stop Operation)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Demonstration and communication successful. At this point, everything has been completed. Some students may encounter problems in the above steps, so I will list common issues for reference:

Common Problems and Solutions:

Problem 1: If the online automatic tag retrieval fails or cannot retrieve, how to solve it?

Answer: You can choose to manually import tags, the method is as follows:

Step 1: (Click the export button in the upper left corner of the variable table to export variables)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 2: (Select the location and name for variable export)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 3: (Variable export successful)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 4: (System Parameter Configuration)

Device Type – Siemens S7-1200/S7-1500 (Absolute Addressing) (Ethernet)

Interface Type: Ethernet

IP Address: Enter 1200 PLC IP Address (192.168.0.246)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 5: (Click Import Tags)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 6: (Import Tag Selection – Import Files (d;*db) Linear)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 7: (PLC Tags – Location of PLC Export Variable Table)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 8: (Select All – Click Confirm)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 9: (Tag Import Successful)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Problem 2: If there is no address or no DB offset address when creating DB block in PLC, how to solve it?

Answer: Cancel block optimization access and recompile, the method is as follows:

Step 1: (Select DB Data Block – Right-click Properties)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Step 2: (DB Block – Right-click Properties – Cancel Optimized Block Access)

How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Source: Technical Training Network, Author: Xu Chenshuang, Reproduction without permission is prohibited~

Scan to Get Materials
How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen
Scan the QR code above
Get the full set of Siemens materials for free
HISTORY
/
Previous Recommendations

Complete Question Bank for Junior Electrician Examination 2023 (Including Answers)

Three Must-Have Tools for Electricians, Open with WeChat!

[Collection] The “Path” of a Ten-Year Veteran Electrician, Secrets to Earning Over Ten Thousand a Month!

Which of the Five Major Electrical Drawing Software (CAD, Eplan, CADe_simu…) do you pick?

Latest Electrical CAD Drawing Software, with Detailed Installation Tutorial!

Latest Electrical Drawing Software EPLAN, with Detailed Installation Tutorial!

Common Issues with S7-200 SMART Programming Software for Beginners (Includes Download Link)

Comprehensive Electrical Calculation EXCEL Sheets, Automatically Generated! No Need for Help with Electrical Calculations!

Bluetooth Headphones, Books for Electricians/PLC Beginners Given Away? Come Get Your Electrical Gifts!

Basic Skills in PLC Programming: Ladder Diagrams and Control Circuits (Includes 1164 Practical Cases for Mitsubishi PLC)

Still Can’t Understand Electrical Diagrams? Take the Basics of Electrical Diagram Recognition and Simulation Software for a Quick Start!

12 Free Electrician Video Courses, 10GB Software/E-Book Materials, and 30 Days of Free Electrician Live Courses!

Don’t forget to like and follow!
How to Easily Communicate Between S7-1200 PLC and Weintek Touch Screen

Leave a Comment