Programming instructions
NC Programming 17VRS NC Programming Practices
13-1
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
13 NC Programming Practices
13.1 Efficient NC Programming
The following rules will help to ensure that the CNC operates at its
maximum performance level.
Note:
Whatever can be programmed in a single NC block in terms of
syntax should be in fact be programmed in a single NC block,
provided it does not violate program flow logic.
•
Labels (e.g. .HOME)
•
Preparatory functions (1 function from each of 16 groups)
•
Trigonometric angle unit
∈
{RAD, DEG}
•
Assigning a value to an NC variable (repeatedly) (e.g. @12=3)
•
Assignment of value to a drive datum (e.g. AXD(X:S-0-0405)=3)
•
Position statement (one position statement for each axis)
{X,Y,Z,U,V,W,A,B,C}
•
Interpolation parameter I
•
Interpolation parameter J
•
Interpolation parameter K
•
F-word
•
S-word
∈
{S,S1,S2,S3}
•
P-word
•
Zero point offset table (O word)
•
Path acceleration as percent (ACC)
•
Auxiliary M functions (one aux. M function from each of 16 groups)
•
Auxiliary Q-function (Q word)
•
Tool number (T word)
•
Edge number (E word)
•
Tool command
•
Setting of a NC event (SE)
•
Reset of a NC event (RE)
•
Wait until NC event is set (WES)
•
Wait until NC event is reset (WER)
•
Define process (DP) (repeatedly)
•
Select NC program for process (SP)
•
Reverse process (RP) (repeatedly)
•
Advance program (AP) (repeatedly)
•
Wait for process (WP) (repeatedly)
•
Lock process (LP) (repeatedly)
•
Set process complete status (POK)
•
Program control command
•
Message
•
Comment
What can be programmed in a
NC block?