EasyManuals Logo

Siemens SINUMERIK ONE MCP 2400.4c Programming Manual

Siemens SINUMERIK ONE MCP 2400.4c
1334 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 #424 background imageLoading...
Page #424 background image
from ↓/ to → REAL INT BOOL
BOOL x x x
x : Possible without restrictions
o: Data loss possible due to the range of values being overshot ⇒ alarm;
rounding: decimal place value ≥ 0.5 ⇒ round up, decimal place value < 0.5 ⇒ round down
&: value ≠ 0 ⇒ TRUE, value== 0 ⇒ FALSE
See also
Variables (Page 389)
3.1.1.14 Variable minimum, maximum and range (MINVAL, MAXVAL and BOUND)
The MINVAL and MAXVAL commands compare the values of two variables. The smaller value
(in the case of MINVAL) or the larger value (in the case of MAXVAL) respectively is delivered as
a result.
The BOUND command tests whether the value of a test variable falls within a defined range of
values.
Syntax
<smaller value>=MINVAL(<variable1>,<variable2>)
<larger value>=MAXVAL(<variable1>,<variable2>)
<return value>=<BOUND>(<minimum>,<maximum>,<test variable>)
Meaning
MINVAL: Obtains the smaller value of two variables
(<variable1>, <variable2>)
<smaller value>: Result variable for the MINVAL command
Set to the smaller variable value.
MAXVAL: Obtains the larger value of two variables (<variable1>, <variable2>)
<larger value>: Result variable for the MAXVAL command
Set to the larger variable value.
BOUND: Tests whether a variable (<test variable) is within a defined range of
values.
<minimum>: Variable which defines the minimum value of the range of values.
<maximum>: Variable which defines the maximum value of the range of values.
<return value>: Result variable for the BOUND command
If the value of the test variable is within the defined range of values, the
result variable is set to the value of the test variable.
If the value of the test variable is greater than the maximum value, the
result variable is set to the maximum value of the definition range.
If the value of the test variable is less than the minimum value, the result
variable is set to the minimum value of the definition range.
Work preparation
3.1 Flexible NC programming
NC programming
424 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals