Programming instructions
10-4
Variable Assignments and Arithmetic Functions NC Programming 17VRS
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
Valid address:
O
O=@116 Select zero offset table via the contents of the NC variable.
@117=O Read active zero offset table.
The active auxiliary function "Q" cannot be read.
Valid address:
Q
Q=@117 Output the auxiliary Q function via the contents of the NC
variable.
The active D correction "D" cannot be read.
Valid address:
D
D=@122 Select the D correction via the contents of the NC variable.
Legal address for reads:
G(<G code group[1..19]>)
Legal address for writes:
G = expression
G-code G-code Group Active Meaning
G00, G01, G02, G03 1 modal Interpolation Functions
G17, G18, G19, G20 2 modal Plane Selection
G40, G41, G42 3 modal Tool path compensation
G52 through G59 4 modal Zero Offsets
G15, G16 5 modal Radius/diameter programming
G90, G91 6 modal Dimension Statements
G65, G94, G95 7 modal Feed programming
G96, G97 8 modal Spindle speed programming
G70, G71 9 modal Dimensional Units
G43, G44 10 modal Transition element
G61, G62 11 modal Block transition selection
G98, G99 12 modal Speed at contour/center line
G47, G48, G49 13 modal Tool length compensation
G08, G09 14 modal Contouring mode
G06, G07 15 modal Interpolation method
G04
G33
G50, G51
G63, G64
G74
G75, G76
G77
G92
G93
16
16
16
16
16
16
16
16
16
block
block
block
block
block
block
block
block
block
Dwell time
Thread cutting
Prog. zero offset
Tapping
Homing
Feed to positive stop
Reposition and NC block restart
Spindle speed limit
Time programming
G30, G31, G32 17 modal Transformation
G72, G73 18 modal Mirror Imaging
G78, G79 19 modal Scaling
G36, G37, G38 21 modal Rotary axis startup logic
The block active "G-code" can only be read in the NC block in which they
are programmed. Otherwise a value of "1" is output when the "block-ac-
tive G-codes" are read.
@118=G(4) Write active G code of group 4 to the NC variable.
G=@119 Set a G code via the contents of the NC variable.
Zero offset table
Auxiliary function
D correction
Preparatory functions