Detailed Description   
2.12 Block descriptions 
  PLC Basic Program Solution Line (P3 sl) 
2-172  Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0 
Declaration 
 
FUNCTION FC 9: VOID  //ASUB 
VAR_INPUT 
 Start:  BOOL ; 
 ChanNo: INT ; 
 IntNo:  INT ; 
END_VAR 
VAR_OUTPUT 
 Active: BOOL ; 
  Done :  BOOL ; 
  Error :  BOOL ; 
 StartErr: BOOL ; 
END_VAR 
VAR_IN_OUT 
 Ref:  WORD ; 
END_VAR 
Description of formal parameters 
The table below lists all formal parameters of the ASUB function. 
 
Signal  Type  Type  Value range  Remarks 
Start  I  Bool     
ChanNo  I  Int  1 - 10  No. of NC channel 
IntNo  I  Int  1 - 8  Interrupt no. 
Active  Q  Bool    1 = Active 
Done  Q  Bool    1 = ASUB terminated 
Error  Q  Bool    1 = Interrupt switched off 
StartErr  Q  Bool    1 = Interrupt number not assigned 
or deleted 
Ref  I/O  Word  Global variable (MW, 
DBW,..) 
1 word per FC 9 (for internal use)