P4: PLC for SINUMERIK 828D
14.6 Function interface
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1157
14.6.1.2 Operable variables
Variable cuttEdgeParam
Compensation value parameters and cutting edge list with D numbers for a tool
The meanings of the individual parameters depend on the type of the tool in question. Currently, 25 parameters
are reserved for each tool edge (but only a part of them is loaded with values). To be able to remain flexible for
future extensions, it is not recommended to use a fixed value of 25 parameters for calculation, but the variable
value 'numCuttEdgeParams' (variable index 2).
For a detailed description of tool parameters, refer to Chapter W1: Tool offset [Page 1419].
Variable numCuttEdgeParams
Number of P elements of a cutting edge
Variable linShift
Translation of a settable work offset (channel-specific settable frames)
They only exist if MD18601 MM_NUM_GLOBAL_USER_FRAMES > 0.
There are the frame indices:
Variable cuttEdgeParam [r/w]
DB120x.DBB1000 1
DB120x.DBB1001 -
DB120x.DBW1002 (Cutting edge No. - 1) * numCuttEdgeParams + ParameterNr (WORD)
DB120x.DBW1004 T number (1...32000) (WORD)
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)
Variable numCuttEdgeParams [r]
DB120x.DBB1000 2
DB120x.DBB1001 -
DB120x.DBW1002 -
DB120x.DBW1004 -
DB120x.DBD1008 -
DB120x.DBW3004 Read: Data from NCK variable x (data type of the variables: WORD)
0: ACTFRAME = actual resulting work offset
1: IFRAME = actual settable work offset
2: PFRAME = actual programmable work offset