Function name Description
Get Caption Height The function returns the title bar height in pixels.
Syntax:
<function name="hmi.get_caption_heigt"
return="<return var>" />
Attributes:
return - integer variable
Abs This function returns the absolute value of the specified number.
Syntax:
<function name="abs" return="var"> value </
function>
SDEG The function converts the specified value into degrees.
Syntax:
<function name="sdeg" return="var"> value </
function>
SRAD The function converts the specified value into RADian.
Syntax:
<function name="srad" return="var"> value </
function>
SQRT The function calculates the square root of the specified value.
Syntax:
<function name="sqrt" return="var"> value </
function>
ROUND The function rounds of the transferred number to the specified number
of decimal places. If the number of decimal places is not specified,
then the function rounds off the number, taking into account the first
decimal place.
Syntax:
<function name="round" return="var"> value,
nDecimalPlaces </function>
FLOOR The function supplies the largest possible integer value, which is less
than or equal to the transferred value.
Syntax:
<function name="floor" return="var"> value </
function>
CEIL The function supplies the smallest possible integer value, which is
greater than or equal to the transferred value.
Syntax:
<function name="ceil" return="var"> value </
function>
Generating user dialogs
1.10 Predefined functions
Easy XML
130 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1