P4: PLC for SINUMERIK 828D
14.6 Function interface
Address
DB120x.DBW1004
DB120x.DBD1008
DB120x.DBW3004
Variable "linShift"
Translation of a settable work offset (channel-specific settable frames)
The variable only exists if MD18601 MM_NUM_GLOBAL_USER_FRAMES > 0.
The following frame indices are available:
Index
Address
DB120x.DBB1000
DB120x.DBB1001
DB120x.DBW1002
DB120x.DBW1004
DB120x.DBD1008
DB120x.DBW3004
Variable "numMachAxes"
Number of the highest existing channel axis
If there are no channel axis gaps, the value of the variables is also the number of available
axes in the channel.
Address
DB120x.DBB1000
DB120x.DBB1001
1108
Value / meaning
-
-
Reading: Data from NCK variable x (data type: WORD)
Meaning
0
ACTFRAME = actual resulting work offset
1
IFRAME = actual settable work offset
2
PFRAME = actual programmable work offset
3
EXTFRAME = actual external work offset
4
TOTFRAME = actual total work offset = total of ACTFRAME and EXTFRAME
5
ACTBFRAME = actual total base frame
6
SETFRAME = actual 1st system frame (PRESET, scratching)
7
EXTSFRAME = actual 2nd system frame (PRESET, scratching)
8
PARTFRAME = actual 3rd system frame (TCARR and PAROT with orientable tool carrier)
9
TOOLFRAME = actual 4th system frame (TOROT and TOFRAME)
10
MEASFRAME = result frame for workpiece and tool gauging
11
WPFRAME = actual 5th system frame (workpiece reference points)
12
CYCFRAME = actual 6th system frame (cycles)
Value / meaning
3
-
Frame index * numMachAxes (Page 1109) + axis number
-
-
Reading: Data from NCK variable x (data type: REAL)
Value / meaning
4
-
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions