Siemens SINUMERIK 840D Series Diagnostics Manual page 132

Hide thumbs Also See for SINUMERIK 840D Series:
Table of Contents

Advertisement

1 Alarms
Definitions:
Reactions:
Remedy:
Program Continuation:
12260
Parameters:
Definitions:
Reactions:
Remedy:
Program Continuation:
12261
Parameters:
Definitions:
Reactions:
Remedy:
Program Continuation:
1-132
The macro technique supplies a 1-line instruction or series of instructions with a new iden-
tifier by means of the keyword DEFINE. No further macro may be contained in the string
of instructions (nesting). Example: N10 DEFINE MACRO1 AS G01 G91 X123 MACRO2
F100
- Alarm display.
- Interface signals are set.
- Correction block
Press the NC Stop key and select the function "Correction block" with the soft key PRO-
GRAM CORRECT. The correction pointer positions on the incorrect block.
Nested macros must be replaced by the full program information.
Clear alarm with NC START or RESET key and continue the program.
Channel %1 block %2 too many initialization values specified %3
%1 = Channel number
%2 = Block number, label
%3 = Source string
In the initialization of an array (array definition and value assignments to individual array
elements) there are more initialization values than array elements. Example: N10 DEF
INT OTTO[2,3]=(..., ..., {more than 6 values})
- Alarm display.
- Interface signals are set.
- Correction block
Press the NC Stop key and select the function "Correction block" with the soft key PRO-
GRAM CORRECT. The correction pointer positions on the incorrect block.
Check the NC program to establish whether:
1. During array definition the number of array elements (n,m) was indicated correctly
(DEF INT FIELDNAME[n,m] e.g. an array with 2 lines and 3 columns: n=2, m=3). 2. Dur-
ing initialization the value assignments have been made correctly (values of the individual
field elements separated by comma, decimal point for variables of the type REAL).
Clear alarm with NC START or RESET key and continue the program.
Channel %1 block %2 initialization of %3 not allowed
%1 = Channel number
%2 = Block number, label
%3 = Source string
Frame type variables cannot be initialized in the definition. Example: DEF FRAME LOC-
FRAME = CTRANS(X,200)
Equally, no default values can be programmed for axes in the program run when initializ-
ing fields by SET.
- Correction block
- Interface signals are set.
- Alarm display.
IPerform initialization in separate block in the execution part of the program: DEF FRAME
LOCFRAME LOCFRAME = CTRANS(X,200)
When using for axis variables:
Replace DEF AXIS AXIS_VAR [10] AXIS_VAR [5] = SET (X, , Y) by: DEF AXIS
AXIS_VAR [10] AXIS_VAR [5] = X AXIS_VAR [7] = Y
If REDEF ... INIRE, INIPO, INICF, PRLOC changes the behavior of a GUD, LUD etc.,
then the machine data $MN_DEFAULT_VALUES_MEM_MASK must equal 1.
Clear alarm with NC START or RESET key and continue the program.
SINUMERIK 840D/840Di/810D Diagnostics Guide (DA) – 11.02 Edition
 Siemens AG, 2002. All rights reserved
11.02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di seriesSinumerik 810d seriesSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840de ... Show all

Table of Contents