Design principle of one machine multi screen appli

2022-08-24
  • Detail

Delta DOP series touch screen one machine multi screen application design principle

Abstract: with the development of touch screen technology and the improvement of human machine interface (HMI) function in the production process, the application of human machine interface one machine multi screen is becoming more and more common. This paper explains in detail how delta DOP realizes the function of one machine with multiple screens with clear diagrams and practical engineering development cases

keyword: human machine interface; Macro instruction

1 introduction

now many human-machine interfaces on the market provide a convenient function of connecting two or more HMIS with one controller, that is, the engineering often used to say that one machine multi screen system, such as weinview series of Taiwan Weilun Technology Co., Ltd. and HITEC (HITEC) in Taiwan, can realize one machine multi screen system. Delta's DOP series touch screen has strong man-machine functions, but the screen editor is made of the following components: the recycled cross-linked PE cable crushing software does not provide the integrated application function of one machine with multiple screens. This paper proposes the integrated design technology of DOP touch screen with one machine with multiple screens

2 principle design

one of the characteristics of delta DOP series touch screen is that it provides two communication ports, and the two communication ports can be used independently. One communication port can be used to connect the controller, and the other communication port can be used to connect the second or third touch screen. The following will give the design of one machine multi screen system of DOP series touch screen in combination with engineering cases. All data exchanges between slave and PLC are completed through macros in the host. Each man-machine can run different programs. By analogy, a variant of this form is that it can easily complete the data exchange between multiple human-machine and multiple controllers

2.1 one machine dual screen system design

refer to figure 1. One DOP touch screen is used as the master HMI, and the other several personal computers are used as the slave HMI, which are 2 #, 3 #. COM1 of master HMI is connected with delta eh series PLC through RS232, and com2 of master HMI is connected with each slave HMI through RS485. In this way, the master HMI, as the master station on the two lines, is responsible for exchanging data on the two lines

this example uses two HMIS connected to the same PLC. The system diagram in Figure 1 is shown in Figure 2. The two DOP touch screens are directly connected through MODBUS ASCII

Figure 2 DOP touch screen one machine dual screen system block diagram

2.2 dual screen data synchronous display

function 1: two HMIS display PLC data changes at the same time. DOP has a great feature that it supports macro instruction functions, so these functions must be realized by macros. We first set the register addresses used by PLC in function 1 as D200 and D201. 2. The corresponding address of the slave HMI is set to $109 and $110. According to the corresponding relationship between the Modbus and the internal of table 1dop, we can know that the address of the Modbus corresponding to the zigzag intensity landing track is w40110, and the specific operation steps are w40111. Then use BMOV command in master HMI to transfer D area to $area. Table 1 correspondence between DOP and Modbus

2.3 dual screen data synchronous modification

function 2: when any HMI modifies the value of PLC register, it can change on the other HMI at the same time. Refer to figure 3. To realize the synchronization of master-slave man-machine changing pictures, you need to use [system control area] to help. Set the Modbus address w40100 shared by the master and slave to switch the screen

Figure 3 dual screen data synchronous display

2.4 dual screen synchronous switching

function 3: when one HMI switches the screen, the other HMI will also switch automatically. Refer to figure 4, where green represents the execution in 2#slave HMI; Orange indicates that it is executed in 1 × master HMI

Figure 4 synchronous modification of double screen data

the key to the realization of this function is that both master and slave computers can change the data in PLC. Set the register address in PLC as D100, D101. 2. The corresponding addresses of the slave HMI are w40010 and w40011. Our idea is this: when 1#master HMI completes the numerical input of D100 and D101, a flag bit 1#$101.0 is triggered (1# indicates 1#master, 2# indicates 2#slave HMI). Check $101 in the 1 #background macro. If it is 1, call sub macro 2. In sub macro 2, divide D100 and D101 into 2 w40010 and 2 #w40011 with BMOV instruction, so as to change the data at the same time. At the same time, start the post execution macro of D100 and D101, delay for 200ms first, and then reset $101.0

in the same way, when 2 completes the value input of 2#w40010 and 2#w40011, the flag bit 2#b00001 is triggered. Because the address of baseport or link2 cannot be directly used in the if statement of 1 background macro, it is necessary to get 2 b00001 to $100.0 first, and then check $100 in 1 background macro. If it is 1, call sub macro 1. In sub macro 1, use BMOV instruction to divide 2 w40010, 2 w40011 into D100 and D101, so as to change the data at the same time. At the same time, start the post execution macro of 2 # w40010, 2 #w40011, delay for 200ms first, and then reset 2 #b00001

the diagram of the realization of the three functions is shown in the following figure:

Figure 5 dual screen synchronous switching

3 screen editor software design

system principle design should be realized through screen editor software. Due to space limitations, some basic software operations are not described in this article, and this article only mentions some key points

3.1 1 master HM program design

start the screen editor software, create a new file, and the COM1 of 1 master HMI in the figure above is connected to the DVP PLC as the master station of the PLC. Communication parameter setting with PLC

create a new link2, and use com2 of 1 mask r HMI to connect 2 slave HMI, which is limited by development and manufacturing cost and process, as shown in the figure communication link2

create a new 1-screen_ 1 picture. The attribute setting of D101 is the same as that of D100

create 2-screen_ 1 screen to cooperate with the realization of switching screen

2-screen_ 2 screen

create a background macro

create two sub macros

so far, the program of 1 master HMI has been written

3.2 programming of 2#slave HMI

[set module parameters]

create 2 pictures for 2 # so far, the program of 2#slave HMI is completed. The actual operation of one machine with two screens is shown in Figure 6

Figure 6 actual operation of one machine with two screens

4 conclusion

Delta Electronics, as an internationally renowned supplier of mechanical and electrical products, every product is a masterpiece. The two communication ports of delta man-machine can be used independently and combined with convenient macro instructions to complete many complex communication functions. I hope that with this example, you can find more potential applications

references

[1] delta DOP a series man-machine interface application technical manual (end)

Copyright © 2011 JIN SHI