Input/Output to/from External Devices
-68-
Data format
- 6-digit
numeric
format
Consists of 14 characters including terminators (CR = 0DH/LF = 0AH).
1 2 3 4 5 6 7 8 9 10
11
12
13
14
P1 D1 D2
D3
D4 D5 D6
D7
U1
U2
S1
S2 CR LF
- 7-digit
numeric
format
Consists of 15 characters including terminators (CR = 0DH/LF = 0AH). A parity bit can be
appended.
1 2 3 4 5 6 7 8 9 10
11
12
13
14
15
P1 D1 D2 D3
D4 D5
D6 D7
D8
U1
U2
S1
S2 CR LF
- Extended 7-digit numeric format
This is an extended version of the 7-digit numeric format and is different from the 7-digit
numeric format in that:
- the data length can be seven bits rather than eight bits, and
- the stop bit length can be one bit rather than two bits.
- If you select Japanese (katakana) for printed language, the data length is automatically set
to eight bits.
Meanings of data
[P1] (one character)
Indicates the polarity of data.
P1 Code
Description
+
2BH
Zero or positive data
- 2DH Negative
data
[D1 to D7 (or D8)] (seven or eight characters)
Numeric data is stored.
D1~D7(D8) Code
Description
0~9
30H~39H
0 to 9 (numeric)
⋅
2EH
-
Decimal
point
(floating)
-
Omitted when numeric data does not contain decimal places.
In this case, a space is output to the least significant digit.
SP (Space)
20H
-
A space heading a numeric value
-
When numeric data does not contain decimal places, a space
rather than a decimal point is output to the least significant
digit.
* -
If headed with no data, the numeric value is headed by 0 (30H) by factory default setting.
Using the function setting, it can be headed by “SP” (20H).