Yaskawa YASNAC PC NC Programming Manual User Manual

Page 303

Advertising
background image

4 - 166

YASNAC PCNC Programming Manual

Chapter 4: Enhanced Level Commands

ö Since the dwell is a timer function, it can be replaced with address U.

ú By using these variables, the example program (P2) can be written in the following man-

ner. To carry out operations by using the variables used as the address data, the data must
first be rounded off to a number that meets the minimum input unit.

In this example, when returning the Z-axis to the start point, the axis move amount speci-
fied in the axis return block must be 120.002 if the contents of #18 and #26 are –80.0006
and –40.0006, respectively with a minimum setting unit being 0.001 mm. Otherwise the
Z-axis cannot be returned to the start point.

If ROUND function is not used, rounding off is executed for the result of operation; that
means the Z-axis move distance in the return block is calculated to be: 120.001”.

Advertising