Syntax: ISSTR
(VAR)
Parameter:
VAR Name of the variable whose data type is to be
checked.
FALSE =
TRUE =
The result of the scan can be:
numerical variable (data type = REAL)
not
a numerical variable (data type = STRING)
Example:
IF ISNUM(VAR1) == TRUE
IF ISSTR(REG[4]+2) == TRUE
The display mode of variables can be changed:
●
For INTEGER, the display type can be changed.
B Binary
D Decimal signed
H Hexadecimal
unsigned
With the addition of U for Unsigned
● For REAL data types, only the number of places after the decimal point can be changed.
Changing
the type is illegal and generates an error message in the easyscreen_log.txt. file.
Example:
Var1.typ = "IBW"
Var2.typ = "R3"
Numerical formats
Numbers can be represented in either binary, decimal, hexadecimal or exponential notation:
Binary B01110110
Decimal 123.45
Hexadecimal HF1A9
exponential -1.23EX-3
Examples:
VAR1 = HF1A9
REG[0]= B01110110
DEF VAR7 = (R//-1.23EX-3)
Note
When codes are generated with the "GC" function, only numerical values in decimal or
exponential notation are evaluated, but not those in binary or hexadecimal notation.
See also
Variable parameters
(Page 69)
Variables
5.11 Details on the variable type
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3 77