Table of Contents

System Functions

The functions listed here can be used in expressions in Comfile Studio.

Math Functions

Bit Manipulation Functions

String Functions

Text Memory Functions

Text memory is a specific string memory area in the HMI runtime. The contents are lost when the panel PC is powered off. It is similar to internal memory except it stores strings. The default capacity of the text memory is 1024 strings (0 ~ 1023) and each string is default initialized to an empty string. The capacity can be expanded with the set_tmem_size function.

Communication Functions

The following functions can be used to detect communication problems between the ComfileHMI and the PLC.

Internal Memory Functions

The following functions are used to read from and write to internal memory.

File Functions

Remote Script Functions

Trend Graph Functions

Type Conversion Functions

Functions to convert between data types.

Conditional Branching Functions

System Functions

Functions associated with the system.

In the Add Action –> Run Action Group properties, in the Advanced Options is the ability to pass a primary and secondary parameter to the actions (Add Action Parameter and Add Secondary Action Parameter respectively) .

The parameters can then be read from within the executing action using the following functions.

RTC Functions

Functions with no argument.

Functions that take 1 argument but return no value.

Web API Functions

The following functions be used in the {expression} part of the ComfileHMI's Web API.

Back to ComfileHMI