Program Continuation:
Channel %1 block %2 PROC instruction missing on subroutine call
%1 = Channel number %2 = Block number, label
In subroutine calls with parameter transfer ("call-by-value" or "call-by-reference") the called subroutine must begin with a PROC statement.
- Correction block is reorganized.
- Interface signals are set.
- Alarm display.
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 "call-by-reference"):
PROC UPNAME (Typ1 VARNAME1, Typ2 VARNAME2, ...)
M17
ENDPROC
Clear alarm with NC START or RESET key and continue the program.
© Siemens AG 2005 All Rights Reserved