EDIT.
SHEET
DRAW. NO.
CUST.
TITLE
42
DESCRIPTIONDESIG.DATE
-80050E
(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
-This specification is invalid when “Custom macro variable data” is specified to numeric
type (VTYPE0 to 1)
Bit 3: Accuracy of displayed numeric variable data
Bit3
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
- Rounding are done according to this setting when effective number of digits below the
decimal point of numeric variable is larger than the number of digits specified with
DSPDE0-2 (Number of display columns below decimal point).
(Example) “Value of numeric variable=13.45,
Number of display columns below decimal point=1,
Number of display columns = 4 “ Situation.
DSPPRC Display of four digits
0: Round-down 1 3 . 4
1: Half-adjust 1 3 . 5
Bit 4: Display location
Bit4
DSPPOS
Description
0 Numeric variable is displayed in right justify in the display column number
specified with DSPCL0-4.
1 Numeric variable is displayed in left justify in the display column number
specified with DSPCL0-4
-When “Right justify” is specified, the character specified with LZERO is displayed on
vacant of the left side.
-When “Left justify” is specified, vacant of the right side becomes blank.
Bit 5: Character stuffed at the left of displayed numerical value
Bit5
LZERO
Description
0 The space character is stuffed with.
1 The ‘0’ character is stuffed with. When numeric variable is a negative
number, this item cannot be specified.
-When the digits of data is less than the number of display columns which specifies with
DSPCL0-4, and specifies “Right justify” with DSPPOS, this setting is effective.
02 2001.8.20 Hanaoka This page is added.