
B-63753EN/01 PMC PROGRAMMING4.OUTLINE OF HANDY MACHINE OPERATOR'S PANEL FUNCTIONS
- 75 -
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 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Y+21
VDTLN3 VDTLN2 VDTLN1 VDTLN0 (Reserved) (Reserved) VTYPE0 VTYPE0
Bits 0 and 1: Numeric type
Bit 1 Bit 0
VTYPE1 VTYPE0
Description
0 Unsigned binary form
0
1
Signed binary form (Negative value is expressed
by the sub number 2.)
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.