P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
950
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
13.13.4.2 General PI services
PI service: ASUB
Function: Assign interrupt
A program stored on the NCK is assigned an interrupt signal for a channel. This is possible only when the
program file may be executed. The path names and the program names are to be written in correct notation.
For the correct notation of the path and the program names see:
References:
Programming Manual Job Planning; Chapter: "File and Program Management" > "Program Memory".
PI service: CANCEL
Function: Execute Cancel
Has the effect that the function "Cancel" (corresponding to the key on HMI) is executed.
Parameterization
Signal
Type
Value range
Meaning
PIService
ANY
PI.ASUP
Assign interrupt
Unit
INT
1 ... 10
Channel
WVar1
WORD
1 ... 8
Interrupt number
WVar2
WORD
1 ... 8
Priority
WVar3
WORD
0/1
LIFTFAST
WVar4
WORD
0/1
BLSYNC
Addr1
STRING
Path name
Addr2
STRING
Program name
Note
The
SETINT
instruction is also used to make the assignment.
The ASUP PI service may only be executed when the channel to be activated is in RESET
state.
References:
Programming Manual, Job Planning; Chapter: "Flexible NC-Programming" > "Interrupt
routine (ASUB)"
Parameterization
Signal
Type
Value range
Meaning
PIService
ANY
PI.CANCEL
Cancel