EasyManuals Logo

Siemens MCP 398C Commissioning Manual

Siemens MCP 398C
1734 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1085 background imageLoading...
Page #1085 background image
Valid INTEGER type specifications:
IH Integer variable 32 bits in hexadecimal notation
IHDU Integer variable 32 bits in hexadecimal notation
IHWU Integer variable 16 bits in hexadecimal notation
IHBU Integer variable 8 bits in hexadecimal notation
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: ISNUM
(VAR)
Parameter:
VAR Name of the variable whose data type is to be checked.
FALSE =
TRUE =
The result of the scan can be:
not a numerical variable (data type = STRING)
numerical variable (data type = REAL)
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
Variables
5.11 Details on the variable type
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 99

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals