P4: PLC for SINUMERIK 828D
14.6 Function interface
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1159
Variable rpa
R-variables
Variable actLineNumber
Line number of the actual NC block (from 1)
Variable magazine data: Location data
Location type ($TC_MPP2)
Variable rpa [r/w]
DB120x.DBB1000
5
DB120x.DBB1001
-
DB120x.DBW1002
R 1
DB120x.DBW1004
-
DB120x.DBD1008
Write: Data to NCK variable x (data type of the variables: REAL)
DB120x.DBW3004
Read: Data from NCK variable x (data type of the variables: REAL)
0:
Prior to program start
-1:
Not available due to error
-2:
Not available due to DISPLOF
Variable actLineNumber [r]
DB120x.DBB1000
6
DB120x.DBB1001
-
DB120x.DBW1002
-
DB120x.DBW1004
-
DB120x.DBD1008
-
DB120x.DBW3004
Read: Data from NCK variable x (data type of the variables: INT)
Location type: $TC_MPP2
Address
Description
Valid values
DB120x.DBB1000
Variables index
7
DB120x.DBB1001
-
-
DB120x.DBW1002
Location number
1 … 31999
DB120x.DBW1004
Magazine number
1 … 9999