"Space" or "," will be used to separate these data. You can skip them, but you
cannot skip "," after "PF". You must start with "PF,".
Data Format for the Scale Data
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)" (except the ID number).
$PC
$WT
$UW
+ 1 . 2 3 4 5 6 7
$TR
$TL
$AN
$CD
0 0 0 0 1 2
$CP
O K Result is "OK" / 2 characters
Examples of PF command and AD-8121 Printout Sample
AD-8121 (f-06-03=" 0" or "1")
(HC-i
Normally the printer needs to receive the terminator, and do not forget to add the
terminator code(s) to the end of text data.
"
+ 1 2 3 4
+ 4 . 3 2 1 0
+ 1 . 2 3 4 5
+ 9 9 9 9 9 9
1 2 3 4
1234 times / 8 digit data
ID Number 000012 / 6 digit data
Result is not available.
AD-8121)
" in examples below shows "Space" (20H).
P C 1234 pcs / 9 digit data + 3 digit unit
k g
4.3210 kg / 9 digit data + 3 digit unit
g
1.234567 g / 9 digit data + 3 digit unit
k g
1.2345 kg / 9 digit data + 3 digit unit
P C 999999 pcs / 9 digit data + 3 digit unit
"PF" Command
(Computer
HC-i )
~
PF,'ID
',$CD,$CR,$LF,&
$CR,$LF,&
'Count',$CR,$LF,&
$SP 4,$PC,$CR,$LF,&
~
'Unit
Weight',$CR,$LF,&
$SP 4,$UW,$CR,$LF,&
'Weight',$CR,$LF,&
$SP 4,$WT,$CR,$LF,&
$CR,$LF,&
#1B,#44,$CR,$LF,&
#1B,#54,$CR,$LF,&
$CR,$LF,&
~~
~
'
A&D
HC-15Ki',$CR,$LF
Terminator codes
"~" shows "Space.".
52