Programming instructions

10-2
Variable Assignments and Arithmetic Functions NC Programming 17VRS
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
Reading/Writing NC Variable Data
The values of the following addresses can be assigned to the CNC NC
variables, or the following values from the CNC addresses can be written
to the NC variables.
{
XE „Variables:Variable assignments:Coordinate values of existing axes“
}
The machine coordinates are read into the NC variable when the coordi-
nate values are read.
Valid addresses:
X, Y, Z, A, B, C, U, V, W
X[1..3], Y[1..3], Z[1..3], A[1..3], B[1..3], C[1..3], U[1..3], V[1..3], W[1..3]
@100=X Write X axis position value to the NC variable.
X1=@101 X1 to position stored in the NC variable.
Valid addresses:
I, J, K
J=@102 Circle center point coordinates of the Y axis from the NC
variables.
Valid addresses:
R
R=@103 Radius statement via the contents of the NC variable.
Only the active feedrate (@xxx=F) can be read. However, all F values can
be defined, such as G04 F=@99 for a dwell time.
Valid address:
F
@104=F Write active feedrate to the NC variable.
F=@105 F value via the contents of the NC variable.
Valid addresses:
S
S[1..3]
@106=S Write active spindle speed to the NC variable.
S1=@107 Spindle speed via the contents of the NC variable.
Only angle of rotation "P" of the coordinate rotation can be read. With
threading, the starting angle "P" cannot be read.
Valid address:
P
G33 Z30 K3 P=@109 Thread starting angle via the contents of the NC
variable.
Valid address:
ACC
ACC=@111 Acceleration factor via the contents of the NC variable.
Valid address:
T
@112=T Write active tool number to the NC variable.
T=@113 Tool call via the contents of the NC variable.
Valid address:
E
@114=E Write tool edge number to the NC variable.
E=@115 Tool edge selection via the contents of the NC variable.
The effective distances "RX," "RY" and "RZ" cannot be read.
Valid addresses:
RX, RY, RZ
Coordinate values of existing
axes
Interpolation parameters
Radius
Feed rate
Spindle speed
Plane rotation angle
Acceleration factor
Tool number
Tool edge number
Effective radius distances