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 #34 background imageLoading...
Page #34 background image
1
Flexible NC Programming 04.00
1.3 Arra
y
definition
1
840D
NCU 571
840D
NCU 572
NCU 573
FM-NC 810D 840Di
ï›™
Siemens AG 2000. All rights reserved
1-34
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
Initialization with identical values, REP
1. Options during array definition
DEF Type ARRAY[n,m] = REP(value)
All array elements are assigned the same value
(constant).
Variables of type FRAME cannot be initialized.
Example:
DEF REAL ARRAY5[10,3] = REP(9.9)
2. Options during program execution
ARRAY[n,m] = REP(value)
ARRAY[n,m] = REP(expression)
•
Expressions may also be used here as
initialization values.
•
All array elements are initialized with the same
value.
•
Initialization starts at the programmed array
indices. Values can also be assigned selectively
to subarrays.
Variables of the FRAME type are permitted and can
be initialized very simply using this method.
Example:
Initialization of all elements with one value
DEF FRAME FRM[10]
FRM[5] = REP(CTRANS (X,5))

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