Siemens SINUMERIK 840D sl Programming Manual page 51

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Program code
R10=REP(2.4,3)
DEF FRAME FRM[10]
FRM[5] = REP(CTRANS (X,5))
Further information (general)
Value assignments to axial machine data
In principle axial machine data have an array index of the
value assignments to an axial item of machine data using
ignored or not processed.
Example: Value assignment to machine data MD36200 $MA_AX_VELO_LIMIT
$MA_AX_VELO_LIMIT[1,AX1]=SET(1.1, 2.2, 3.3)
Is equivalent to:
$MA_AX_VELO_LIMIT[1,AX1] = 1.1
$MA_AX_VELO_LIMIT[2,AX1] = 2.2
$MA_AX_VELO_LIMIT[3,AX1] = 3.3
Note
Value assignments to axial machine data
In the case of value assignments to axial machine data using
array index is ignored or not processed.
Memory requirements
Data type
BOOL
CHAR
INT
REAL
STRING
FRAME
AXIS
See also
Definition and initialization of array variables (DEF, SET, REP) (Page 45)
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Comments
; R-parameters R10 to R12 = 2.4
; Array definition
; Array elements [5] to [9] = CTRANS(X,5)
Memory requirement per element
1 byte
1 byte
4 bytes
8 bytes
(string length + 1) bytes
∼ 400 bytes, depending on the number of axes
4 bytes
Flexible NC programming
1.1 Variables
data type. In the case of
AXIS
or
, this array index is
SET
REP
or
, the
SET
REP
AXIS
data type
51

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents