Wireless communication between KingView, touch screen and multiple PLCs in ad hoc network under PN protocol

Publisher:EnchantingEyesLatest update time:2024-02-23 Source: elecfansKeywords:KingView Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

This article takes KingView and Siemens touch screen and two Siemens S7-200SMART as examples to introduce the implementation process of wireless communication between KingView, touch screen and multiple PLCs in a self-organizing network under the Profinet protocol. In this solution, Siemens PLC wireless communication terminal - DTD418M is used as the hardware device to realize wireless communication. We do not need to change the network parameters and the original program, nor do we need to understand the details of the protocol. Through the European and American PLC dedicated wireless communication terminal - DTD418M, we can directly replace the wired Ethernet communication between KingView and PLC, and stably and conveniently realize PLC wireless Ethernet communication.


Wireless network diagram▼

wKgZomU5zMCACvB6AAEZxxGTDN4815.png

Test equipment and parameters:

● Siemens PLC model: S7-200Smart × 2 units

● Host computer: Kingview 6.55 × 1 unit

● Siemens touch screen: SMART 700 IE V3 × 1 unit

● Wireless communication terminal: DTD418MB × 4 pieces

● Master-slave relationship: 2 masters and 2 slaves

● Communication interface: RJ45 interface

● Power supply: 12-24VDC

● Communication protocol: Profinet protocol

Wiring method:

1. Connection between host computer and DTD418M:

Use a communication cable, connect one end to the RJ45 interface of DTD418M, and the other end to the RJ45 interface of the host computer.

wKgaomU5zMCAZbmTAABbW8DZAB090.jpeg

2. Wiring between touch screen and DTD418M:

Use a communication cable, connect one end to the RJ45 interface of DTD418M, and the other end to the RJ45 interface of Siemens touch screen.

wKgaomU5zMGACkAyAABhgim3Whk34.jpeg

3. PLC and DTD418M wiring:

Use a communication cable, connect one end to the RJ45 interface of DTD418M and the other end to the RJ45 interface of S7-200SMART.

wKgZomU5zMGACuMsAABWqvtBC8Q40.jpeg

Configure the KingView TCP driver file:

Search for the kvS7200.ini file, open it with Notepad and make some changes

wKgaomU5zMKAF9LfAABSDMpPmyQ127.png

Kingview configuration:

1. Create a project, enter a name, and click "Yes"

wKgZomU5zMKAaHYdAADTXZ5vvdk622.png

2. Click the device and select S7-200TCP driver

wKgaomU5zMKAESoBAABxcIdJ8bE568.png

3. Enter the logical name

4. Select any serial port or default

5. Set the 200SMART PLC IP address

wKgZomU5zMOASv1xAABW2QiUTUM380.png

6. Default Parameters

Set the KingView screen:

1. Data dictionary - define variables

2. Screen - Create a new screen

wKgaomU5zMOAdPwhAACCalgXFl0871.png

3. Associate variables

wKgZomU5zMSAMBRFAACe_ZUjcQE549.png

Touch screen configuration:

1. Selection of configuration screen

Click "Project" in the menu bar - select "New" - select the touch screen model "Smart 700 IE V3" - device version "3.0.2.0". The version selected here must be consistent with the touch screen version, otherwise the download program will fail. Then click OK.

wKgaomU5zMSAQf6DAABittC2upU396.png

2.Configure touch screen and connect 2 PLCs

3. Variable settings

Set the M0.0-M0.3 of the two PLCs as the variables of the "button" of the touch screen, and set the Q0.0-Q0.3 of the two PLCs as the "indicator light" variables of the touch screen.

wKgZomU5zMWASfiXAABkXNxQupM373.png

4. Create a text list

5. New screen settings

wKgaomU5zMaAVa_4AACOQB6shOA622.png

6. Download the program

Download of PLC program:

1. PLC setting No. ①

PLC sets IP address: 192.168.2.10. The program configuration is that when M0.0-M0.3 is in action, it will correspond to Q0.0-Q0.3 output this state.

wKgZomU5zMaAFCbUAAB5LPMJjbk209.png

2. PLC No. ② settings

PLC IP address setting: 192.168.2.11 Program configuration description: When M0.0-M0.3 is in action, it will correspond to Q0.0-Q0.3 output this state.

Test method:

1. Use the M point button of the KingView/touch screen to control the Q point corresponding to the PLC, and monitor the Q point output on the KingView/touch screen at the same time.

2. Input a signal to point I of the PLC and see whether the KingView/touch screen can detect the signal of the corresponding point.


Keywords:KingView Reference address:Wireless communication between KingView, touch screen and multiple PLCs in ad hoc network under PN protocol

Previous article:What are the hidden factors that affect motor quality?
Next article:How to use the origin return instruction of PLC positioning and servo control system?

Recommended ReadingLatest update time:2024-11-16 09:35

Basic Principles of Industrial Automation PLC
PLC (Programmable Logic Controller) is an electronic device widely used in the field of industrial automation. It can be used to perform various control tasks, such as motion control, data acquisition and monitoring. PLC has high reliability, flexibility and scalability, making it one of the key technologies of mode
[Embedded]
The problem of frequency converter interfering with the communication between PLC and peripheral equipment
With the continuous development of industrial automation technology, frequency converter (Frequency Converter), as an important device for controlling motor speed, is widely used in various industrial fields. However, due to the characteristics of the inverter itself and electromagnetic interference, it w
[Embedded]
Contactor K50 application case for monitoring PLC
The block is used to monitor the contactor K50 of the PLC (acknowledgement of safety device). In addition, the time stamp of the real-time clock of the controller is formed and provided as 6 bytes. The block generates 2 blink cycles (1Hz/Blink_L and 2Hz/Blink_S), presets the global flags for True/False, VKE=0/VKE=1
[Embedded]
Contactor K50 application case for monitoring PLC
Huawei established the PLC-IoT Ecological Alliance and launched contactless payment in cooperation with UnionPay
Today, Huawei and China UnionPay Co., Ltd. held the 2019 PLC-IoT Industry Development Forum and Huawei PLC-IoT Ecological Alliance Establishment Conference in Dongguan. At the conference, the "Huawei PLC-IoT Ecological Alliance" initiated by Huawei was officially established. A total of 43 industry partners from multi
[Mobile phone portable]
Huawei established the PLC-IoT Ecological Alliance and launched contactless payment in cooperation with UnionPay
PLC control cabinet overview PLC control cabinet components
Components of PLC control cabinet 1. Air switch: A general air switch, which is the power control of the entire cabinet. I believe that every cabinet must have this thing. 2. PLC: This should be selected according to the needs of the project. For example, if the project is small, you can directly use an in
[Embedded]
A brief analysis of several communication protocols supported by S7-200 PLC
Before we get started with this question, we should understand a rather confusing issue. The difference between RS485 and MODBUS: RS485 is a physical interface, or simply put, hardware. MODBUS is an international standard communication protocol used for data exchange between devices from different man
[Embedded]
A brief analysis of several communication protocols supported by S7-200 PLC
Four-axis motion control based on PLC
1 Control Task The control system design requirements of the test diagnosis platform are as follows: (1) According to the instructions of the on-site installation personnel, the operator issues the servo electric cylinder action command, and the four servo electric cylinders act independently within the to
[Embedded]
Four-axis motion control based on PLC
Solutions for Mitsubishi FX series PLC communication mode to control inverter
In industrial automation control systems, the most common application is the combination of PLC and inverter, and a variety of PLC control inverter methods have been produced. Among them, the control scheme using RS-485 communication has been widely used: because it has strong anti-interference ability, high transmi
[Embedded]
Solutions for Mitsubishi FX series PLC communication mode to control inverter
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号