Page 74
HV/HW-C/CP Series
16.6. Using UFC (Universal Flex Coms) Function
The UFC function allows you to print out using the format enabled for the printer (UFC format).
The UFC format data can be output through an RS-232C or USB interface.
The scale can store the UFC format as text data. The format can use variable parameters as a
part of text data. Variable parameters can replace with weighing value, tare value and the like
when printed out.
The maximum number of text data is 400 characters.
To use the UFC function, it is necessary that the
PF
command be used and the UFC format
be stored as text data on the scale in advance.
When the PRINT key is pressed or auto-print mode is used, the scale prints the stored text
data after variable parameters is replaced with weighing value, tare value and the like.
Specify
,
or
to use the UFC format in the function table.
Store Text Data to the Scale
Command
P F , $ P C , ‘ T E X T ‘ , # 2 0 , $ S P 2
, & $ C R , $ L F , $ W T , $ C R , $ L F C
R
L
F
Reply
P F C
R
L
F
Terminator
The text data (the UFC format) can sent using the
PF
command
:
Variable parameters for the scale data and control codes
Parameter
Scale Data & Control Code
Parameter
Scale Data & Control Code
$ID
ID number
$CP
Comparator result
$PC
Counting number
$DT
Date for built-in printer Type CP
$WT
Current weighing value
$TM
Time for built-in printer Type CP
$TR
Current tare value
$CM
,
Comma
(
2Ch
)
$PT
Current preset tare value
$CR C
R
Carriage
Return
(
0Dh
)
$TL
Accumulation value
$LF L
F
Line
Feed
(
0Ah
)
$AN
Accumulation count
$SP
Space
(
20h
)
Note
These parameters must use capital letters.
ASCII text string
Text string is described in single quote marks
'
.
The single quote itself is written as tow single quotes.
Example
of
text
Data
:
'
Data
'
Example of text
'
Data
'
:
'
''
Data
''
'
ASCII
hexadecimal
code
The ASCII hexadecimal codes are written in the form
#
and two hexadecimal digits.
This will mainly be used to send control codes that cannot be described as a text string.
Example
of
EOT
of ASCII code
:
#04
Summary of Contents for HV-C Series
Page 89: ...HV HW C CP Series Page 87 MEMO...
Page 90: ...Page 88 HV HW C CP Series MEMO...
Page 91: ...13...