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.

Language
Case
VR

Using sub-macros to do data operations

Hello, welcome to the touch screen operation video tutorial, today to explain to you the use of sub-macros to do data operations, there are a variety of ways to do data operations, the first is to enable numerical operations directly in the digital format, to do some simple proportional conversion scaling function, the second can be converted by way of sub-macros, the third is the way you can directly use macro instructions, sub-macros compared to macro instructions, operation The sub-macro is a little easier to operate than the macro instruction, it can be converted by checking the box directly in the Enable Numerical Operations, you don't need to call it separately like a generic simulation. Click on the sub-macro management, you can directly open the sub-macro and edit it, you can also click on the sub-macro below the macro instruction, and then create a new macro instruction or edit the macro instruction, here you have added a macro instruction, directly edit it inside, there are two parameters, one is inputData, one is outputData, the inputData is as input data, the outputData is as input data. inputData is used as input data, outputData is used as output data after the operation, here to do a relatively simple operation, that is, the input value multiplied by three times and then output, after setting up click compile, compile success can be directly closed, according to the error error to modify, and then look at the number format has just been called to sub-macro. After setting up the direct click offline simulation, just set up the HMI display, and then multiply the function by 3, take a look, the left is not to do arithmetic, set up is 12, arithmetic multiplied by 3 times after the display is 36, the way to do data arithmetic with sub-macros is very simple, you can operate on their own. This is the end of the explanation of using sub-macros to do data operations, 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!    

Recommended
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
English
ภาษาไทย
Deutsch
Español
français
italiano
Português
русский
Current language:English