EasyManuals Logo

Siemens SINUMERIK 828D Programming Manual

Siemens SINUMERIK 828D
822 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 #57 background imageLoading...
Page #57 background image
Flexible NC programming
1.2 Indirect programming
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
57
Example 5: Indirectly programming an axis
Direct programming:
Program code
G2 X100 I20
Indirect programming:
Program code Comments
DEF AXIS AXVAR1=X ; Defining a variable, type AXIS and value
assignment.
G2 X100 IP[AXVAR1]=20 ; Indirect programming the center point data for
the axis, whose address name is saved in the
variable with the name AXVAR1.
Example 6: Indirectly programming array elements
Direct programming:
Program code Comments
DEF INT ARRAY1[4,5] ; Defining array 1
Indirect programming:
Program code Comments
DEFINE DIM1 AS 4 ; For array dimensions, array sizes must be
specified as fixed values.
DEFINE DIM2 AS 5
DEF INT ARRAY[DIM1,DIM2]
ARRAY[DIM1-1,DIM2-1]=5
Example 7: Indirect subprogram call
Program code Comments
CALL "L" << R10 ; Call the program, whose number is located in R10
(string cascading).

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