EasyManuals Logo

Siemens SINUMERIK 810D Programming Manual

Siemens SINUMERIK 810D
687 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 #22 background imageLoading...
Page #22 background image
Flexible NC programming
1.3 Array definitions (DEF, SET, REP)
Job planning
1-8 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Programming
DEF CHAR NAME[n,m]
or
DEF INT NAME[n,m]
or
DEF REAL NAME[n,m]
or
DEF AXIS NAME[n,m]
or
DEF FRAME NAME[n,m]
or
DEF STRING[string_length] NAME[m]
or
DEF BOOL[n,m]
• Initialization with value lists; SET
Array definition options
DEF Type VARIABLE = SET(VALUE)
DEF Type ARRAY[n,m] = SET(VALUE, value, …)
or
DEF Type VARIABLE = Value
DEF Type ARRAY[n,m] = (value, value, …)
Note
SET is optional in the array definition.
Initializing during the program run
ARRAY[n,m]= SET(value, value, value,…)
ARRAY[n,m]= SET(expression, expression, expression,…)
• Initialization with the same values, REP
Array definition options
DEF Type ARRAY[n,m] = REP(value)
Note
Variables of type FRAME cannot be initialized.
Initializing during the program run
ARRAY[n,m] = REP(value)
ARRAY[n,m] = REP(expression)

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