P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
1016
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Description of formal parameters
The table below lists all formal parameters of the ASUB function.
Timing diagram
Signal
Typ
e
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)
(1)
Activation of function
(2)
ASUP active
(3)
Positive acknowledgment: ASUB ended
(4)
Reset function activation after receipt of acknowledgment
(5)
Signal change using FC
(6)
Not permitted If function activation is reset prior to receipt of acknowledgment, the output signals
are not updated without the operational sequence of the activated function being affected.
(7)
Negative acknowledgment: Error has occurred
6WDUW
$FWLY
'RQH
(UURU