Sinumerik Alarm 14510 Channel %1 block %2 PROC instruction missing on subroutine call


Sinumerik Alarm 14510 Channel %1 block %2 PROC instruction missing on subroutine call

Parameters:
%1 = Channel number
%2 = Block number, label

Definitions:
In subroutine calls with parameter transfer (“call-by-value” or “call-by-reference”) the called subroutine must begin with a PROC statement.

Reactions:
– Alarm display.
– Interface signals are set.
– Correction block is reorganized.

Remedy:
Define the subroutine in accordance with the type used.
1. Conventional subroutine structure (without parameter transfer):% SPF 123456
:
M17
2. Subroutine structure with keyword and subroutine name (without parameter transfer):PROC UPNAME
:
M17 ENDPROC
3. Subroutine structure with keyword and subroutine name (with parameter transfer “call-by-value”):
PROC UPNAME (VARNAME1, VARNAME2, …)
:
M17 ENDPROC
4. Subroutine structure with keyword and subroutine name (with parameter transfer “callby-reference”):
PROC UPNAME (Typ1 VARNAME1, Typ2 VARNAME2, …)
:
M17 ENDPROC

Program Continuation:
Clear alarm with NC START or RESET key and continue the program.

References

  1. Siemens Diagnostics Guide by Siemens
Sinumerik Alarm 14510 Channel %1 block %2 PROC instruction missing on subroutine call