The demo kit allows you to easily test the many interfaces available for the Ohaus Defender 5000 indicator. Its sturdy case is well suited for shipping.
Follow these steps to start using it:
The required components and cables can be found in the compartment on the left side (1).
Connect the load cell simulator (2) (3).
This device simulates the load cell that is normally installed in the weighing platform. Make sure that the pointers on the gauge are at 0, but do not turn on the scale yet.
Set the selector knob (4) to the interface you want to test (e.g. WiFi/BT).
If necessary, plug in the WiFi/Bluetooth dongle (5).
Connect the device to AC power and switch it on.
Turn the load cell simulator counterclockwise to increase the weight:
The configuration of the interface is done in the menu of the scale. Printed instructions are included in the case (6).
When using a WiFi or wired Ethernet connection, the device acts as a TCP server. By default, the IP address is assigned automatically (DHCP). WiFi uses port 6060 and Ethernet port 9761.
After establishing a connection as a TCP client (e.g. using PuTTY), you can request the weight by using one of the commands listed in the manual. The “P” command corresponds to pressing the Print button on the scale. The device will answer using the default template:
This template can be changed in the menu. The menu also allows you to select a different capacity or graduation.
Note: A micro SD card is included in the device, but it cannot be easily accessed.
A&D scales and balances have always been an excellent choice when it comes to data transfer to a computer, printer or other devices. With a data format that has remained virtually unchanged throughout the company’s history, we have seen customers replace decades-old balances with new ones without having to adapt their existing data acquisition software.
This does not mean that the communication capabilities of A&D balances are not evolving. The new GX-A, GF-A and GX-AE models are particularly interesting because they are equipped with multiple interfaces and can be controlled by a connected computer (or PLC) via a large number of commands.
To give you an idea, you’ll find the table of contents from the communications manual below:
Features of the communication function
Using standard RS-232C / extension RS-232C interface
Using standard USB interface
Connecting multiple peripheral devices
Connecting Peripheral Devices
Cables needed to connect to peripheral devices
About data output method
Specific examples when connecting multiple peripheral devices at the same time
Printing Weighing Values To the Printer
In case of AD-8127
In case of AD-8126
Connecting to a PC or a PLC
Quick USB mode
Virtual COM mode
WinCT data transmission software (USB Virtual COM mode or RS-232C)
Notes when using quick USB
Data output mode
Weighing data format
Output examples of weighing data format
Other data formats
The <AK> code and error codes
Command usage examples
Error codes list
The UFC function
UFC program commands
Examples of creating UFC program commands
How to set
List of items (communication entries only)
Key lock function
Locking all key switches
Locking specified key switches
Checking the software version of the balance
One of my favorite things about this manual are the examples, which clearly presented and easy to follow:
Is something still missing?
In my opinion, this is the best communication manual I’ve seen from any weighing instrument manufacturer so far.
My only suggestion for improvement as far as the manual itself is concerned is to add a warning symbol next to the footnote on page 6, which mentions the 12 V voltage on pin 9. When connecting the balance to a device which also uses pin 9 in this way (such as Zebra printers), both devices could malfunction and possibly be damaged. To prevent this from happening, a custom cable must be used instead of a standard cable that connects all pins.
Tare weight and gross weight
When the tare weight is set by the operator by pressing the RE-ZERO button on the balance, it is not returned when using the “?PT” or “?T” commands. This is mentioned in the manual, but no explanation is given. It is also not possible to request the gross weight. Therefore, applications which require this data have to be designed so that the tare operation is triggered by the connected device (see example above).
Note: The UFC template language available on the GX-A/AE and GF-A balances allows the tare weight and gross weight (and of course net weight) to be sent to a connected device.
Ethernet, WiFi, Bluetooth
An Ethernet interface is optionally available, but it costs several times more than an external converter (such as Moxa’s NPort 5110A). If it was more affordable, it would attract more customers planning to connect multiple balances to a single PC for data acquisition purposes.
No wireless LAN option exists (so far). The Bluetooth adapter for the RS-232 interface is unfortunately not available in Europe. This makes it somewhat difficult to use the balances under a fume hood and transferring the weight to a computer outside.
A&D could make the balances more compatible with existing systems by adding support for the MT-SICS protocol. While MT-SICS is not the holy grail of all protocols, it is widely used and supported in the weighing industry and by software developers. With companies such as Sartorius, Radwag, Kern (KCP) and Ohaus (on some models) offering support for what is effectively MT-SICS, I see no compelling reason why A&D could not do the same.
The balances already understand the “S”, “SI” and “SIR” commands also used by MT-SICS. When set to the “MT” data format, they come very close to sending the same replies as MT-SICS-compatible weighing instruments:
First line: character/byte number Second line: A&D’s MT format (stable weight) Third line: MT-SICS format (stable weight)
Finally, while these balances support many commands covering a lot of functionality, it’s not possible to read and change most of the settings by using commands. If this were an option, a connected computer with a configuration software could change the balances’ settings in a quick and user-friendly way. With new technologies such as WebUSB, it may eventually be possible to change the configuration of the balance directly from a web browser.
Further information on GX-A, GF-A and GX-AE precision balances
For the purpose of this article, “serial”, “RS-232” (with and without hyphen), “RS232C” and “COM” can be treated as synonyms. Therefore, a “serial port”, “RS-232C interface” and “COM port” are the same thing.
“Scale”, “balance” and “weighing instrument” are used interchangeably.
1. Connect your A&D scale or balance to your PC
In most cases, your A&D scale will be equipped with an RS-232 interface:
You will need an RS-232 cable (serial cable) which is compatible with your scale and – if your PC does not have an RS-232 port – a converter from USB to RS-232 such as FTDI’s Chipi-X or US232R.
There are other kinds of converters such as RS-232 to Ethernet, though they are not covered in detail here. As long as they can create virtual COM ports, they can be used with RsWeight.
The configuration used is in this tutorial is shown below:
Not all scales require a converter to USB: The recently released Apollo GX-AE/A & GF-A balances have a USB port which can be configured to work in virtual COM port mode, so all you’ll need is a USB cable. A&D may have released further balances with this functionality by the time you read this article.
Many weighing instruments from A&D can be equipped with a “Quick USB” port. This type of port is recognized as a keyboard and not as a virtual COM port and is therefore not suitable for use with RsWeight (see A&D’s Communication Methods FAQ for further information).
If you know what you’re doing, you can also find USB to RS-232 converters that can be plugged directly into the RS-232 port of your scale (no separate serial cable required). We offer such a solution for A&D scales with a round DIN8 connector such as the HC-i counting scales or FG-KAL/KBM scales (currently only available in our German scales shop):
2. Install the driver for the USB to RS-232 converter (or for your balance)
On Windows 10, driver installation will usually happen automatically when you plug in the converter (on your PC). If this is not the case, you can download the driver from the manufacturer’s website, e.g.:
For other converters, please check with your supplier.
3. Download and install RsWeight
RsWeight is available for free from A&D as part of the WinCT suite. Installation is straight forward and should not pose any challenges: Download the Zip file, unzip it, start setup.exe and follow the prompts on the screen.
4. Configure RsWeight
You’ll find RsWeight under the “A&D WinCT” group in the start menu. On Windows 10, you can also open the start menu and start typing “RsWeight”.
In the “RS-232C” menu, select the COM port to which your scale is connected on your system. By clicking on the combo box, you can see the full names (requires RsWeight 5.40 or later):
If you’re using a USB to RS-232 converter with FTDI’s chipset, it will show up as a “USB serial port” (as shown above). Converters made by other manufacturers may have slightly different names, but usually they contain the words “serial” and “port”.
If you’re in doubt, open the Windows Device Manager (under Windows 10, press Ctrl + X, then select Device Manager) and navigate to Ports (COM & LPT):
You can then simply unplug the converter (or balance) from your PC and watch which device disappears (and hopefully reappears when you plug it in again). If you cannot find a suitable device, you must resolve this issue before continuing (most likely you don’t have the correct driver installed, see section 2 above).
All other interface parameters are already set to the default values required by (nearly) all A&D scales and balances:
Baud Rate: 2400
Stop Bit: 1
If you’ve changed these settings in the menu of your scale, you need to make exactly the same changes in RsWeight. If you didn’t modify the default settings of your scale, all you have to do in RsWeight at this stage is set the COM port.
5. Start data logging
Press Start in RsWeight, put an object on your balance, wait for the stability indicator to show up in the display and press the PRINT button. The weight will appear in RsWeight:
Note: If you do not want to manually press the PRINT button on your balance, you can either change its data transmission mode or instruct RsWeight to request the weight by checking the Repeat checkbox and setting an interval in seconds. Further information can be found in the manual of your balance and in the RsWeight Operation manual (PDF).
In the Option menu, make sure that the Decimal Point is set correctly for your region (e.g. USA->Dot, Germany->Comma). Then, go to File / Save / Data Save and enter a file name and location:
You will be able to open this file in Excel (and other applications) and the data will be neatly arranged in columns (if not, then you probably picked the wrong decimal separator):
What if no weight is received from the scale?
This problem can be difficult to solve because there are many components involved in recording the weight from your scale:
The scale or balance,
the RS-232 cable,
the USB to RS-232 converter (if required),
and the RsWeight software.
If there’s something wrong with just one of these items, data transmission will fail. From our experience, the most common issues are:
Wrong COM port. The COM port number will be assigned by your PC, so you can’t just copy it from this article. Note that there may be other COM ports present on your system even if you’ve never connected a converter to your PC before. It is absolutely necessary that you choose the right port. RsWeight cannot do this for you, though it does make it easy by showing the full COM port name (since version 5.40).
No driver, wrong driver or outdated driver installed for your USB to RS-232 converter or balance. This a particularly common problem on Windows 7. Confirm that the manufacturer’s name and not “Microsoft” is shown under Driver Provider when you open the Device Manager, right-click on the converter, select Properties and switch to the Driver tab: If you suspect that you don’t have the correct driver installed, download it from the manufacturer (see section 2).
The scale has not yet stabilized. If you press the PRINT button and the weight is not stable, no data will be transmitted. Depending on the model of your scale, you may be able to change this setting (please consult the manual). Otherwise, just wait until the stability symbol appears.
Balance settings have been modified. If the settings of your balance no longer correspond to their default values, data transfer may fail. This applies in particular to settings of the serial interface, such as the baud rate and the data format. Please consult the manual of your balance to ensure that each setting corresponds to the factory setting.
Wrong serial cable. A&D scales generally require a straight 1:1 cable, not a crossed (null modem) cable. If you happen to find a cable that “looks like it may work”, check that it is wired correctly (using a continuity tester, you cannot tell how a cable is wired by looking at it from the outside unless you have superpowers).
It’s extremely rare for the RS-232 port on an A&D scale to be defective. We’ve only seen this happen once so far. Before you assume that your scale is defective, please make sure that you’ve excluded all other possible causes.
Additional information is also available from A&D:
If you are unable to record any data from your scale with RsWeight even after carefully following the instructions in this article and in the linked documents, please contact your weighing instruments dealer or A&D.
Please understand that we cannot offer free support if you have not bought your A&D scale or balance from us.