EasyManuals Logo

Siemens SINUMERIK ONE MCP 2400.4c Commissioning Manual

Siemens SINUMERIK ONE MCP 2400.4c
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 #1109 background imageLoading...
Page #1109 background image
Random function: Random number
Syntax: RANDOM
(lower limit value, upper limit value)
Description: The RANDOM function returns a pseudo random number in a specified range.
Parameters: Lower limit value Lower limit value >= -32767,
Lower limit value < upper limit value
Upper limit value Upper limit value <= 32767
Example
REG[0] = RANDOM(-10,10) ; Possible result = -3
Constants
Constants
PI 3.14159265358979323846
FALSE 0
TRUE 1
Example:
VAR1.VAL = PI
Comparison operators
Comparison operators
== Equal to
<> Not equal to
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to
Example:
IF VAR1.VAL == 1
VAR2.VAL = TRUE
ENDIF
Programming commands
6.1 Operators
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 123

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