6. using ufc (universal flex coms) function – A&D Weighing HC-3Ki User Manual

Page 53

Advertising
background image

51

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

‰

The UFC function allows you to print out as you format the printer (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.

‰

Terminator for the “PF” command is "C

R

" or "C

R

L

F

".

‰

Using “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 ,

‘ T E X T ‘

, # 2 0 , $ S P

½

2 , &

$ C R , $ L F , $ W T , $ C R , $ L F C L

F

Reply ACK C L

F

The “PF” command sends text data that will include:
‰

Parameters for the scale data and control codes

Parameter

Data & Code

Parameter

Data & Code

$PC

Count

$CD

ID number in use

$WT Weight

$CP Comparator

result

$UW

Unit weight in use

$CM

Comma

$TR

Tare weight in use

$SP

Space

$TL

Total count

$CR

Carriage Return

$AN

Accumulation numbers

$LF

Line Feed

These parameters must be used in capital letters.

‰

ASCII text string

Text string is described in single quote marks as ‘Data’.
The single quote itself is written as ’’(2 single quotes).

Example: Text ‘ABC’ is described as ‘’’ABC’’’.

‰

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: #04

“EOT” of ASCII code

‰

Repeat data

The control codes $SP, $CR and $LF can be used with “ + maximum 2 digit
number”. That code will be repeated the number of times designated.

Example: $LF 9

Repeat “$LF” 9 times.

$SP 12

Put 12 “Spaces”.

‰

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.

Terminator

Advertising
This manual is related to the following products: