Siemens SINUMERIK 840D sl Programming Manual page 596

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

Advertisement

Additional functions
16.6 Check scope of NC language present (STRINGIS)
Return value
Meaning
2xx
The 'name' string is a programmable element of the NC programming language (option/function is
active). The detailed information xx contains additional information about the element type:
xx
01
02
03
04
05
06
07
08
09
10
11
12
400
The 'name' string is an NC address, that was not identified as xx == 01 or xx == 10 and is not G or R
y00
No specific assignment possible
1) Depending on the control, under certain circumstances, only a subset of the Siemens NC language commands are
known, e.g. SINUMERIK 802D sl. For these controls, for strings that are principally Siemens NC language commands, a
value of 0 is returned. This behavior can be changed using MD10711 $MN_NC_LANGUAGE_CONFIGURATION. For
MD10711 = 1, then a value of 100 is always returned for Siemens NC language commands.
2) NC addresses are the following letters: A, B, C, E, I, J, K, Q, U, V, W, X, Y, Z. These NC addresses can also be
programmed with an address extension. The address extension can be specified when checking with STRINGIS.
Example:
201 == STRINGIS("A1")
The letters: D, F, H, L, M, N, O, P, S, T are NC addresses or auxiliary functions that are defined by the user. A value of 400
is always returned for these. Example: 400 == STRINGIS( "D" ). These NC addresses cannot be specified with address
extension when checking with STRINGIS.
Example:
000 == STRINGIS("M02")
3) Names of cycle parameters cannot be checked with STRINGIS.
4) Address, defined as macro, e.g. G, H, M, L are identified as macro.
Examples
In the following examples it is assumed that the NC language elements specified as string -
as long as nothing else is noted - can in principle be programmed in the control.
1. String "T" is defined as auxiliary function:
2. String "X" is defined as axis:
596
Meaning
DIN address or NC address
G code (e.g.
,
G04
INVCW
Function with return value
Function without return value
Keyword (e.g.
)
DEFINE
Machine (
...), setting (
$M
System parameters, e.g. system variable (
Cycle (the cycle must be loaded into the NCK and the cycle program must be active
GUD variable (the GUD variable must be defined in the GUD definition files and the GUD
variables activated)
Macro name (the macro must be defined in the macro definition files and macros activated)
LUD variable of the actual part program
ISO G code (ISO language mode must be active)
.
, but
400 == STRINGIS("M")
400 == STRINGIS("T")
000 == STRINGIS ("T3")
201 == STRINGIS("X")
201 == STRINGIS("X1")
2)
)
...) or option data (
...)
$S
$O
...) or arithmetic parameter (
$
.
...)
R
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
)
3)
4)
2)
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents