Skip to content

Script

Script is an advanced control method for touch screen, which provides more strong functions for touch screen. Through programming for script command, the touch screen is given the same functions as logic and arithmetic operation with PLC. Using the macro flexibly is capable to achieve many strong functions that are unavailable for conventional components and to perfect the human-computer interface more.

CommandHMI provides new full scripts that are different from the script language mode of other human-computer interfaces, and these scripts are compatible with standard C Language (ANSI C89). As there are many literatures about C Language and this information are available easily, this chapter will not introduce syntax and basic knowledge in details to review the relevant basis of different macros but emphasize the establishment and usage of macros by instances.

This chapter will explain basic C Language briefly, relevant usage of script instruction and considerations.

Contents:

• Introduction to C language

• C language programming preliminary

• scripts function introduction