EasyManuals Logo

Siemens SINUMERIK 810D Programming Guide

Siemens SINUMERIK 810D
598 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 #35 background imageLoading...
Page #35 background image
1
04.00 Flexible NC Programming
1.3 Arra
y
definition
1
840D
NCU 571
840D
NCU 572
NCU 573
FM-NC 810D 840Di
ï›™
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
1-35
Programming example
Initialization of complete variable arrays.
The drawing shows the current assignment.
N10 DEF REAL ARRAY1[10,3] = SET(0, 0, 0, 10, 11, 12, 20, 20, 20, 30,
30, 30, 40, 40, 40,)
N20 ARRAY1[0,0] = REP(100)
N30 ARRAY1[5,0] = REP(-100)
N40 ARRAY1[0,0] = SET(0, 1, 2, -10, -11, -12, -20, -20, -20, -30, , , ,
-40, -40, -50, -60, -70)
N50 ARRAY1[8,1] = SET(8.1, 8.2, 9.0, 9.1, 9.2)
0
1
2
3
4
5
6
7
8
9
0
0
10
20
30
40
0
0
0
0
0
1
0
11
20
30
40
0
0
0
0
0
2
0
12
20
30
40
0
0
0
0
0
0
100
100
100
100
100
-100
-100
-100
-100
-100
1
100
100
100
100
100
-100
-100
-100
-100
-100
2
100
100
100
100
100
-100
-100
-100
-100
-100
0
0
-10
-20
-30
0
-50
-100
-100
-100
9.0
1
1
-11
-20
0
-40
-60
-100
-100
8.1
9.1
2
2
-12
-20
0
-40
-70
-100
-100
8.2
9.2
1,2
N10: Initialization
with definition
N20/N30: Initialization
with identical value
N40/N50: Initialization
with different values
The array elements [5,0]
to [9,2] have been initialized
with the default value (0.0).
The array elements [3,1]
to [4,0] have been initialized
with the default value (0.0).
The array elements [6,0] to
[8,0] have not been changed.
1
2
Array index

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 810D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 810D
CategoryControl Unit
LanguageEnglish

Related product manuals