Siemens SINUMERIK 840D Diagnostics Manual page 150

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

Advertisement

1 Alarms
Remedy:
Program Continuation:
12320
Parameters:
Definitions:
Reactions:
Remedy:
Program Continuation:
12330
Parameters:
Definitions:
1-150
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.
Clear alarm with NC START or RESET key and continue the program.
Channel %1 block %2 parameter %3 is no variable
%1 = Channel number
%2 = Block number, label
%3 = Source string
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)
- Correction block
- Interface signals are set.
- Alarm display.
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.
Clear alarm with NC START or RESET key and continue the program.
Channel %1 block %2 type of parameter %3 incorrect
%1 = Channel number
%2 = Block number, label
%3 = Source string
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: -
• from BOOL to: REAL: yes, INT: yes, BOOL: yes, CHAR: yes, STRING: -, AXIS: -,
FRAME: -
• from CHAR to: REAL: yes, INT: yes, BOOL: yes1), CHAR: yes, STRING: yes, AXIS: -,
FRAME: -
• from STRING to: REAL: -, INT: -, BOOL: yes2), CHAR: only if 1 character, STRING: yes,
AXIS: -, FRAME: -
• from AXIS to: REAL: -, INT: -, BOOL: -, CHAR: -, STRING: -, AXIS: yes, FRAME: -
• from FRAME to: REAL: -, INT: -, BOOL: -, CHAR: -, STRING: -, AXIS: -, FRAME: yes
1) Value <> 0 corresponds to TRUE, value ==0 corresponds to FALSE.
2) String length 0 => FALSE, otherwise TRUE.
*) At type conversion from REAL to INT fractional values that are >=0.5 are rounded up,
others are rounded down.
 Siemens AG, 2004. All rights reserved
SINUMERIK 840D/840Di/810D Diagnostics Guide (DA), 10.04 Edition
10.04

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents