Siemens SINUMERIK 840D sl Series Diagnostics Manual page 153

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

Advertisement

08/2005
N10 XYZ (, Y1, R_TABLE)
Variable X is defaulted with value 0
Variable Y is supplied with the value of the variable Y1 and returns the results to the call-
ing program after the subroutine run
Variable A is supplied with the axis in R_TABLE
Variable B missing!
Reactions:
- Correction block
- Interface signals are set.
- Alarm display.
Remedy:
Press the NC Stop key and select the function "Correction block" with the softkey PRO-
GRAM CORRECT. The correction pointer positions on the incorrect block.
Program the missing AXIS parameter in the call.
Program Con-
Clear alarm with NC START or RESET key and continue the program.
tinuation:
12320
Channel %1 block %2 parameter %3 is no variable
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = Source string
Definitions:
A constant or the result of a mathematical expression has been assigned to a REF
parameter instead of a variable at the time of the subroutine call, even though only vari-
able identifiers are allowed.
Examples:
N10 XYZ (NAME_1, 10, OTTO) or
N10 XYZ (NAME_1, 5 + ANNA, OTTO)
Reactions:
- Correction block
- Interface signals are set.
- Alarm display.
Remedy:
Press the NC Stop key and select the function "Correction block" with the softkey PRO-
GRAM CORRECT. The correction pointer positions on the incorrect block.
Remove the constant or the mathematical expression from the NC block.
Program Con-
Clear alarm with NC START or RESET key and continue the program.
tinuation:
12330
Channel %1 block %2 type of parameter %3 incorrect
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = Source string
Definitions:
When calling a procedure (a subroutine) it is found that the type of the actual parameter
cannot be converted into the type of the formal parameter. There are two possible cases:
• Call-by-reference parameter: Actual parameter and formal parameter must be of pre-
cisely the same type, e.g. STRING, STRING.
• Call-by-value parameter: Actual parameter and formal parameter can in principle be dif-
ferent providing conversion is basically possible. In the present case, however, the types
are generally not compatible, e.g. STRING -> REAL.
Overview of type conversions:
• from REAL to: REAL: yes, INT: yes*, BOOL: yes1), CHAR: yes*, STRING: -, AXIS: -,
FRAME: -
• from INT to: REAL: yes, INT: yes, BOOL: yes1), CHAR: if value 0 ...255, STRING: -,
AXIS: -, FRAME: -
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D Diagnostics Guide (DA), 08/2005 Edition
Overview of Alarms
2-153

Advertisement

Table of Contents
loading

Table of Contents