EasyManuals Logo

Siemens SINUMERIK 828D Commissioning Manual

Siemens SINUMERIK 828D
1167 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 #1023 background imageLoading...
Page #1023 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
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3 93

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 828D Specifications

General IconGeneral
Control TypeCNC
Operating SystemWindows Embedded
ProcessorIntel Atom
Display10.4" color TFT display
InterfacesEthernet, USB
ProgrammingShopMill, ShopTurn
Operation Panel Size10.4"
Protection ClassIP65
PLC Memory2 MB
Spindle Capacity4 spindles
Hard DriveCompactFlash

Related product manuals