GX-A series
GF-A series
GX-AE series

Communication Manual

1WMPD4003801A

Caution
1) Unauthorized reproduction of any part or all of the contents of this document is strictly prohibited.
2) The contents of this document are subject to change without notice.
3) If you have any doubts about or notice any mistakes in the contents of this document, please contact
your dealer or our nearest sales office.
4) As for any claims for damages, loss of profit, etc. related to the operation of this machine regardless ofthe proposed actions from above-mentioned clause 3), our company bears no responsibility withregard to such claims.
© 2019 A&D Company, Limited.
Do not copy or modify this document without the permission of A&D Company, Limited.

Microsoft, Windows, Excel, Word are trademarks of the Microsoft Corporation registered in the UnitedStates and other countries.

Table of contents
1.

Introduction .................................................................................................................................... 2
Applicable models ................................................................................................................... 2
Features of the communication function ................................................................................. 2
Using standard RS-232C / extension RS-232C interface .................................................... 3
1-2-2. Using standard USB interface.............................................................................................. 4
1-2-3. Connecting multiple peripheral devices ............................................................................... 4

2.

Interface specifications................................................................................................................... 5
RS-232C ................................................................................................................................. 5
USB ........................................................................................................................................ 6

3.

Connecting Peripheral Devices ...................................................................................................... 7
3-1.

Cables needed to connect to peripheral devices .................................................................... 7

3-2.

About data output method ....................................................................................................... 8Specific examples when connecting multiple peripheral devices at the same time.............................. 94.

5.

Printing Weighing Values To the Printer ....................................................................................... 13
4-1.

In case of AD-8127 ............................................................................................................... 13

4-2.

In case of AD-8126 ............................................................................................................... 14

Connecting to a PC or a PLC ....................................................................................................... 15
Quick USB mode .................................................................................................................. 15
Virtual COM mode ................................................................................................................ 16
RS-232C ............................................................................................................................... 17
WinCT data transmission software (USB Virtual COM mode or RS-232C)........................... 17
Notes when using quick USB ................................................................................................ 18

6.

Data output .................................................................................................................................. 19
Data output mode ................................................................................................................. 19
Weighing data format ............................................................................................................ 21
Output examples of weighing data format ............................................................................. 24
Other data formats ................................................................................................................ 26

7.

Commands ................................................................................................................................... 28
Control commands ................................................................................................................ 28
The <AK> code and error codes ........................................................................................... 31
Command usage examples .................................................................................................. 32

8.

Error codes .................................................................................................................................. 37
Error codes list ...................................................................................................................... 37

9.

The UFC function ......................................................................................................................... 39
UFC program commands ...................................................................................................... 39
Examples of creating UFC program commands ................................................................... 41

10. Internal settings ............................................................................................................................ 42
How to set ............................................................................................................................. 42
List of items (communication entries only) ............................................................................ 44
11. Key lock function .......................................................................................................................... 47
Locking all key switches ........................................................................................................ 47
Locking specified key switches ............................................................................................. 48
12. Checking the software version of the balance .............................................................................. 49
1

1. Introduction
This communication manual is a supplementary instruction manual for connecting the balance to peripheraldevices such as PCs and printers through the use of its communication function.
Operations differ depending on the software version of the balance. To confirm the software version, refer tosection "12. Checking software version of the balance".

Applicable models
Models to which the contents of this communication manual apply are as follows.
□

GX-A Series□ GF-A Series□ GX-AE Series

Features of the communication function□

Standard RS-232C
The RS-232C interface is provided as standard, enabling communication similar to conventionalbalances.

[Balance rear side]□Standard USB
A USB interface is provided as standard and you can select between a quick USB for inputting theweighing result directly into the PC software or bi-directional communication using a virtual COM port.

[Balance rear side]□

EXTENSION RS-232C
By using the GXA-03: RS-232 C interface isolation type, which is a specialized option, an RS-232C
interface can be added.

[Balance rear side]2

1-2-1. Using standard RS-232C / extension RS-232C interface
A variety of peripheral devices described in “Table 1-2-1” can be connected.
Table 1-2-1. Examples of connectable peripherals
Peripheral device
Name

Model *1

Mini printerAD-8126

Multi-functional

AD-8127

printer

ExampleThe balance can be wirelessly connected to the printer by using theoptional AD-8529PR-W (Bluetooth converter).

Remote display

AD-8920A

Remote controller

AD-8922A

An additional printer can be connected to the AD-8922A.

Remote controller

AD-8923BCD

The BCD output from the AD-8923-BCD allows the weighing value

for weighing lines

to be imported to the PLC.
AD-8923CC

The weighing data can be imported to the PLC by the CC-Link of
the AD-8923-CC.

PLC

In addition to connecting to the PLC via RS-232C, weighing values
can be imported to the PLC via BCD or CC-Link using a remotecontroller or extension controller for weighing lines.

PC*1

The following products are available according to your needs.
Name

Model *1

USB convertor / cable set

AX-USB-9P*2

Bluetooth convertor

AD-8529PC-W*2

Weighing data loger

AD-1688*3

Quick USB adapter

AD-8527*3

These are representative models as of April 2019. These are subject to change due to the launch or
discontinuation of products. For details, refer to the catalogs of each product.

*2

The device driver and application for importing data such as Win CT must be installed on the PC*3

There is no need to install the device driver or application on the PC.
(The balance cannot be controlled from a PC.)3

1-2-2. Using standard USB interface
Connection can be made to a PC without additional cost. The operation mode of the PC and USB
communication can be selected from quick USB mode and bi-directional USB (virtual COM) mode by thefunction setting UFnc of the balance.
For details, refer to “5.Connecting to a PC or a PLC”.
Table 1-2-2

Contents of USB operation mode

USB operation mode
Quick USB mode

Contents
Manual installation of device drivers is not required, and weighing values
can be entered directly into an application, such as Excel or Word.

Bi-directional USB（virtual

USB can be used like RS-232C.

COM）mode

The balance can be controlled from your PC.
It is necessary to install on the PC the device driver and application (suchas Win CT) to import the weighing data.

1-2-3. Connecting multiple peripheral devices
Multiple peripheral devices can also be connected to the balance at the same time, as follows.
［1］Printer and PC［2］Printer and remote display, etc.
［3］Remote display and PC.
［4］Remote display or remote controller and PLC.
For details, refer to “3-2. About data output method” and “3-3. Specific examples when connecting
multiple peripheral devices at the same time” in “3. Connecting Peripheral Devices”.

4

2. Interface specifications
RS-232C
Connector:

D-Sub 9-pin (male)Transmission system:

EIA RS-232C

Transmission form:

Asynchronous, two-way, half-duplex transmission

Data transmission rate:

About 5 times per second (ca. 5.21 Hz), about 10 times per second (ca.
10.42 Hz), about 20 times per second (ca. 20.83 Hz)

Signal format(Linked with the internal setting “bA5Fnc／5Pd”)
600, 1200, 2400, 4800, 9600, 19200, 38400 bps
7 or 8 bits
EVEN or ODD (Data bit length 7 bits)
NONE (Data bit length 8 bits)
1 bit
ASCII

Baud rate
Data bits
ParityStop bits
Code

Format of 1 character
St

0

1

(Data bit length234

7 bits)
5

LSB

6

P

Sp

MSB

-5V ~ -15V0

+5V ~ +15V

Stop bit

Data bits

Start bit

1

Parity bit

D-Sub 9, pin arrangement
Pin No.

SignalDirection

nameMeaning, remarks
N.C. (same potential

1

-

-

2

RXD

OutputTransmitted data

3

TXD

Input

Received data

4

-

-

N.C.

5

SG

-

Signal ground

6

DSR

OutputData Set Ready

7

RTS

Input

Request to Send

8

CTS

OutputClear to Send

9-

OutputN.C. (12V Output) *1

with SG) *1

8

7

5 4

3

9

6

The signal name is the name of the DTE side.
Connection diagram (when connecting to a PC)
Balance (DCE)

PC (DTE)RXD

Pin No.
2

RXD

TXD

3

TXD

RTS

7

RTS

CTS

8

CTS

DSR

6

DSR

SG

5

SG

2

1

Inch screw #4-40 UNC

5*1

For use with some A&D products.
Do not connect the cables to other manufacturers’ products such as a PC and PLC.
Using the wrong connection cable may damage the device. Be sure to check the compatible cable.

USB
Connector:

Mini B (female)Standard:

USB 2.0

Device class:

HID (Human interface device) : Quick USB
CDC (Communication device class) : Virtual COM

Mini B, pin arrangement
Pin No.

Signal name

Direction

Meaning, remarks

1

VBUS

Power (connection confirmation)

2

D-

Input
-

3

D+

-

Data transmission and reception

4

ID

-

N.C.

5

GND

-

Signal ground

Data transmission and reception

5 4 3 2 1

6

3. Connecting Peripheral Devices
It is possible to connect the balance to peripheral devices, PCs, PLCs, etc. by using the RS-232C connector
and the USB mini B connector which are provided as standard with the balance.

3-1. Cables needed to connect to peripheral devices
Connection cables for peripheral devices and interfaces are as follows.
Table 3-1-1.

Connection cables for peripheral interface
Model

Name
Mini printerAD-8126

Multi-function
printer

AD-8127

Remote display

AD-8920A

Remote controller

AD-8922A

Extension
controller forweighing lines

AD-8923BCD
AD-8923CC

Connection cables

Communicationinterface

Standard / Option[Standard]
RS-232C cable included
with the printerStandard
RS-232Cor
Extension
RS-232C[Standard]Communication cableincluded with remote display
or remote controller[Option]Standard
RS-232Cor
Extension
RS-232C

Note

AX-KO1710-200
AX-KO2741-100*1AX-KO3412-100*2AX-KO2466-200*2

AX-KO2466-200[Option]

PLC*3[Option]Standard
RS-232COr
Extension
RS-232C

PC

Model

*4

[Standard]
USB cable included with thebalanceStandard USB

AX-KO5465-180

Note
*1

When using the AD-8529PR-W (Bluetooth converter) sold separately, the RS-232C cable included
with the printer is not used.

*2

There is also a 5m / 10m cable sold separately.

*3

Check the interface specifications of the GX-A / GF-A / GX-AE and the PLC used and prepare acompatible cable.

*4

The balance can be connected to a PC using AX-USB-9P, AD-8529PC-W, AD-1688 and AD-8527.
The connection cable included with these products can be used for data transfer.

7

3-2.

About data output method

Change the internal setting of the balance to make the operation method that which is suitable for use withthe balance.
Refer to “10. Internal Settings” for details of the internal settings.
1）The weighing data output method using the standard RS-232C/extension RS-232C /standard USB
interface can be specified in the “Data output mode (Prt)” of the internal setting.
Table 3-2-1 Data output mode
Class
dout

Item
Prt
Data output
mode

Parameter

Description0

Key mode1

Auto print A mode2

Auto print B mode3

Stream mode

4

Key mode B mode

5

Key mode

6Interval mode

C modeOutputs if stable when PRINT key is pressed.
Automatically outputs after stabilization (zero is thestandard).
Automatically outputs after stabilization (based on
previous stable value).
Continuously outputs
Immediately outputs regardless of being stable orunstable when PRINT key is pressed.
When PRINT key is pressed, outputs
immediately if stable, outputs after stabilization if
unstable.
Starts output with PRINT key, outputs at time ofsetting.

2）Precautions when connecting multiple peripheral devices at the same time.
Peripheral devices such as the remote display, remote controller, and extension controller for weighinglines in Table 3-1-1 display the weighing value in real time. So the balance is normally operated in acontinuous output mode (stream mode).
Conversely, when connecting a peripheral device such as a printer, PLC, or PC, if the balance is set tostream mode (the weighing value is output continuously), it may be difficult to use.For peripheral devices
that operate in stream mode and other peripheral devices connected at the same time, the standard RS232C and expansion RS-232C internal setting ("ModE") is provided to enable exceptional operationaccording to the connected peripheral device.
Table. 3-2-2

Internal setting.

Class
5 IF

Op-5 iF

Item
ModE

Description
Data output mode

Parameter
0PC, PLC, etc.

Follow dout Prt setting

Printer

Follow dout Prt setting

Regardless of dout Prt,
enter stream mode

Devicesconnected tostandard
RS-232C

1

2

Remotedisplay, etc.

ModE

0

PC, PLC, etc.

Follow dout Prt setting

Printer

Follow dout Prt setting

Remotedisplay, etc.

Regardless dout Prt,
enter stream mode

Devicesconnected toadditional
RS-232C*1Function of Internal setting "ModE"

1

2

Data format
Follow 5 iF typE setting
Follow 5 iF typE setting(A&D standard, DP only
selectable)
Regardless of 5 iF typE,
output with A&D standard
format *1
Follow Op-5 iF typE setting
Follow Op-5 iF typE setting(A&D standard, DP only
selectable)
Regardless of Op-5 iF typE
output with A&D standard
format *1

Only the weighing value is output continuously.
Date, time (Prt ／5-td), ID number (Prt ／ 5- id) are not added, and data output interval (PU5E),
auto feed (At-F), GLP output (inFo) functions cannot be used.
8

Specific examples when connecting multiple peripheral devices at the same time(1) Connecting to a printer and PC
Example of use) Outputs the weighing value to the printer and imports the weighing value at the sametime.
Table 3-3-1 Example of simultaneous connection settings［1］”Printer and PC”
Connection method
Connected
Interfacedevice（Common setting）
Standard
RS-232C

PrinterStandard USB

PC

Expansion
RS-232C[None]

Internal settings compatible with connection interface / connected device
Classification
SettingParameter
Contents
item
item
Select the data output mode suitable for the
dout
Prt
0-6
usage / settings of the printer / PC *1
ModE
1
Select the data output format suitable for the
5 IF
settings / usage of the printer (A&D standard
typE
0,1
format, DP format)
U5b
U-Tp
Select an output format that is easy for your PC
0-4
to handle.

*1 The data output mode is common to the printer and PC.
The balance printer is the mini printer AD8126 or the multi printer AD8127.
Printer (eg.AD-8127)

Balance
RS-232C

RS-232C
Printer (back side)(eg.AD-8127)

Balance(back side)USB
PC

If only the balance is connected to the PC, it can also be connected using a USB cable or RS-232C cable.
PC (back side)

RS-232C connection example:
Balance(back side)

If the PC does not have an RS-232C
interface (COM port), a USB converter (AXUSB-9P) can be used.
9［2］Connection between printer and remote display
Example of use）Print the weighing value on the printer while displaying the measured value on the
remote display.
Table 3-3-2 Example of simultaneous connection settings［2］”Printer and external display, etc.”
Connection method
Connected
InterfacedeviceStandard
RS-232C

PrinterStandard USB
Expansion
RS-232C[None]
RemotedisplayInternal settings compatible with connection interface / connected device
Classification Setting
Parameter
Contents
item
item
Select the data output mode suitable for the settings
dout
Prt
0-6
/ usage of the printerModE
1
Select the data output format suitable for the
5 IF
settings / usage of the printer (A&D standard
typE
0,1
format, DP format)
Op-5 iF

2

ModE

Weighing values are continuously output to theremote display in A&D standard format.

Connect a remote display dedicated to the balance when checking the weighing value or performing key
operations at a distance from the balance.
The remote display dedicated to a remote is the external display AD-8920A (display only) and a remotecontroller AD-8922A.
Remote display (AD-8920A）

RS-232C

Remote controller (AD-8922A)

BalancePrinter (back side)（eg. AD-8127）
RS-232C
Balance(back side)

RS-232C
Remote display(back side)（eg. AD-8922A）

It is also possible to connect a printer to a remote controller (AD-8922A). For details, please refer to the
AD-8922A instruction manual.
Remote display (back side)（AD-8922A）

RS-232C
Balance(back side)

RS-232C
10

Printer (back side)（eg. AD-8127）

［3］Connection between remote display and PC
Example of use) Logging the weighing value on the PC while displaying the weighing value on the
remote display.
Table 3-3-3 Example of simultaneous connection settings［3］[External display and PC]
Connection method
Connected
InterfacedeviceStandard
Remote
RS-232C
displayStandard USB

PC

Expansion
RS-232C[None]

Internal settings compatible with connection interface / connected device
Classification Setting
Parameter
Contents
item
item
Weighing values are continuously output to the
5 IF
ModE
2
remote display in A&D standard format.
dout
Prt
Select data output mode suitable for PC logging
0-6
method.
U5b
U-Tp
Select an output format that is easy for your PC
0-4
to handle.

Remote display unit（back side）（eg. AD-8922A）
RS-232C
Balance (back side)

USB

PC

［4］Connection between remote display or remote controller and PLC
Example of use）Reading the weighing value with the PLC while displaying the weighing value with theremote controller.
Table 3-3-4 Example of simultaneous connection settings［4］”Remote display or remote controller and PLC”
Connection method
Connected
InterfacedeviceStandard
Remote
RS-232C
controllerStandard USB[None]
Expansion
PLC
RS-232C

Internal settings compatible with connection interface / connected device
Classification Setting
Parameter
Contents
item
item
Weighing values are continuously output to the
5 IF
ModE
2
remote controller in A&D standard format.
dout

Prt

Op-5 iF

ModE
typE

0-6
0
0-5

Select data output mode suitable for the PLC
settings / usage.
Select an output format that is easy for your PLC
to handle.

When connecting [Remote display unit or Remote controller] and [PLC] to the balance, each device must beconnected via the RS-232C interface. Please connect the remote display and remote controller with thestandard RS-232C, install the dedicated option GXA-03 (extension RS-232C) on the balance, and connect
the PLC with the extension RS-232C of GXA-03.

11

Remote display unit（AD-8920A）
Standard RS-232C

Remote controller (AD-8922A)

Remote controller（eg. AD-8922A）

Expansion RS-232C

Balance + GXA-03

PLC

Remote display / Remote controller (back side)(eg. AD-8922A)
Standard
RS-232C
PLC
Balance（back side）
Expansion
RS-232C* Check the PLC to be used for theconnection connector on the PLC side.

12

4. Printing Weighing Values To the PrinterThe following shows examples of the balance’s internal settings and printer settings corresponding to thetype of printer used and the printing method such as weighing value.

4-1. In case of AD-8127
1）When printing only weighing value
Table 4-1-1 Balance common settings when printing only weighing values on the AD-8127
Classification
item
5 IF

Setting item

Parameter

Contents

ModE

1

Printer connection

typE

0

A&D standard format

Table 4-1-2 Settings when printing only weighing values on the AD-8127
Weighing value printing
methodPrint the weighing value
when the PRINT key on
the balance is pressed.
Automatically print theweighing value when theweighing value changes.
Print the weighing value atregular intervals.
Print the weighing value
when the printer’s[ﾛ+-０PRINT] key is pressed.
Print the weighing value inchart format.

Internal setting of the balance
dout
/Prt

AD-8127 internal setting

Contents

0451

PRN MODE

Key mode（when stable）
Key mode
B mode（immediate） *1
Key mode
C mode（After stable）
Auto print A mode (zero standard)
Auto print B mode（Previous stability
criteria）

2

Contents

EXT.KEY

External key
printing mode

*1

6Interval mode3

Stream mode

*1

MANUAL

Manual printing
mode

3

Stream mode

*1

CHART

Chart printing
mode

*1

Unstable data is also output.
To set to the AD-8127 to a mode other than dump print mode and print unstable data too, change theinternal setting of the AD-8127 to “Setting to print unstable data (US PRN／PRINT)”
2）When adding date/time or ID number, etc. to the weighing value by the clock function of the balance.
Table 4-1-3

Common settings for the balance when printing with information in addition to the weighing value
added to the AD-8127

Classification
item
5IF

Setting item

Parameter

Contents

ModE

1

Printer setting

typE

1

DP format

Table 4-1-4 Settings when printing with information in addition to the weighing value added to the AD-8127.
Weighing value printing
methodPrint the weighing value
when the PRINT key
on the balance is pressed.
Automatically print theweighing value when theweighing value changes.
Print the weighing value atregular intervals.

□

2

Internal setting of the balanceContents
Key mode（when stable）
Key mode
B mode（immediate） *7
Key mode
C mode（After stable）
Auto print A mode (zero standard)
Auto print B mode（Previous stability
criteria）

6

Interval mode

dout /Prt
0
4
5
1

*7

Printing with printer keys and chart format printing are not possible.

13

AD-8127 Internal setting
PRN MODE
Contents

DUMP

Dump print mode3）When outputting information other than weighing values
When printing calibration / calibration test maintenance records (GLP output), or when the balance
outputs statistical calculation results calculated on the balance, change the printer to dump print mode.
Table 4-1-5

AD-8127 settings when printing information other than weighing values on the AD-8127.
AD-8127 Internal setting□

PRN MODE

Contents / usage

DUMP

Dump print mode

Switching the print mode (PRN MODE) of the AD-8127
When pressing and holding the [ENTSAVE] key on the printer, it is possible to switch between EXT.KEY(external key mode) and DUMP (dump printing mode) without entering the AD-8127 internal setting.

4-2.

In case of AD-8126

The AD-8126 prints the received data as is (dump printer).
1）Common settings
Table 4-2-1. Common settings for the balance when connecting to the AD-8126.
Classification
item
5IF

Setting item

Parameter

Contents

ModE

1

Printer connection

typE

1

DP format2）Balance settings corresponding to the weighing value printing method
Table 4-2-2. Settings for printing weighing value on the AD-8126
Weighing value printing
methodPrint the weighing value
when the PRINT key on
the balance is pressed.
Automatically print theweighing value when theweighing value changes.
Print the weighing value atregular intervals.

□

Balance internal setting
dout/Prt

Contents

0
4
5
1

Key mode（when stable）
Key mode
B mode（immediate）
Key mode
C mode（After stable）
Auto print A mode (zero standard)

2

Auto print B mode（Previous stability criteria）

6

Interval mode

With the AD-8126, printing with the printer key and chart printing are not possible.

145. Connecting to a PC or a PLC
Quick USB mode
Quick USB mode is a function used to connect the balance with the PC using a USB cable to directly input
the output data of the balance into PC software such as Excel or Word. Windows 7 or later is supported.
Since the balance uses a standard Windows driver (HID), no installation of a special driver is necessary andcommunication is possible just by connecting the balance to a PC.

Caution□ Quick USB is a one-way communication from the balance to the PC. It is not possible to send control
commands from the PC to the balance.
□ Turn off the PC’s screen saver and stand-by modes.
□ Do not use quick USB when the output mode of the balance is set to stream mode.
As stream mode continuously outputs weighing data to the PC from the balance, irregular operation may
occur on the PC.
□ In software version 1.211 or later, "Quick USB ALL" and "Quick USB NU" are integrated in the internalsetting UFnc as shown below.
Software version 1.200

UFnc 0UFnc 1
UFnc 2

Software version 1.211 or later

Quick USB ALL

UFnc 0UFnc 1

Quick USB NU
Bi-directional USB virtual COM

Quick USB
Bi-directional USB virtual COM
None□ Refer to section "12. Checking the software version of the balance" for how to confirm the software
version of the balance.

About the output format for USB□ When using USB, the output format is selected at internal setting U-tp.
In software version 1.211 or later, U-tp 4 (NU2 format) is added to the internal settings.
Internal setting

Output format

ExampleU-tp 0A&D standard format

S T , + 0 0 1 2 3 . 4 5 _ _ g

U-tp 1

NU format+ 0 0 1 2 3 . 4 5

U-tp 2

CSV format

S T , + 0 0 1 2 3 . 4 5 , _ _ g

U-tp 3

TAB format

S T

U-tp 4NU2 format

1 2 3 . 4 5+ 0 0 1 2 3 . 4 5_ means space.

CR means ASCII: 0Dh code.

LF means ASCII: 0Ah code.

TAB means ASCII: 09h code.

_ _ g□ When output is the same as quick USB NU in software version 1.200, set to U-tp 1 (NU format) or Utp 4 (NU2 format).
□ Refer to section "6-2. Weighing data format" for details of output format.

15

Operating instructions (when sending weighing data using the balance's

PRINT

key)

1. Set the internal setting UFnc of the balance to 0 (Quick USB).
2. Connect the balance to a PC with the supplied USB cable.
3. When connecting for the first time, the PC will automatically start installing the driver.
4. Start up PC software (Excel, etc.) for transmitting the weighing data.
5. Set the keyboard input mode to half-width. It is not entered correctly in full-pitch setting.
6. Move the cursor to the place you want to input the weighing data.
7. When you press the PRINT key on the balance, weighing data will be transmitted from the balance
and input at the location of the cursor.
8. Disconnect the USB cable when finished.

Virtual COM mode
Virtual COM mode is a function used to connect the balance with the supplied USB cable and create a COM
port on the PC side for bi-directional communication. Windows 7 or later is supported. Except for Windows
10, when using for the first time, you need to install a special driver on the PC.
For details on how to install the driver, please refer to "How to install the Virtual COM mode driver" for the
GX-A / GF-A series USB interface on our website (https://www.aandd.jp).
When selecting a COM port with Win CT data communication software, the same data communication as
RS-232C will be available.
With Virtual COM mode, no settings for baud rate, data bits, parity and stop bits are necessary.
Caution□ It may take time to install the driver for "Virtual COM mode" the first time.

About internal settings□ When using Virtual COM mode, please put the balance’s internal setting UFnc to bi-directional USB
virtual COM.
Software version 1.200
UFnc 2

Software version 1.211 or later

Bi-directional USB virtual COM

UFnc 1

16

Bi-directional USB virtual COM

RS-232C
The RS-232C interface of the balance is the DCE (Data Communication Equipment) that can be connected
to a PC. The RS-232C cable used for connection is the straight type. If there is no RS-232C connector on
the PC, please connect in USB Virtual COM mode.

WinCT data transmission software (USB Virtual COM mode or RS-232C)
When a PC is connected through a USB connection in virtual COM mode or with a RS-232C cable, weighing
data can be easily received by the PC with the use of the WinCT data communication software for Windows.
WinCT can be downloaded from our website (https://www.aandd.jp). Please refer to "Setup manual"and "Operation manual" for WinCT on our website (https://www.aandd.jp) for installation and setup.
There are 3 applications in WinCT : RsCom, RsKey and RsWeight.
RsCom□ You can control the balance by sending a command to it.
□ Received data can be displayed and saved as a text file (.txt).
□ By executing the software multiple times, you can communicate with multiple balances.
□ It can be executed simultaneously with other applications. (Does not exclusively occupy the PC)□ GLP output data can also be received from the balance.
RsKey□ Weighing data from the balance can be input directly into another applications.
□ If input by keyboard (e.g. with Word or Excel) is possible, the type of application does not matter.
□ GLP output data from the balance can also be input.
□ The PC can be made into an external display for the balance through the use of the test display function.
RsWeight□ Received data can be graphed in real time.
□ Parameters of received data such as maximum value, minimum value, average value, standard deviation,coefficient of variation, etc. can be calculated and displayed.

17

Notes when using quick USB
If software version 1.211 is used, the data may not be output from the USB terminal when you connect a
USB cable during weighing to output by quick USB.
In this case, reset the balance by the following steps.

Instructions when data cannot be output with quick USB
1. Unplug the AC adapter from the balance.

2. Connect the balance and the PC via a USB cable.

USB

BalancePC

3. Plug the AC adapter into the balance.

4.

LEVEL

indicator blinks.

U5b(U5b illuminates at the upper left.)
5. Press the

ON:OFF

6. Press the

PRINT

LEVEL

key to display weighing mode.

key on the balance to output the data to the

OutputPC.
ST,+00000.00 g

18

6. Data output
Data output mode
As for the balance’s data output timing, it can be changed with the internal setting prt (data output mode).

Key mode
If thePRINT

Internal setting

dout Prt 0

key is pressed when the stable value mark is displayed, the weighing value will be output

once. At that time the displayed weighing value will blink once to indicate that it had been output.

Auto print A mode

Internal setting

dout Prt 1

When the weighing value exceeds the range specified by the internal setting Ap-p (auto print polarity) andthe internal setting Ap-b (auto print width) from the standard "zero display" and the stable value mark is on,
the weighing value will be output once. Also, if thePRINT

key is pressed while the stable value mark is

on, the weighing value will be output once.
At that time the displayed weighing value will blink once to indicate that it had been output.
Related internal settings
dout Ap-p

Auto print polarity

dout Ap-b

Auto print width

Auto print B mode

Internal setting

dout Prt 2

When the weighing value exceeds the range specified by the internal setting Ap-p (auto print polarity) andthe internal setting Ap-b (auto print width) from the standard "value previously displayed with a stable valuemark" and the stable value mark is on, the weighing value will be output once. Also, if thePRINT

key ispressed while the stable value mark is on, the weighing value will be output once. At that time the displayed
weighing value will blink once to indicate that it had been output.
Related internal settings
dout Ap-p

Auto print polarity

dout Ap-b

Auto print width

Stream mode

Internal setting

dout Prt 3

Regardless of the presence or absence of the stable value mark, weighing value will be output for eachinternal setting 5pd (display rewrite cycle). When the internal setting is 5pd 0 (5 times / sec), the output is
at approximately 5.21 Hz.
Related internal settings
bA5Func 5pd

Display rewrite cycle

5 iF

Baud ratebp5

Caution□ Depending on the display rewrite cycle and the baud rate, all data may not be transmitted unless thebaud rate is increased.

19Key mode B mode

Internal setting

Regardless of the presence or absence of the stable value mark, when the

PRINTdout Prt 4
key is pressed, theweighing value will be output once.
At that time the displayed weighing value will blink once to indicate that it had been output.

Key mode C mode
When thePRINT

Internal setting

dout Prt 5

key is pressed and the stable value mark is displayed, the weighing value will be output

once. In case the stable value mark is not displayed, the weighing value will be output once the stable value
mark is displayed next time.
At that time the displayed weighing value will blink once to indicate that it had been output.

Interval mode

Internal setting

dout Prt 6

Regardless of the presence or absence of the stable value mark, values will be output at an interval of theinternal setting int (interval time). By pressing thePRINT

key, data output is started and stopped bypressing it again during the data output.
Related internal settings
dout

int

5 iF bp5

Interval time
Baud rate

Caution□ Depending on the interval time and the baud rate, all data may not be transmitted unless the baud rateis increased.

20

Weighing data format
As for the balance’s weighing data output, for USB it can be changed by the internal setting U-tP (USB data
format) and for RS-232C – by the internal setting typE (data format).

A&D standard format

RS-232C connection ：Internal setting
USB setting ：Internal setting

5 iF typE 0
U5b U-tp 0□ This is the standard format for sending data to peripheral devices.
□ Consists of 15 characters (excluding the terminator).
□ The condition of the data is indicated with a 2-character header.
□ The data is padded with polarity and zeros (filling the data’s higher order’s surplus part with zeros).
□ If the data is zero, the polarity is positive.
□ The unit consists of three characters.
S

T

,

+

0

0

1

Header

2

3

.

4

5

_

Data

_

g

CR LF

Unit

S

T

When stable

U

S

When unstable

Q

T

Counting mode when stableO

L

When overloaded_

Terminatormeans “space”<CR> is the ASCII: 0Dh code
<LF> is the ASCII: 0Ah code

□ The external key print mode of the AD-8127 multi-function printer is as follows when the A&D standard
format is received.:

WT 123.45 g

DP format (Dump print)

RS-232C connection ：Internal setting
USB connection ：No function

5 iF typE 1□ This format is suitable for dump printing.
□ Consists of 16 characters (excluding the terminator).
□ The condition of the data is indicated with a 2-character header.
□ The polarity sign is added right before the data if the data is not overloaded or zero.
□ The data is zero-suppressed (leading zeros are replaced with spaces).
□ The unit consists of three characters.
W

T

_

_

_

_

Header

+

1

2

3

.

4

5

Data

W

T

When stable

U

S

When unstable

Q

T

Counting mode when stable

_

_

g

CR LF

Unit
_

21

means “space”

TerminatorKF format

RS-232C connection ：Internal setting
USB connection ：No function

5 iF typE 2□ This is the Karl-Fischer moisture meter format.
□ Consists of 14 characters (excluding the terminator).
□ Has no header characters.
□ The polarity sign (1 character) is placed before the data if the data is not overloaded or zero.
□ The data is zero-suppressed (leading zeros are replaced with spaces).
□ When stable, the unit is output. When not stable, the unit is not output.
+

_

_

_

1

2

3

.

4

5

_

g

_

Data
_

Unit

means “space”

MT format_

CR LF
Terminator

_

g

_

_

With the unit when stable

_

_

_

_

No unit when unstable

RS-232C connection ：Internal setting
USB connection ：No function

5 iF typE 3□ Used when connecting to devices manufactured by other companies. However, there is no guarantee ofcompatibility.
□ The length of data depends on the length of the unit
□ Has a 2-character header.
□ The data is zero-suppressed (leading zeros are replaced with spaces).
S

_

_

_

_

_

Header

1

2

3

.

4

5

_

Data

Unit

S

_

When stable (Output with a command)S

D

When unstable (Output with a command)

S

I

_

_

When overloaded
When stable (Output with the_D

When unstable (Output with the

NU format

g

PRINT

_

CR LF
Terminatormeans “space”

key)

PRINT

key)

RS-232C connection ：Internal setting
USB setting ：Internal setting

5 iF typE 4
U5b U-tp 1□ This format outputs only numerical data.
□ Consists of 9 characters (excluding the terminator).
□ The data is padded with polarity and zeros (filling the data’s higher order’s surplus part with zeros).
□ If the data is zero, the polarity is positive.
+

0

0

1

2
Data

3

.

4

5

CR LF
Terminator

22

CSV format

RS-232C connection ：Internal setting
USB connection ：Internal setting

5 iF typE 5
U5b U-tp 2□ Separates the data of A&D standard format and the unit by a comma (,).
□ Outputs the unit even when the data is overloaded.
□ When the decimal point is set to comma (,), semicolon (;) will be used as the separator.
S

T

,

+

0

0

1

2

3

.

4

5

,

_

_

g

CR LF

□ When other data is added to the weighing value, all data will be displayed in one line.
□ The display sample will be as follows if the ID number, data number, date and time are added.

SAMPLE-0123-4,No,012,2017/07/01,12:34:56,ST,+00123.45, g
ID number

Data number

TAB format

Date

Time

Weighing data

RS-232C connection ：No function
USB connection ：Internal setting

U5b U-tp 3□ This is a format, in which the separator of the CSV format is changed from comma to TAB.
ST TAB +

0

0

1

2

3

.

4

5 TAB _

_

g

CR LF

<TAB> is the ASCII : 09h code

NU2 format

RS-232C connection ：No function
USB connection ：Internal setting□ Weighing values are output only as numerical data.
□ If the data is zero or positive, polarity is not added.
1

2

3

.

Data

4

5

CR LF
Terminator23

U5b U-tp 4

Output examples of weighing data format
When stable

A&D

S

T

,

+

0

3

1

4

2

.

0

6

_

_

g

CR LF

DP

W

T

_

_

_

+

3

1

4

2

.

0

6

_

_

g

KF

+

_

_

3

1

4

2

.

0

5

_

g

_

_

CR LF

MT

S

_

_

_

_

3

1

4

2

.

0

6

_

g

CR LF

NU

+

0

3

1

4

2

.

0

6

CR LF

NU2

3

1

4

2

.

0

6

CR LF

CR LF

When unstable

A&D

U

S

,

-

0

0

2

9

5

.

8

7

_

_

g

CR LF

DP

U

S

_

_

_

_

-

2

9

5

.

8

7

_

_

g

KF

-

_

_

_

2

9

5

.

8

7

_

_

_

_

CR LF

MT

S

D

_

_

_

-

2

9

5

.

8

7

_

g

CR LF

NU

-

0

0

2

9

5

.

8

7

CR LF

NU2

-

0

0

2

9

5

.

8

7

CR LF

CR LF

When overloaded(plus)
A&D

O

L

,

+

9

9

9

9

9

9

9

E

+

1

9

CR LF

DP

_

_

_

_

_

_

_

_

E

_

_

_

_

_

_

_

KF

_

_

_

_

_

_

H

_

_

_

_

_

_

_

CR LF

MT

S

I

+

CR LF

NU

+

9

9

9

9

9

9

9

9

CR LF

NU2

+

9

9

9

9

9

9

9

9

CR LF

CR LF

When overloaded(minus)
A&D

O

L

,

-

9

9

9

9

9

9

9

E

+

1

9

CR LF

DP

_

_

_

_

_

_

_

-

E

_

_

_

_

_

_

_

KF

_

_

_

_

_

_

L

_

_

_

_

_

_

_

CR LF

MT

S

I

-

CR LF

NU
NU2

-

9
9

9
9

9
9

9
9

9
9

9
9

9
9

CR LF
CR LF

9
9

24

CR LF

Note
When "Pound Ounce" is selected, the data is output with the unit of ounce (oz).

25Other data formats
In addition to weighing data, other data can be added. Switch each internal setting on / off as necessary.

Data number

Internal setting

dout

d-no

1

□ When the data memory function is used, the data number is output.
□ Consists of 6 characters (excluding the terminator).
□ When the NU or NU2 format is selected with quick USB mode, " . " and numbers are output.
N

o

.

0

0

1

CR LF

Data number

Terminator

Quick USB connection (When outputting numerical values only):
Software version 1.200
Internal setting
.

0

0

1

Data number

Software version 1.211 or later
Internal setting

U5b UFnc 1

U5b UFnc 0 and U-tp 1 or 4

CR LF
Terminator

ID numberInternal setting

dout

5- id

□ The ID number stored in the balance is output.
□ Consists of 13 characters (excluding the terminator).
□ When the NU or NU2 format is selected with quick USB mode, " - " and numbers are output.
S

A

M

P

L

E

-

0

1

2

3

-

4

ID number

CR LF
Terminator

Quick USB connection (When outputting numerical values only):
Software version 1.200

Software version 1.211 or later

Internal setting

U5b UFnc 1

-

3

0

1

2

ID number-

4

Internal setting

CR LF
Terminator

26

U5b UFnc 0 and U-tp 1 or 4

1

Date

Internal setting

dout

5- td

2 or 3□ The date is output from the clock data of the balance.
□ The order of YYYY／MM／DD can be changed in settings.
□ Consists of 10 characters (excluding the terminator).
□ When the NU or NU2 format is selected with quick USB mode, " . " is output instead of " / ".
2

0

1

7

/

1

2

/

3

1

Date

CR LF
Terminator

Quick USB connection (When outputting numerical values only):
Software version 1.200

Software version 1.211 or later

Internal setting

U5b UFnc 1

2

.

0

1

7

1

2

.

Internal setting
3

1

Date

U5b UFnc 0 and U-tp 1 or 4

CR LF
Terminator

TimeInternal setting

dout

5- td

1 or 3□ The time is output from the clock data of the balance.
□ 24-hour format.
□ Consists of 8 characters (excluding the terminator).
□ When the NU or NU2 format is selected with quick USB mode, " . " is output instead of " : ".
1

2

:

3

4

:

5

6

Time

CR LF
Terminator

Quick USB connection (When outputting numerical values only):
Software version 1.200

Software version 1.211 or later

Internal setting

U5b UFnc 1

1

4

2

.

3

Time

.

5

6

Internal setting
CR LF
Terminator27

U5b UFnc 0 and U-tp 1 or 4

7. Commands
By sending a specified command from a PC or a PLC to the balance, you can control the balance such as
by requesting weighing data, manipulating various keys and changing the setting value. To send a commandto the balance, add a terminator (<CR> <LF> or <CR> in the internal setting CrLf ) to the command character
string.

Control commands
Commands to query weighing data
Command string
Q

Function
Requests the weighing data immediately

RW

Requests the weighing data immediately

SI

Requests the weighing data immediately

S

Requests the weighing data when stabilized.

<ESC>P

Requests the weighing data when stabilized.

SIR

Requests the weighing data continuously. (Stream output)

C

Cancels the S, <ESC>P or SIR command.

□ The Q, RW and SI commands behave the same.
□ The S and <ESC>P commands behave the same.
□ <ESC>：Escape code,

ASCII : 1Bh code

Key control commands
Command string
P

Function
Same as theON

Turns the display on.

OFF

Turns the display off.

CAL

Same as the

key

ON:OFFCAL

key : Calibration with built-in weight (GX-A Series)
Calibration with a separate weight (GF-A Series) *3

EXC

Calibration with a separate weight (GX-A Series)

U

Same as the

MODE

SMP

Same as the

SAMPLE

PRT

Same as the

PRINT

R

Same as the

RE-ZEROkey (Semi-automatic zero point setting)

Z

Same as the

RE-ZEROkey (Semi-automatic zero point setting)

RZ

Same as the

RE-ZEROkey (Semi-automatic zero point setting)T

Tares the balance

TR

Tares the balance

ZR
TST

*1

key
key

key

Zero (Setting the zero point) *2
Perform calibration test with built-in weight. (0.0001g model only)□ The R, Z and RZ commands behave the same.
□ The T and TR commands behave the same.
*1: In balance software version 1.100 or earlier, the ZR command is not available in USB virtual COM modeconnection.
28

*2: When the load becomes within ±2% of the maximum weight from initial zero point, the zero point is
updated, the tare is cleared and zero is displayed. When the load becomes over ±2%, the command is
not available.
*3: Supported in balance software version 1.300 or later.

Commands for presetting the tare value
Command string
PT：

Functiong

Sets the tare value.
The unit added is the unit that is output in the A&D standard format (3characters). For the counting or percent mode, gram is used. In the case of
setting the preset tare value to 1234.56 g, the input will be PT:1234.56 g .
Values exceeding the weighing capacity cannot be set. Negative values
cannot be used.
Requests the tare value. Outputs the tare value set by the PT, T or TR:?PTcommand.

Command to control piece countCommand string
UW：

Functiong

Sets the unit mass value (weight of 1 piece)
The unit added is the unit that is output in the A&D standard format (3characters). In the case of setting the unit mass value to 1.23 g, the input will
be UW:1.23 g .
Values exceeding the weighing capacity cannot be set. Negative values
cannot be used.
Requests the mass unit value.

?UW

Commands to control the comparator function
Command string

FunctionHI：g

Sets the upper limit value.

HH：g

Sets the second upper limit value.

LO：g

Sets the lower limit value.

LL：

g

Sets the second lower limit value.
The unit added is the unit that is output in the A&D standard format (3characters).
In the case of setting the upper limit value to 567.89 g, the input will be
HI:567.89 g .
Values exceeding the weighing capacity cannot be set.

?HI

Requests the upper limit value.

?HH

Requests the second upper limit value.

?LO

Requests the lower limit value.

?LL

Requests the second lower limit value.

□ To use a comparator command, set it to the internal setting Cp in 0 (digital input, upper / lower limits) orC p i n 1 (Weighing input, upper / lower limits).

29

Command to control the data memory function (internal setting dAtA

1)

UN：mm

Changes the unit mass registration numberEnter a number between 01 and 50 for mm.

?UN

Requests the currently selected unit mass registration number.

□ Valid when internal setting dAtA

1

Command to control the data memory function (internal setting dAtA
Command string?MA

Outputs all data in memory.

?MQnnnOutputs weighing data with the data number nnn.

2)Function

Input a value from 001 to 200 before nnn.
?MX

Outputs the number of weighing data in memory.

MD：

Deletes weighing data with the data number nnn.
Input a value from 001 to 200 before nnn.
Deletes all data in memory.

MCL□ Valid when internal setting dAtA

2

Commands for setting time and dateCommand string
TM：

：

：

Function
Sets time.
In the case of setting time to 12 h 34 min 56 sec, the input will be
TM:12:34:56 .
Do not set non-existing time values.

DT：

／

／

Sets date.
In the case of setting date to Jan 23, 2017, the input will be DT:17/01/23 .
Do not set non-existing date values.

?TM

Requests time setting.

?DT

Requests date setting.

Commands to request other data
Command string?T

Function
Requests the tare weight value.
The tare value set by T, TR command is output.

?ID

Requests ID number.

?SN

Requests serial number.

?TN

Requests device name.

?SA

Outputs impact data all at once.

30

The <AK> code and error codes
When the internal setting E r C d 1 (AK, error code on) is set, the balance always responds to reception of
all commands sent from a PC or a PLC. Communication reliability is improved by checking the respondingcode.
When the internal setting E r C d 1 (AK, error code on) is set, the balance responds with the following.
□

When sending a command requesting various data to the balance, if the balance cannot transmit therequested data, it sends an error code (EC, Exx). If the balance can output the requested data, therequested data will be sent.

□

When sending a controlling command to the balance, if the balance cannot execute the command, it
sends an error code (EC, Exx). If the balance can execute the command, it sends the <AK> code.
<AK> code is the ASCII 06h code.

□

The commands below are processed by the balance, so it will send the <AK> command not only whena command is received, but also at the end of processing. If the process does not end normally, thebalance sends an error code (EC, Exx), in which case the error is canceled with the CAL command.
ON command

Display on

P command

Display on / off (However, only when already on)

R, Z, RZ commands
T, TR commands

Re-zero (Semi-automatic zero point setting)Tare the balance

ZR command

Zero (Setting the zero point) *2

CAL command

Calibration with built-in weight (GX-A Series)

EXC command

Calibration with a separate weight (GF-A Series) *3
Calibration with a separate weight (GX-A Series)*2 : When the load becomes within ±2% of the maximum weight from initial zero point, the zero point
is updated, the tare is cleared and zero is displayed. When the load becomes over ±2%, thecommand is not available.
*3 : Supported in balance software version 1.300 or later.

31

Command usage examples
In this example, the internal setting E r C d

1 (AK, error code on) is set in order to force an output of the<AK> code. <AK> code is the ASCII 06h code.

Example of the ON command (display on)Time

PC sideBalance side

ON commandO

Display off, stand byN

CR LF
AK CR LF

Command received
All segments are displayed(processing)

AK CR LF

Command completed
Zero display

Example of the R command(re-zero)Time

PC sideBalance side

R command

Before executionR

CR LF
AK CR LF

Command received
Waiting for re-zero stability(processing)

AK CR LF

Command completed
Zero display

32

Example of the CAL command (GX-A Series) Calibration with built-in weightTime

PC sideBalance side

CAL commandC

A

Before execution
L

CR LF
Command received

AK CR LF

Executing (processing)Command completed

AK CR LF

Zero display□ For an example of the CAL command of the GF-A series, refer to the EXC command example.

Example of error code output of the R command (re-zero)Time

PC sideBalance

R command

Before execution
R

CR LF
Command received

AK CR LF

Waiting for re-zero stability(processing), time up due toinstability
E

C

A

E

1

1

CR LF

Error code output

CAL command
C,

L

Error display

CR LF

Or stand by for 5 seconds
Zero display

33

Example of the EXC command Calibration with a separate weight (GX-A Series)
Time

PC sideBalance side

EXC command
E

X

Before executionC

CR LF
AK CR LF

PRT command
P

R

Command received
Waiting for the zero setting

T

CR LF
AK CR LF

Command received
Inputting the zero setting(processing)

AK CR LF

Command completed
Waiting for weight value
input

PRT command
P

R

Action:T

Place calibration weight

CR LF
AK CR LF

Command received
Inputting the value of theweight (processing)

AK CR LF

Command completed
Waiting for weight removal

Action:Removing the weight
Waiting for re-zero stability(processing)

AK CR LF

Command completed
Zero display

34

Example of measuring using a containerTime

PC sideBalance side

R command

Before execution
R

CR LF
Command received

AK CR LF

Waiting for re-zero stability(processing)Command completed

AK CR LF

Zero display

Action:Place a container

T command

Measured value of theTcontainer

CR LF

Command received

AK CR LF

Waiting for container
subtraction stability(processing)Command completed

AK CR LF

Zero display

Action：Place sample

S command

Measured value of sample
S

CR LF
S

T

?PT command
?

P

,
.

T

+
0

0
0

1
_

0
_

0
g

0
CR LF

Net
value

CR LF
P

T

,
.

35

+
4

0
5

0
_

1
_

2
g

3
CR LF

Tare
value

Example of setting a negative target value and filling with a sample until the display
becomes zeroTime

PC sideR command

Balance side

Action:R

Place a container

CR LF
AK CR LF

Command received
Waiting forre-zero stability(processing)PT command

AK CR LF

Target weight is 500g
P T : 5 0
0

0

_

0
_

Zero display.
g

Command completed

CR LF
AK CR LF

Command received
Container weightvalue Displayedwith the negativesign

Action:Fill with sample

Filling

When 500.00g ofsample is filled36

8. Error codes
Error codes list
Error codes and how to resolve
Error code
EC,E00Description and how to resolve
Communications error
A protocol error occurred in communications.
Check the format and the baud rate.

EC,E01

Undefined command error
An undefined command was received.
Check the command.

EC,E02

Not readyThe command received cannot be processed.
e.g. The balance received a Q command, which requested the weighing data, but it
was not in the weighing mode with the display on.
e.g. The balance received a Q command while processing a RE-ZERO command.
Adjust the timing of transmitting the command.

EC,E03

Timeout error
The internal setting of the timeout parameter is set to t - U p 1 (limit set to 1
second for the command timeout), so the balance did not receive the next
command within the time limit of one second.
Check the communication.

EC,E04

Excess characters error
The balance received excessive characters in a command.
Check the command.

EC,E06

Format error
The format of the received command is incorrect.
e.g. The data is numerically incorrect.
e.g. Alphabet characters are input instead of values.
Check the command.

EC,E07

Setting value error
The received data exceeds the range of values that the balance can accept.
Check the parameter values range of the command.

EC,E11

Weighing values stability error
Because the weighing value is unstable, it is not possible to re-zero or calibration.
Improve the environment of the location where the balance is installed.
Send a CAL command or wait 5 seconds to reset the error.

37

Error code
EC,E16

Details and ways to address
Built-in weight error
There was no change in load even when the built-in weight was raised andlowered.
Perform the weighing operation from the beginning without placing anything on thepan.

EC,E17

Built-in weight error
There was an error in the mechanism of raising and lowering the built-in weight.
Perform the weighing operation from the beginning.

EC,E20Calibration weight error (heavy)
The calibration weight is too heavy.
Check the nominal calibration weight value.
Send a CAL command or wait 5 seconds to reset the error.

EC,E21

Calibration weight error (light)
The calibration weight is too light.
Check the nominal calibration weight value.
Send a CAL command or wait 5 seconds to reset the error.

38

9. The UFC function
By using the UFC (Universal Flex Coms) function, it is possible to arbitrarily output contents of your choice
when outputting the weighing data. You can also output a character string when printing a barcode with alabel printer or the like.
In order to use the UFC function, it must be set to internal setting UFC 1 (UFC function on).

UFC program commands
To select the output format to use, send the program command from the PC and store it in the balance. The
stored output format is saved even when the balance is turned off.
How to create program commands□ The maximum number of characters for a program command depends on the software version of thebalance.
□ First, add the PF, command.
□delimited or space-separated form, but they can be

1.200 to 1.220

Maximum
number ofcharacters
100 charactersomitted to reduce the number of characters.
However, the comma after the PF command cannot

1.300 or later

512 characters

Balance software version

Program commands are combined in comma-

be omitted.
List of program commands
CommandPF,*In the output example, “_” is a space.

$MN

Contents
UFC command header
It is appended to the beginning of the programcommand.
Manufacturer name_ _ _ _ _ _ _ A _ & _ D$TY

Model name_ _ _ GX - 1 0 0 0 2 A$SN

Serial number_ _ _ _ T 1 2 3 4 5 6 7$ID

ID number

S AMP L E - 1 2 3 4 - 5

$DT

Date

2 0 1 8 / 1 2 / 3 1$TMTime of Day

1 2 : 3 4 : 5 6$WT

Weight data

_ _ _ + 1 2 3 4 . 5 6 _ _ g$GRGross data (total amount)_ _ _ + 1 2 3 4 . 5 6 _ _ g$NTNet data (net)_ _ _ _ + 2 3 4 . 5 6 _ _ g$TRTare data (tare)_ _ _ + 1 0 0 0 . 0 0 _ _ g$PCNumber data

_ _ _ _ _ _ + 1 2 3 4 _ PC

$UWSingle data

_ _ _ _ _ _ + 0 . 1 2 _ _ g$CPComparator result

H I

$CM

Comma

,

$SP

Space

_ (ASCII 20h code)

$CR

<CR>

ASCII 0Dh code

$LF

<LF>

ASCII 0Ah code

39

Example of output

□

Enclose any ASCII code string in single quotation marks. The character strings that can be output arealphanumeric characters and symbols.

How to output the single quotation mark itself depends on the software version of the balance.
Balance software version
1.200 to 1.220

Contents
The single quotation mark itself is enclosed by two single
quotation mark.
eg: to output the character string “A’BC’D”：’A’’’BC’’’D’

1.300 or later

The single quotation mark itself is represented by two single
quotation marks.
Eg: to output the character string “A’BC’D”：’A’’BC’’D’

Note□ The commands automatically generated with WinCT-UFC ver.2.00 or later correspond to balance
software version 1.300 or later.
□

To output the ASCII control code, enter "# + 2 hexadecimal characters".
Supported in balance software version 1.300.
Example: To output <EOT> (04h) : #04□

Spaces ($SP), <CR> ($CR), and <LF> ($LF) can be repeated with numbers by adding " * + numbers (upto 2 characters)" after the command.
Example: To output 12 spaces : $SP*12
To output 9 <CR>’s : $CR*9□

When sending a program command of two or more lines, adding "&" at the end of one line the balance
will judge the next line as the continuation of the program command. (only RS-232C)□

The balance sends an error code if there is a problem after receiving a program command and sends
an <AK> code if there is no problem. <AK> code is ASCII 06h code.

□

The UFC setting tool WinCT-UFC is available for inputting program commands.
WinCT-UFC can be downloaded from our website (https://www.aandd.jp).

40

Examples of creating UFC program commands
Output example 1

Output example 2

NET

2017/01/23 12:34:56+2000.00 g

TARE

SAMPLE

ABC-123

WEIGHT+3456.78 g+345.67 g
GROSSContent+2345.67 g

PF, command, date, time, line break
Character string "SAMPLE ABC-123", line break
Description

Character string "WEIGHT", weight dataPF,command, character string "NET", line breakSpace × 5, net data, line break
Example stringof program
Character"TARE",commandline breakSpace × 6, tear data, line break
Character string "GROSS", line break

PF,$DT,$TM,$CR,$LF,&

Space × 5, gross data

’WEIGHT’SAMPLE

ABC-123’,$CR,$LF,&’,$WT,$CR,$LF
Terminator

Example of program command
PF,’NET’,$CR,$LF,&$SP*5,$NT,$CR,$LF,&’TARE’,$CR,$LF,&$SP*6,$TR, $CR,$LF,&’GROSS’, $CR,$LF,&$SP*5,$GR,$CR,$LF
Terminator

Note:
□

The terminator transmission in UFC format depends on the balance software version.
Balance software version
1.200 to 1.220

Contents
The terminator set by the internal setting CrLF is automaticallytransmitted.

1.300 or later

The terminator is not sent automatically. Please add a terminator
code at the end of the character data as necessary.

4110. Internal settings
By changing internal settings of the balance, you can customize balance usage. The contents of the settings
are saved even when the AC adapter is unplugged and they are effective until set again. In the internalsettings menu structure, each setting entry is placed in its classification item and one setting value isregistered for each setting entry.

How to set
Operation keys and indication
The 〇 mark is displayed for the currently active setting values.
Press and hold while the weighing value is being displayed to enter theinternal settings menu. (the classification item menu)
Then move between items in the internal settings menu.
Change the setting value (by +1). When it exceeds the maximum set value,
it returns to 0.
Enter the settings menu from the classification items menu.
Input the value and move to the next classification item.
In the settings menu, push to cancel the input value and move to the nextclassification item.
In the classification menu, push to complete internal settings and return tothe value indication screen.

Procedure for changing settings
1. Press and hold the

SAMPLE

key while the weighing value is displayed, then release the key whenis displayed.
2. Continue to the classification item to be set with the

SAMPLE

3. Enter into the classification item currently displayed with the

key.
PRINT

key. The first setting item isdisplayed.
4. Use the

SAMPLE

key to toggle between the setting item to be set.

5. The value of the setting item currently displayed key can be increased by 1 with the
Keep pressing the

RE-ZERORE-ZEROkey.

key until you reach the value you would like to set.

6. Repeat steps 4 and 5 to change other setting item(s) within the same classification item.
If you want to move to another category, continue to step 7.
7. To confirm (register) the setting of the current classification item, press thevalue is saved and you proceed to the next classification item.
To cancel the setting of the current classification item, press the

CAL

PRINT

key. The set value is canceled

and you proceed to the next classification item.
8. Repeat from step 2 to make settings in another category.
To finish configuration, press the CAL key. You will return to the weighing screen.

42

key. The settingConfiguration example
Example of setting "Time/Date output" to "outputting Time/Date" and "Data format" to "DP format".
Start, weighing display
Keep pressing (Procedure 1)
Classification item

Press several times (Procedure 2)
Setting item

Press several times(Procedure 3)(Procedure 4)

Press three times (Procedure 5)(Procedure 3)

Changing thesetting value(Procedure 7)

Press several times (Procedure 4)

Press once (Procedure 5)(Procedure 8)
Completion, weighing display

43(Procedure 7)

List of items (communication entries only)This is a list of items related to communication of internal setting values. For other items, refer to the GX-AE /GX-A / GF-A instruction manual.
Classification

Setting item

item

Setting

Contents, usage

value

…

bA5FncRefer to the GX-AE / GX-A / GF-A instruction
manualCp bEEpdout

Prt

Data output

Data output mode■ 0

Key mode

Data output with the PRINT
key when the weighing value
is stable.

1

Auto print A mode

Data output of a stableweighing value when it

2(reference = zeroexceeds the range of Ap-p

point)and Ap-b in relation to zero.

Auto print B mode

Data output of a stableweighing value when it(reference = previous

exceeds the range of Ap-pstable value)and Ap-b in relation toprevious stable value.

3

Stream mode

Output every time when thedisplay value is renewed.

4

Key mode B mode

Data output regardless of(immediate output)

stability / instability with the
PRINT key.

5

Key mode C mode

Data is output when stablewith the PRINT key and if
unstable, it is output once it has
stabilized.

6Interval mode

Data output after every cycle
set by the int setting.

Ap-p

0

Only plus

When greater than reference
valueAuto print Polarity
1

Only minus

When smaller than reference
value

■ 2

Bipolarity

Regardless of the value size
compared with reference value

Ap-bAuto print difference■ 0

10 digits

Difference from reference1

100 digits

value

2

1000 digits□ “■” Factory setting.
□ ”1 digit” stands for a smallest displayed order. In case of GX-303A 1 digit is 0.001g.

44

Classification

Setting item

item

Setting

Contents, usage

value
■ 0

No used

dout

dAtA

Data output

Data memory

1Stores unit mass(Cont.)

function

2

Stores weighing dataand calibration data

intInterval timed-no
Data number■0

Every measurement

1

Every 2 seconds

2

Every 5 seconds

3

Every 10 seconds

Used when outputting

4

Every 30 seconds

5

Every 1 minutewith intervals set in
prt 6

6

Every 2 minutes

7

Every 5 minutes

8

Every 10 minutes■ 0
1

Do not output
Outputoutput5-td
Time/Date output

5- id
ID number output
PU5E
Data output pause
At-F
Auto feedinFo
GLP output■ 0

Do not output

1

Output time2

Output date3

Output date and time

■ 0
1
■ 0
1
■ 0
1
■ 0

Auto re-zeroUFCUFC function

data formats"
Refer to "6-4. Other
data formats"

Do not output

Refer to "6-4. Other

Outputdata formats"Off

Select interval before

1.6-second pause

data output

Off

Select line feed (paper

Leave one line openfeed) after data output

Do not output
On(output built-in clock)On(output external clock)Off

Select re-zero after data

1

On

output■ 0

Off

Refer to "9. The UFC

1Onfunction"

1
2

Ar-d

Refer to "6-4. Other■ 0□ “■” Factory setting.

45

Classification

Setting item

item

Setting

Contents, usage

value
■ 0

PC

5 iF

ModE

Serial interface

Connection

1

PrintertyPE 0destination

2

External display

tyPE 0 and stream

or1

outputbP 5

0600 bps

Baud rate

11200 bps■ 22400 bps

34800 bps

49600 bps

5

19200 bps

638400 bps

■ 0

7 bit EVEN

1

7 bit ODD

2

8 bit NONE

btPr
Data bit, parity bit
CrLF
Terminator
tyPE
Data format

t-UP

■ 0
1
■ 0

CR LF

CR: ASCII 0Dh codeCR

LF: ASCII 0Ah code

A&D Standard format

1

DP format

2

KF format

Refer to "6-2. Weighing

3

MT format

data format"

4

NU format

5

CSV format

0

No limit

Select waiting time during

Timeout■ 1

Limited to 1 second

command reception

ErCd

■ 0

Off

Refer to "7-2. The <AK>1

On

code and error codes"

Quick USB

Setting values differ

Bi-directional USB

depending on the software

virtual COM

version of the valance.

AK, error code
U5b

UFnc

USB

USB operation

Interface

mode

■ 0
1

See "5-1. Quick USB mode"
See "5-2. Virtual COM mode"
U-tP

■ 0

USB

1

NU format

Data format

2

CSV format

3

TAB format

4

NU2 format…

AP FncC5 in

A&D standard format
Refer to "6-2. Weighing
data format"

Refer to the GX-AE / GX-A / GF-A instruction manual□ “■” Factory setting.

46

11. Key lock function
Key switches of the balance can be locked by sending a specified command to the balance.
This is effective for controlling the key switches only from an external device such as a PC.
□ Even if key switches are locked, operations related to key control commands are available.
(For key control commands, refer to section "7. Commands".)□ Key lock status can be checked by sending a command for confirmation to the balance.
□ Key lock is maintained until either a command is sent to the balance to release or the power is turned off
by unplugging the AC adapter.

Locking all key switches
All the key switches can be disabled by sending the KL command to the balance as follows.
Command string
?KL

KL:

Function
Requests all key lock statuses.
KL,000 Cancels all key locks.
KL,001

Checks status for all key locks

KL:000Cancels all key locks.

KL:001

Sets all key locks.

000 or 001 should be input for47.

Locking specified key switches
By assigning a numerical value forof a LK command, specific key switches can be disabled.

The numerical value foris the total of the decimal numbers converted from the bit value

assigned for each key switch as shown below.
Software version 1.211 or later supports LK commands.
Bit

Decimal number

Key switch

01

ON:OFF

1

2

CAL

2

4

MODE

3

8

SAMPLE

4

16

PRINT

5

32

RE-ZERO

Example1: When locking all the switches except for

PRINT .

1.

Add all the decimal numbers corresponding to keys to lock.

2.

1 ( ON:OFF ) + 2 ( CAL ) + 4 ( MODE ) + 8 ( SAMPLE ) + 32 ( RE-ZERO ) = 47
Send the numeral value sum with a LK command to the balance. LK:00047

Example2: Unlock all keys switches.
1. Since there is no key switch to lock, 0 is sent to the balance with LK: command. LK:00000
Command string?LK

Function
Requests status for a specified key lock.
Example 1 : When all the key switches except for
LK:00047

PRINT

are locked.

Example 2 : When none of the switches are locked.
LK:00000
LK：

Locks specified key switches.s
Numerical value from 00000 to 00063 should be in
Example 1: When locking all the key switches except for
LK:00047

48.
PRINT .

12. Checking the software version of the balance
Specifications of the balance may differ depending on the software version that you use.
To confirm the software version, follow the steps shown below.
1. Unplug the AC adapter of the balance and then plug it in again.
2.

LEVEL

indicator blinks.

3. Then, P.
The number for.

is displayed.
is the software version.

LEVEL

P-

49

1.300

ＭＥＭＯ

ＭＥＭＯ

ＭＥＭＯ

3-23-14 Higashi-Ikebukuro, Toshima-ku, Tokyo 170-0013, JAPAN
Telephone: [81] (3) 5391-6132
Fax: [81] (3) 5391-6148
A&D ENGINEERING, INC.
1756 Automation Parkway, San Jose, California 95131, U.S.A.
Telephone: [1] (408) 263-5333
Fax: [1] (408)263-0119
A&D INSTRUMENTS LIMITED
Unit 24/26 Blacklands Way, Abingdon Business Park, Abingdon, Oxfordshire OX14 1DY United Kingdom
Telephone: [44] (1235) 550420
Fax: [44] (1235) 550485
A&D AUSTRALASIA PTY LTD
32 Dew Street, Thebarton, South Australia 5031, AUSTRALIA
Telephone: [61] (8) 8301-8100
Fax: [61] (8) 8352-7409
A&D KOREA Limited
한국에이.엔.디(주)서울특별시 영등포구 국제금융로6길33 (여의도동) 맨하탄빌딩 817 우편 번호 07331( 817, Manhattan Bldg., 33. Gukjegeumyung-ro 6-gil, Yeongdeungpo-gu, Seoul, 07331 Korea )전화: [82] (2) 780-4101
팩스: [82] (2) 782-4280
OOO A&D RUS
OOO "ЭЙ энд ДИ РУС"121357, Российская Федерация, г.Москва, ул. Верейская, дом 17( Business-Center "Vereyskaya Plaza-2" 121357, Russian Federation, Moscow, Vereyskaya Street 17 )тел.: [7] (495) 937-33-44
факс: [7] (495) 937-55-66
A&D INSTRUMENTS INDIA PRIVATE LIMITED( 509, Udyog Vihar, Phase- , Gurgaon - 122 016, Haryana, India ): 91-124-4715555: 91-124-4715599