P4: PLC for SINUMERIK 828D
14.6 Function interface
Basic Functions
1158
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
The max. frame index is 12.
The value of numMachAxes is contained in the variable with variable index 4.
Variable numMachAxes
Number of the highest existing channel axis
If there are no gaps between channels, this corresponds to the number of existing axes in the channel.
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)
Variable linShift [r]
DB120x.DBB1000
3
DB120x.DBB1001
-
DB120x.DBW1002
Frame index * numMa axis number
DB120x.DBW1004
-
DB120x.DBD1008
-
DB120x.DBW3004
Read: Data from NCK variable x (data type of the variables: REAL)
Variable numMachAxes [r]
DB120x.DBB1000
4
DB120x.DBB1001
-
DB120x.DBW1002
-
DB120x.DBW1004
-
DB120x.DBD1008
-
DB120x.DBW3004
Read: Data from NCK variable x (data type of the variables: WORD)