
B-63753EN/01 PMC PROGRAMMING4.OUTLINE OF HANDY MACHINE OPERATOR'S PANEL FUNCTIONS
- 77 -
4.4.5 Numeric Variable Format Specification 2 (Decimals)
These are output signals to specify the digits, accuracy and display
position of decimals of numeric variable data.
Address Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Y+22
(Reserved) (Reserved) LZERO DSPPOS DSPPRC DECCL2 DECCL1 DECCL0
Bits 0 to 2: Number of decimal digits of numeric variable data
Bit 2 Bit 1 Bit 0
DECCL2 DECCL1 DECCL0
Description
0 No decimal digits.(Integer)
0
1 Number of decimal digits is 1.
0 Number of decimal digits is 2.
0
1
1 Number of decimal digits is 3.
0 Number of decimal digits is 4.
0
1 Number of decimal digits is 5.
0 Number of decimal digits is 6.
1
1
1 Number of decimal digits is 7.
NOTE
This setting is invalid when numeric type is custom
macro variable form.
• This specification is invalid when “Custom macro variable data”
is specified to numeric type (VTYPE0 to 1)
(Example) To display the output data of the PMC window
instruction (binary form), the decimal position is
specified according to a unit as follows.
“Numeric variable data (binary form) = 123456”
Situation.
Unit The decimal position Value of numeric variable
1 0 123456
0.001 3 123.456
0.00001 5 1.23456
Bit 3: Accuracy of displayed numeric variable data
Bit 3
DSPPRC
Description
0 Round down. Last figure might be truncated.
1
Half-adjust. Round up numbers of five and above and round
down anything under five