Using Ufc (Universal Flex Coms) Function - A&D HC-30Ki Instruction Manual

Hc-i series
Hide thumbs Also See for HC-30Ki:
Table of Contents

Advertisement

13-7. Using UFC (Universal Flex Coms) Function

The UFC function allows you to format the print out (UFC format).
The scale can store the UFC format as text data. It will include parameters to
replace with the count data, weight data and so on.
The maximum number of text data is 384 characters.
The terminator for the "PF" command is "C
Using the "PF" command, the text data has to be sent to the scale from the
computer in advance. Then, connect the scale with the printer.
When the PRINT key is pressed or by auto-print mode A/B, the scale will send
the stored text data with the parameters replaced by the original data.
Store Text Data into the Scale Memory
Command
P F , $ P C ,
$ C R , $ L F , $ W T , $ C R , $ L F C
Reply
ACK C
The "PF" command sends text data that will include:
Parameters for the scale data and control codes
Parameter
$PC
$WT
$UW
$TR
$TL
$AN
These parameters must be used in capital letters.
ASCII text string
A text string is described in single quote marks as 'Data'.
The single quote itself is written as ''(2 single quotes).
Example:
The ASCII hexadecimal code
The ASCII hexadecimal codes are written in the form "#" + 2 hexadecimal digits.
This will mainly be used to send control codes that can't be described as a text string.
Example:
Repeat data
The control codes $SP, $CR and $LF can be used with "
number". That code will be repeated the number of times designated.
Example:
Link mark "&"
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, but
you cannot skip "," after "PF". You must start with "PF,".
L
R
F
Data & Code
Count
Weight
Unit weight in use
Tare weight in use
Total count
Accumulation numbers
Text 'ABC' is described as '''ABC'''.
#04
"EOT" of ASCII code
$LF 9
$SP 12
" or "C
L
R
R
' T E X T '
, # 2 0 , $ S P
Parameter
$CD
$CP
$CM
$SP
$CR
$LF
Repeat "$LF" 9 times.
Use 12 "Spaces".
51
".
F
L
R
Terminator
Data & Code
ID number in use
Comparator result
Comma
Space
Carriage Return
Line Feed
plus a 1 or 2 digit
2 , &
F

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hc-6kiHc-15kiHc-3ki

Table of Contents