OUTPUT FORMAT
VIBRA HG scale provide a serial data transmission output.
These signals are transmitted by DIN type 8-pin connector on the rear panel
of the scale.
Pin 1
Pin 4 Transmitted Data Line
Pin
2
Pin 5 Signal Ground
Pin
3
Only
Pin 4 and Pin 5 are
used
for the
scale's data transmission
as
shown
by
above illustration.
Other pins
are
unavailable, because they
are
occupied
by the
scale circuit.
CONTENTS
OF THE
TRANSMITTED DATA
8-bit
words (ASCII standard character
codes), 1 start bit, 2 stop bits
and
0
or 1
parity bit.
Each time data
is
transmitted,
the
SHINKO scale sends a string
of 14 or 15
characters
as
follows:
+ or -
sign,
6 or
7-digit
display reading & decimal
point(
= 7 or 8
characters
together),
two
unit symbols,
two
status symbols,
one carriage return,
and one
line feed.
P,
D, D, D, D, D, D, D, U, U, S, S, CR, LF
P : Polarity
1
character
(+ or -)
0 : Data
7
characters,
or 8
characters
U : Unit Symbol
2
characters
(sp G or KG for
example)
S : Status Symbol
2
characters (sp) S... Data
is
stabilized
(sp) U Data
is not
stabilized
(sp) E....Error data
CR : Carriage Return
LF : Line Feed
A TYPICAL STRING
eg.
123.4
g = +, 0, 0, 1, 2, 3, ., 4, sp, G,
sp,
S, CR, LF
eg.
-65.4321
kg
=
-, 6, 5, ., 4, 3, 2, 1, K, G, sp, U, CR, LF
In these examples,
sp
represents a blank (ASCII #40,
octal),
CR
represents
a
carriage return (ASCII #15),
and LF
represents a line feed (ASCII #12).
- 28 -