Siemens SINUMERIK 840DE sl Commissioning Manual page 848

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Generating user dialogs
1.10 Predefined functions
Function name
Get Caption Height
Abs
SDEG
SRAD
SQRT
ROUND
FLOOR
CEIL
130
Description
The function returns the title bar height in pixels.
Syntax:
<function name="hmi.get_caption_heigt"
return="<return var>" />
Attributes:
return - integer variable
This function returns the absolute value of the specified number.
Syntax:
<function name="abs" return="var"> value </
function>
The function converts the specified value into degrees.
Syntax:
<function name="sdeg" return="var"> value </
function>
The function converts the specified value into RADian.
Syntax:
<function name="srad" return="var"> value </
function>
The function calculates the square root of the specified value.
Syntax:
<function name="sqrt" return="var"> value </
function>
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>
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>
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>
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Easy XML

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents