P4: PLC for SINUMERIK 828D
14.6 Function interface
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1163
Variable TEMP_COMP_REF_POSITION (SD43920)
Reference position for position-dependent temperature compensation
Variable TOOL_TEMP_COMP (SD42960[...])
Temperature compensation referred to the tool
14.6.2 Program instance services (PI services)
14.6.2.1 User interface
Job specification
PI services are specified via their job interface (DB1200 from offset 4000) via their parameter.
Variable TEMP_COMP_REF_POSITION [r/w]
DB120x.DBB1000 16
DB120x.DBB1001 No. of the axis (1, 2, ...)
DB120x.DBW1002 -
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)
Variable TEMP_COMP_REF_POSITION [r/w]
DB120x.DBB1000 17
DB120x.DBB1001 -
DB120x.DBW1002 Index + 1 (1, 2, 3)
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)
DB1200 FB2/3 PI service [r/w]
PLC -> NCK interface
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 4000 Start
DBB 4001 PI index
DBB 4002
DBB 4003
DBW 4004 PI parameter 1
DBW 4006 PI parameter 2
DBW 4008 PI parameter 3
DBW 4010 PI parameter 4