This video is major introduce how realize the data forwarding of hmi.
Hello, welcome to the touch screen operation video tutorial, today mainly about the implementation of data forwarding, data forwarding mainly through the following four steps, the first step, the touch screen set up as a master, read the PLC data, the second step, the PLC data transfer to the local address of the touch screen, the third step, the touch screen set up as a slave, the fourth step, the host computer to read the address on the local address of the box. First look at the first step, the touch screen set as the master, click on the project - communication connection, for example, with COM1, click on the connection device, is the touch screen as the master, the manufacturer according to the actual situation to choose, here choose Siemens, type select S7_200, communication settings and PLC to maintain the same, the preset station number is the station number of the PLC, the master station station number is the station of the screen Click OK, the following look at the second step, PLC data transfer to the touch screen local address, you need to achieve through the timed data transfer, find the public window, double-click to open the properties page of the window, click the timed data transfer, click the Add button, select the trigger condition when the window is open, the end condition is to stop when the window is closed, the execution period is 10 * 0.1S, that is, 1 second to execute once, click Data transmission, the direction of transmission is divided into one-way and two-way, one-way is the source address to the target address for transmission, two-way is the target address of the data changes, the target address will also be transmitted to the source address, the data type is divided into word and bit, first select the word, the number of words selected for transmission 10, the type of transmission selected 16-bit integer, the source address is selected PLC address, such as VW0, the target address select the touch screen local address, such as LW0, click OK, and then add a bit address transmission, click the Add button, select the window open when triggered, click on the data transmission, the direction of the transmission select bidirectional, the data type select bit, the number of bits transmitted select 10, the source address select the address of the PLC, such as VB0.0, the target address select the address of the screen, such as is LB0, click OK, the following to see the third step Touch screen as a slave, there are two ways to do slave, the first is RTU server, a TCP server, you can choose according to the need, RTU server add, click on the project, such as COM2, choose to provide services, choose the type of device RTU server, the server station number is also from the station station number, communication settings and touch screen connection device Keep the same, there is an address correspondence, for example, to read LW0 can be read with 3X1 or 4X1, click OK, the second is the TCP server, or click on the project, select services, click on the new network services, select Modbus TCP_Server, the local IP is the IP of the touch screen, you can modify in the HMI settings, you need to pay attention to is the IP of the upper computer to be and local IP in a network segment, the default port number 502, click OK, click HMI settings, you can modify the IP of the screen; then look at the fourth step, the upper computer to read the local address of the box, just now we used the timing data transfer, the VW0 ~ 9 to LW0 ~ 9, then the upper computer to read the VW0 ~ 9 is also used 4X1 ~ 10, the VB0 ~ 9 transfer to the LB0 ~ 9. This concludes the explanation of the function of data forwarding, thank you for watching.
Get in touch
Please provide us with the information below to complete your request. Just leave your email or phone number in the contact form so we can send you a free quote for our wide range of designs!
Copyright © 2023 Wuxi Mochuan Drives Technology Co.,Ltd 无锡默川传动技术有限公司- www.mochuan-drives.com All Rights Reserved.