A&D BA-T Series Instruction Manual page 200

Analytical balance
Hide thumbs Also See for BA-T Series:
Table of Contents

Advertisement

Enclose an ASCII code string of your choice in single quotation marks. Character strings that can be
output are comprised of alphanumeric characters and symbols. The single quotation mark is
represented by two single quotation marks.
Example. Character string for outputting A'BC'D is 'A''BC''D'.
To output the ASCII control code, enter "# + 2 hexadecimal characters"
However, SOH (01h), STX (02h), ETX (03h), and EOT (04h) cannot be used.
Example. To output the ASCII code " acknowledgement, AK (06h)", enter #06.
By adding '* and a number (up to 2 characters)' after the command, space ($SP), C
($LF) can be repeated as many times as the number entered.
Example. To output 12 spaces, enter $SP*12.
To output 9 CRs, enter $CR*9.
By adding '&' to the end of a line when sending two or more lines of program command, the balance
determines that the program command will continue on the next line.
The balance sends an <AK> code (acknowledgement, ASCII 06h) at the end of the process.
If the command cannot be executed, an error code (EC, Exx) will be sent.
The software "Windows Communication Tools for UFC" ("WinCT-UFC") for creating program commands
is available.
Download "WinCT-UFC" from our website (
ASCII code symbols
C
: Carriage return
R
: Space
Examples of UFC program command creation
Note
See the previous page for the meanings of UFC commands and symbols.
For the data output format, refer to
The following examples "SAMPLE01.txt" and "SAMPLE02.txt" are saved in the Balance's memory.
Example 1
SAMPLE01.txt
Output
NET
+0.234567
TARE
+1.000000
GROSS
+1.234567
Example 2
SAMPLE02.txt
Output
2020/09/01 12:34:56
SAMPLE
ABC-123
WEIGHT
+2.345678
ASCII 0Dh
ASCII 20h
"19. Data Output".
Contents
Character string'NET', Line feed
g
Space×6, Net data, Line feed
Character string 'TARE', Line feed
g
Space×6, Tare data, Line feed
Character string 'GROSS', Line feed
g
Space×6, Gross data
Date, Time, Line feed
Character string'SAMPLE
g
123', Line feed
Character string 'WEIGHT
Weight data
https://www.aandd.jp
L
AK
Contents
ABC-
',
200
).
: Line feed
F
: Acknowledgment
Program command example
PF, 'NET',$CR,$LF,&
$SP*6,$NT,$CR,$LF,&
'TARE',$CR,$LF,&
$SP*6,$TR,$CR,$LF,&
'GROSS',$CR,$LF,&
$SP*6,$GR,$CR,$LF
Terminator
Program command example
PF,$DT,$TM,$CR,$LF,&
'SAMPLE
'WEIGHT',$WT,$CR,$LF
Terminator
($CR), and L
R
F
ASCII 0Ah
ASCII 06h
ABC-123',$CR,$LF,&

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ba-6teBa-6dteBa-225teBa-225dteBa-125dte

Table of Contents