EasyManuals Logo

Siemens SINUMERIK Commissioning Manual

Siemens SINUMERIK
736 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 #375 background imageLoading...
Page #375 background image
Programming
2.3 Variables
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-25
Valid INTEGER type specifications:
IB Integer variable 32 bits in binary notation
IBD Integer variable 32 bits in binary notation
IBW Integer variable 16 bits in binary notation
IBB Integer variable 8 bits in binary notation
I Integer variable 32 bits in decimal notation signed
IDD Integer variable 32 bits in decimal notation signed
IDW Integer variable 16 bits in decimal notation signed
IDB Integer variable 8 bits in decimal notation signed
IDDU Integer variable 32 bits in decimal notation unsigned
IDWU Integer variable 16 bits in decimal notation unsigned
IDBU Integer variable 8 bits in decimal notation unsigned
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. It
can be scanned using the ISNUM or ISSTR functions. The VARIANT type is mainly suited to
write either variable names or numerical values to the NC code.
Programming
The data type of variables can be checked:
Syntax: ISNUM
(VAR)
Parameters: 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)
Parameters: 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

Table of Contents

Other manuals for Siemens SINUMERIK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK and is the answer not in the manual?

Siemens SINUMERIK Specifications

General IconGeneral
InterfaceEthernet, PROFIBUS, PROFINET, USB
Programming LanguagesDIN/ISO
DisplayTFT color display
CompatibilitySiemens drives and motors
SoftwareSINUMERIK Operate
Control Unit TypeCNC (Computer Numerical Control)
Safety FunctionsIntegrated safety functions up to SIL 3/PLe

Related product manuals