Table 4.4.2.11 decimal point position in argument, 3 variables – Yaskawa YASNAC PC NC Programming Manual User Manual

Page 263

Advertising
background image

4 - 126

YASNAC PCNC Programming Manual

Chapter 4: Enhanced Level Commands

(d) Decimal point position in argument

An argument is usually specified with a sign and a decimal point. If a decimal point is not
specified, the decimal point position is assumed at the position indicated Table 4.4.2.11.

Table 4.4.2.11

Decimal Point Position in Argument

Note

1:

The number indicates the position of the decimal point counted from the lowest position.

2:

Numbers in ( ) indicate the number of digits right to the decimal point when the setting of

parameter “pm2004 D0 = l”.

4.4.3

Variables

Three types of variables are provided: local variables, common variables and system variables.

(1) Local Variables (#1 to #33)

Local variables are used locally for each microprogram. Each time a microprogram is called
up, new local variables (#l to #33) are secured independently for that microprogram. For the
local variables, values specified using arguments are saved or the results of operation exe-
cuted in the microprogram are saved.

For those for which an argument is passed, the value is saved and those for which argument is
not passed, the contents are <empty>. When execution of a program returns from the called
up microprogram by the execution of M99, the local variables secured, for that microprogram

Address for Argument Specification

Input in mm

Input in inches

A, C

3

3

B (without B3-digit option)

3

3

B (with B3-digit option)

0

0

D, H

0

0

E, F

0 (1)

1 (2)

I, J, K

3

4

M, S, T

0

0

Q, R

3

4

U, V, W

3

4

X, Y, Z

3

4

Advertising