Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
337
Addressing the NC variables starts with the path section
.
This section is followed by the data address; its structure should be taken from the SINUMERIK 828D List Manual NC
variable and interface signals under the following link:
https://support.industry.siemens.com/cs/ww/en/ps/14593/man
<LET name = "tempStatus"></LET>
<OP> tempStatus ="nck/channel/state/chanstatus" </OP>
Frequently used NC variables
See the following table for the common NC variables used for generating user dialogs.
Nck/Channel/MachineAxis/actToolBasePos[n]
•
• n = 1: axis Y
• n = 2: axis Z
• n = 3: spindle
nck/Channel/GeometricAxis/actprogpos[n] Workpiece coordinates (where the tool tip is
nck/Channel/GeometricAxis/actToolEdgeCenter
Where the tool edge center is located in
nck/Channel/State/actTNumber
nck/Channel/State/actDNumber Actual tool edge number
nck/Channel/State/actFeedRateIpo
nck/Channel/State/cmdFeedRateIpo Programmed feedrate
nck/Channel/Spindle/actSpeed
nck/Channel/Spindle/cmdSpeed
For turning
machines
nck/Tool/Compensation/cuttEdge
Length X of tool n tool edge m
• n = tool number
• m = tool edge number
• p = (m - 1) x 35
nck/Tool/Compensation/cuttEdge
Length Z of tool n tool edge m
nck/Tool/Compensation/cuttEdge
Length X for tool wear of tool n tool edge m
nck/Tool/Compensation/cuttEdge
Length Z for tool wear of tool n tool edge m
For milling
machines
nck/Tool/Compensation/cuttEdge
Length X of tool n tool edge m
nck/Tool/Compensation/cuttEdge
Length Y of tool n tool edge m
nck/Tool/Compensation/cuttEdge
Length Z of tool n tool edge m
nck/Tool/Compensation/cuttEdge
Length X for tool wear of tool n tool edge m
nck/Tool/Compensation/cuttEdge
Length Y for tool wear of tool n tool edge m
nck/Tool/Compensation/cuttEdge
Length Z for tool wear of tool n tool edge m
nck/Tool/Compensation/cuttEdgeParam[u1,cn,p+
Radius of tool n tool edge m
nck/Tool/Compensation/edgeData[cn,p+14]
Radius for tool wear of tool n tool edge m
nck/Channel/ProgramInfo/block[u1,0]
Previous line of the currently executed block
nck/Channel/ProgramInfo/block[u1,1]
nck/Channel/ProgramInfo/block[u1,2]
Next line of the currently executed block