14530

Parameters:

Definitions:


Reactions:


Remedy:

Program Continuation:


Channel %1 block %2 EXTERN and PROC instruction do not correspond

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

Subroutines with parameter transfer must be known before they are called in the program. If the subroutines are always available (fixed cycles) the control establishes the call interfaces at the time of system power-up. Otherwise an EXTERN statement must be programmed in the calling program.

Example:

N123 EXTERN UPNAME (TYP1, TYP2, TYP3, ...)

The type of the variable must match the type given in the definition (PROC statements) or it must be compatible with it. The name can be different.

-    Interpreter stop

-    NC Start disable in this channel.

-    Interface signals are set.

-    Alarm display.

Check the variable types in the EXTERN and the PROC statements for correspondence and correctness.

Clear alarm with the RESET key. Restart part program


© Siemens AG 2005 All Rights Reserved


1-638