Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
198 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Declaration of the function
FUNCTION FC 9 : VOID
//NAME :ASUP
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 Remark
Start I BOOL
ChanNo I INT 1 - 10 No. of the NC channel
IntNo I INT 1 - 8 Interrupt No.
Active A BOOL 1 = Active
Done A BOOL 1 = ASUB completed
Error A BOOL 1 = Interrupt switched off
StartErr A BOOL 1 = Interrupt number not assigned or
deleted
Ref I/O WORD Global variable
(MW, DBW,..)
1 word per FC 9 (for internal use)