EasyManuals Logo

Siemens SINUMERIK 840D sl Programming Manual

Siemens SINUMERIK 840D sl
1334 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 #419 background imageLoading...
Page #419 background image
Syntax (DEF...=REP...)
Using a value with repetition
During definition:
DEF <data type> <variable name>[<n>,<m>,<o>]=REP(<value>)
DEF <data type> <variable name>[<n>,<m>,<o>]=REP(<value>,
<number_array_elements>)
During value assignment:
<variable name>[<n>,<m>,<o>]=REP(<value>)
DEF <data type> <variable
name>[<n>,<m>,<o>]=REP(<value>,<number_array_elements>)
Meaning
DEF: Command to define variables
<data type>: Data type of variables
Range of values:
for system variables:
BOOL, CHAR, INT, REAL, STRING, AXIS
for GUD or LUD variables:
BOOL, CHAR, INT, REAL, STRING, AXIS, FRAME
<string length>: Maximum number of characters for a STRING data type
<variable name>: Variable name.
[<n>,<m>,<o>]: Array sizes or array indices
<n>: Array size or array index for 1st dimension
Type: INT (for system variables, also AXIS)
Range of values: Max. array size: 65535
Array index: 0 ≤ n ≤ 65534
<m>: Array size or array index for 2nd dimension
Type: INT (for system variables, also AXIS)
Range of values: Max. array size: 65535
Array index: 0 ≤ m ≤ 65534
<o>: Array size or array index for 3rd dimension
Type: INT (for system variables, also AXIS)
Range of values: Max. array size: 65535
Array index: 0 ≤ o ≤ 65534
SET: Value assignment using specified value list
(<value1>,<value2>, etc.): Value list
REP: Value assignment using specified <value>
Work preparation
3.1 Flexible NC programming
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 419

Table of Contents

Other manuals for Siemens SINUMERIK 840D sl

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 840D sl Specifications

General IconGeneral
Control TypeCNC
Number of AxesUp to 31
Max Number of Channels10
InterfacesEthernet, PROFIBUS, PROFINET, USB
Interpolation5-axis interpolation
Operating Temperature0°C to 45°C
Relative HumidityUp to 95% (non-condensing)
DisplayTFT color display, various sizes
Programming LanguagesDIN/ISO
Safety FeaturesSafety Integrated
PLCIntegrated PLC S7-300
Drive InterfaceSINAMICS S120
Data StorageCF card, USB
Operating SystemWindows-based

Related product manuals