Mochuan Drives - Professional design, manufacturer HMI Touch Screen Panel & PLC Controller, provide industry solutions and system integration since 2009.

  • Professional design, manufacturer HMI Touch Screen Panel & PLC Controller, provide industry solutions and system integration since 2009.


Moving elements

Hello and welcome to the touch screen operation video tutorial, we will talk about the use of moving elements. In the menu bar, click on the component, select move component, open the property page, there are x-direction move and y-direction move, assume the x-direction move, the address is RW0, the data type is 16-bit unsigned number, on the screen you can see that the upper and lower limits of the move range has been set, there is a default value, this is its default maximum and minimum value, the minimum default value is 0, the upper limit of coordinates is 799. The upper limit here is the resolution of the touch screen, the size cannot exceed the resolution of the touch screen. We set the touch screen model here is (to record the screen is subject to the local HMI in the project to view,), its resolution is (in the HMI settings to view), so that the upper limit of the X is 799, the same y-axis is the upper limit of 479, the y-axis address is set to RW10, the point to note here is that you can only move along the x-direction, you can only move along the y-axis direction, you can also If the proportional movement is checked, the input limit is assumed to be 100, so when we set RW0 to 100, the corresponding coordinate is 799, and when we set it to 50, it is half of 799, which is proportional to the change, if the inverse proportion is checked, the proportion is still the same, but the direction of movement becomes the opposite direction. The direction of movement becomes the opposite direction, assuming that the normal direction is to move the x-axis to the right, after the inverse proportion is to move to the left, similarly, the proportional movement of the y-axis is the same, we also set it to 0~100, then the inverse proportion is the same as the x-axis, and then look at the indicator, which can check a bit address or word address to show the change of moving components in different states. You can use labels to show the different states, you can also use graphics to show the state, suppose we are here is when the LB0 is OFF display red, for ON display green, display settings to select the conditions of the display, user level, user rights or logic control to control its conditions, display to meet the conditions, mobile components will be displayed, do not meet the conditions when not displayed, we can look at the current mobile components. We can look at it, now the xy of the mobile element its coordinates are 00, is the coordinates of the upper right corner of this picture, click OK, then add a x-axis mobile address x0 and y-axis mobile address y10, in adding a switch element LB0 to change the state of the mobile element, set up after the offline simulation to see, assuming that the ratio of x-axis mobile is 50, y-axis mobile ratio is 50, then the element is in the middle of the touch screen. Then the component is in the middle of the touch screen, you can change the ratio value, the component position will also change, and also can change the value of LB0, set to 1 when the component shows green. That's it for the explanation of moving components, thank you for watching.

Basic Information
  • Year Established
  • Business Type
  • Country / Region
  • Main Industry
  • Main Products
  • Enterprise Legal Person
  • Total Employees
  • Annual Output Value
  • Export Market
  • Cooperated Customers
Contact Us

Take advantage of our unrivaled knowledge and experience, we offer you the best customization service.

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!    

They are all manufactured according to the strictest international standards. Our products have received favor from both domestic and foreign markets.
They are now widely exporting to 200 countries.

Send your inquiry

Choose a different language
Current language:English