EasyManuals Logo

Siemens SINUMERIK 840D Commissioning Manual

Siemens SINUMERIK 840D
626 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 #44 background imageLoading...
Page #44 background image
Expanding the Operator Interface (BE1) 08/2005
3 Syntax
© Siemens AG, 2005. All rights reserved
BE1/3-38 SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
3.3.5 Details about Variant variable type
Variable parameter group 1)
The Variant variable type is determined by the data type of the last value
assignment. Currently, it can be scanned using the ISNUM or ISSTR functions.
The display mode can be changed for the type property of a variable, see
Subsection 3.3.6.
ISNUM (VAR), where:
VAR Name of the variable whose data type must be checked
The result of the scan can be:
FALSE = not a numerical variable (data type = String)
TRUE = numerical variable (data type = Real) or
ISSTR (VAR), where:
VAR Name of the variable whose data type must be checked
The result of the scan can be:
FALSE = numerical variable (data type = Real)
TRUE = not a numerical variable (data type = String)
The Variant field type is primarily suitable either for
writing variable names or numerical values to the NC
code.
IF ISNUM(VAR1) == TRUE
IF ISSTR(REG[4]+2) == TRUE
3.3.6 Changing the type of a variable
Variable parameter group 1)
Variable type
The display mode can be changed for the type property of a variable.
For integer variables this is display type:
B = binary
D = decimal signed
H = hexadecimal
unsigned
+ U for Unsigned
For Real, only the number of places after the decimal point can be changed.
Changing the basic type is illegal and generates an error message in file error.com.
Parameterization example:
Var1.typ = "IBW"
Var2.typ = "R3"

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals