Programming instructions
NC Programming 17VRS NC Compiler Functions
12-11
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
Changing tools, including the related T call and the edge selection, must
be performed prior to activating the enhanced look-ahead function or after
it has been de-activated.
In certain program sequences and, if applicable, depending on the tool or
workpiece weight, the resulting path acceleration must be reduced.
ACC_EFF ;changing the efficient resulting path acceleration
permits the actual resulting path acceleration to be modified. This accel-
eration factor ranges from 1% through 200%.
Note:
In contrast to the ACC command, the ACC_EFF command
does not delimit the maximum path acceleration that is speci-
fied in the process parameters. It modifies the actual path ac-
celeration according to the specification.
Besides programming the path velocity via the F value, axis velocities may
also be programmed during the look-ahead function.
To specify an axis velocity, the 'F' must immediately (without blank) be
followed by the axis name.
Syntax:
F<axis name>=<axis velocity in mm/min>
Example: :
N0045 G01 X 2034 Z1 421 FZ1=4500 ;axis-related velocity
for Z1
:
Note:
If the user programs several velocities within an NC block, that
NC block and the subsequent NC blocks are executed with the
last velocity to have been specified until the next velocity in-
struction is encountered.
The command „access to current data“ ACD_COMP[...] permits the ac-
cess to current controller data (currently only NC variables) during com-
pilation.
Example: Reading the tool radius during compilation
After each dressing of a grinding wheel, a dressing program updates half
the diameter of the grinding wheel in the NC variable ‘@1:120’. During
compilation, that value must be taken into account as the tool radius.
TL_RADIUS[1,1] = ACD_COMP[@1:120]-0,2; Read tool radius from
NC variable @1:120
and subtract 0.2 mm.
Example: Needle grinding
A given polygon curve must be traversed in reciprocated movement at
highest velocity possible. This requires the velocity curve of the pro-
grammed path motion to be optimized, using the enhanced look-ahead
function.
X
Y
Fig. 12-7: Velocity curve of a polygon that is to be optimized for grinding needles
Tool management
Per cent acceleration correction
Axis-related velocities
Access to current data
in the controller