Siemens SINUMERIK 828D Commissioning Manual page 1006

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Variables
5.11 Details on the variable type
Sequence of characters in the INTEGER data type
1. "I" Basic INTEGER designation
2. Display format
3. Memory utilization
4. "U" Unsigned
Valid INTEGER type specifications:
IB
IBD
IBW
IBB
I
IDD
IDW
IDB
IDDU
IDWU
IDBU
IH
IHDU
IHWU
IHBU
VARIANT variable type
The VARIANT variable type is determined by the data type of the last value assignment. If the
assigned or entered value starts with '-', '+', '.' or a number ('0'-'9'), then the value is interpreted
as numeric. In all other cases as a string.
It can be scanned using the ISNUM or ISSTR functions. The VARIANT type is mainly suited
to the purpose of writing either variable names or numerical values to the NC code.
Programming
The data type of variables can be checked:
Syntax:
Parameter:
76
Integer variable 32 bits in binary notation
Integer variable 32 bits in binary notation
Integer variable 16 bits in binary notation
Integer variable 8 bits in binary notation
Integer variable 32 bits in decimal notation signed
Integer variable 32 bits in decimal notation signed
Integer variable 16 bits in decimal notation signed
Integer variable 8 bits in decimal notation signed
Integer variable 32 bits in decimal notation unsigned
Integer variable 16 bits in decimal notation unsigned
Integer variable 8 bits in decimal notation unsigned
Integer variable 32 bits in hexadecimal notation
Integer variable 32 bits in hexadecimal notation
Integer variable 16 bits in hexadecimal notation
Integer variable 8 bits in hexadecimal notation
(VAR)
ISNUM
VAR
Name of the variable whose data type is to be checked.
The result of the scan can be:
FALSE =
not a numerical variable (data type = STRING)
TRUE =
numerical variable (data type = REAL)
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents