- 13 -
If you will send more than 2 lines of data, attach “&” to the end of the first line. Then,
the scale considers the data to be continued.
A “Space” or “,” will be used to separate these data. You can skip them to
reduce the number of characters, but you cannot skip “,” after “PF”. You
must start with “PF,”.
Data Format for the Scale Data (
“_” shows “Space” (20H).)
Parameters for the scale data will be replaced by the format below when the scale
sends them out.
Data has a fixed number of digits including a sign and a decimal point. The
insignificant zeros are replaced by “Space (20H)”.
$WT _ _ _ + 1
.
2 3 4 _ k g 1.234 kg / 9 digit weight data + 3 digit unit
$TR
_ _ _ + 1
.
2 3 4 _ k g 1.234 kg / 9 digit tare data + 3 digit unit
$CP
O K Comparator result ”OK” / 2 characters
H I Comparator result ”HI” / 2 characters
L O Comparator result ”LO” / 2 characters
_ _ No Comparator result / 2 spaces
$OK
_ _ _ + 1
.
0 0 0 _ k g 1.000 kg / 9 digit target data + 3 digit unit
$HI
_ _ _ + 0
.
2 0 0 _ k g 0.200 kg / 9 digit HI data + 3 digit unit
$LO _ _ _ + 0 1
.
0 0 _ _ % 1.00 % / 9 digit LO data + 3 digit unit
Examples of PF command and AD-8121B Printout Sample
AD-8121B “PF”
Command
(FS-
i
Æ
AD-8121B)
(Computer
Æ
FS-
i
)
Normally the printer needs to receive the terminator, and do not forget to add
the terminator code to the end of text data.
Ωειγητ
+1.234 κγ
ΧΗΕΧΚ
ΟΚ
ΔΑΤΕ 09/18/2006
ΤΙΜΕ 12:34:56
Α&Δ ΦΣ−15Κι
PF,‘Weight’,$CR,$LF,&
$SP 4,$WT,$CR,$LF,&
‘CHECK’,$CR,$LF,&
$SP
7
,$CP,$CR,$LF,&
$CR,$LF,&
#1B,#44,$CR,$LF,&
#1B,#54,$CR,$LF,&
$CR,$LF,&
‘
~~
A&D
~
FS-15Ki’,$CR,$LF
Terminator code
"
~
" shows "Space.".