
EDIT.
SHEET
DRAW. NO.
CUST.
TITLE
40
DESCRIPTIONDESIG.DATE
-80050E
4.4.4 Numeric variable format specification1 (Data type, Data length)
These are output signals to specify the type and length of numeric variable data.
Address Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Y+21 VDTLN3 VDTLN2 VDTLN1 VDTLN0 (Reserved) (Reserved) VTYPE0 VTYPE0
Bit0 to 1: Numeric type
Bit1 Bit0
VTYPE1 VTYPE0
Description
0 Unsigned binary form0
1 Signed binary form
0
BCD (Binary Code Decimal) form
1
1 Custom macro variable data (Mantissa 4bytes+exponent
2bytes)
(a)The binary form and the BCD form
The binary form and the BCD form can be specified for a size of data within
the range from 1 to 8 bytes. The following table shows the range of the
numerical value data that can be expressed by each size.
Unsigned binary Binary
BCD
1 byte 0 to 255 -128 to 127 0 to 99
2bytes 0 to 65535 -32768 to 32767 0 to 9999
3bytes 0 to 16777215 -8388608 to 8388607 0 to 999999
4bytes 0 to 4294967295 -2147483648 to
2147483647
0 to 99999999
5bytes 0 to 1099511627775 -549755813888 to
549755813887
0 to 9999999999
6bytes 0 to 281474976710655 -140737488355328 to
140737488355327
0 to 999999999999
7bytes 0 to 72057594037927935 -36028797018963968 to
36028797018963967
0 to
99999999999999
8bytes 0 to
18446744073709551615
-9223372036854775808
to
9223372036854775807
0 to
9999999999999999
(b)Custom macro variable data (Mantissa 4bytes+exponent 2bytes)
This data type is useful for when the custom macro variable of CNC is read
by PMC window function. Mantissa 4bytes and exponent 2bytes, 6 bytes in
total specified to this data type.
02 2001.8.20 Hanaoka This page is added.