Interfacing a Sartorius BalanceHome
Newsletters
DAQ Catalogue
Search
|
Windmill software lets you continually log data from Sartorius balances, and other instruments with an RS232 serial port, on a PC running Windows. All data is time-stamped and can be imported into Excel either during or after data collection. Our Windmill with the COMIML software is currently reduced from £145 to £50. Alternatively, subscribers to the Monitor newsletter (ISSN 1472-0221) can download free logging software: ComDebug. This lets you log data from one instrument and save it in a text file.
- Run the Windmill ComDebug program and enter your balance's settings.
- Run the Windmill DDE Panel, Logger or Chart program to save or display data from your balance.
After you have entered your configuration settings with ComDebug, you don't need to use this again and can go straight to the logging and display programs. More details on entering the configuration settings are below.
Note: Sartorius's RS-232 cable has a unique pin out - it is not a standard cable. You need to either purchase the correct cable from Sartorius, or re-wire the connections. See below for more details.
Use ComDebug to enter data about your Sartorius Balance | Data Logging Options | Getting the data into Excel | Trouble-shooting
Read this in conjuction with the step-by-step instructions on our Getting Started page. Here we give the specific settings needs for Sartorius balances and scales.
COM Port Settings
These must be the same as your balance uses. These are the default factory settings for Sartorius Talent, Gem and Gold balances.
| Comm Port: | Select the port to which your instrument is connected.
|
| Baud Rate: | 1200 |
| Data Bits: | 7 |
| Parity: | Odd |
| Stop Bits: | 1 |
| Flow Control: | Hardware |
Data Format
Your settings here depend upon how you have configured your balance. In ComDebug's Terminal or Message Screen, enter a command or prompt string to send to the balance to ask for data. Click the Send button, and the instrument should send a reply (see Trouble-Shooting below if not). Now click the Parse button and enter instructions to extract the data from the balance's reply. These settings work for CP balances. Use the non-print menu to enter the Escape character (027).
|
| | Example prompt command: | Escape followed by P <CR><LF> Use the Non-Print menu to enter the Escape, Carriage Return and Linefeed |
| Example data string: | + 100.0 g<CR><LF>
where <CR> is a carriage return and <LF> a linefeed |
| Data format: | ASCII |
| Example parsing: | Ignore Until 0123456789
Extract Until space |

Instrument Timing
| Read: | Read Directly
Choose read directly unless your balance has automatic data output enabled, in which case choose Read in the Background. |
| Timeout: | 5000 ms |
| Instrument Idle Time: | 0 |
| Data Persistence Time: | 5000 ms |
Further Information:
COM Port Settings
Operating Instructions, Sartorius, Interface for EA, EB, GD, GE and TE Balances/Scales
Operating Instructions, Sartorius, CPA, GCA and GPA models
- Log only when new data is available from your
instrument: when a weight changes on a balance for
instance. Even if two items weigh the same, Windmill
knows that a change has occurred, so no readings
are missed.
- Log to a new data file at regular intervals,
every hour or every week for example. This is useful
in continuous, long-term logging.
- Log data only when channels are in an alarm state.
- Log data for a fixed duration, for example during
an alarm condition and for ten minutes afterwards.
- Use Excel to start and stop logging.
- Log from different channels at different rates.
- Log from different channels to the same or different files.
- Log data from RS232 instruments alongside Modbus and
Ethernet devices.
You can use the Windmill Logger program to collect data, and after collection has finished import it into Excel. Alternatively, you can collect data with Excel in real-time by using an Excel macro to read data from the Windmill DDE Panel. For more details see our Excel page.
If you are unable to get data from your balance go back to ComDebug's Terminal screen. Make sure your command is shown in the prompt grid, like in the picture. Click the Send button: does your instrument reply?
- If you only see your command being sent, and no data...
- Make sure that the balance is switched on and plugged into the PC's com (RS232) port.
- Check that the communication settings you entered in ComDebug match those currently in use by the balance: COM port, baud rate, parity, etc.
- If using a USB-RS232 converter, it's settings must also match those used by the balance - read the USB-Serial page for details, especially point 7.
- Make sure that the balance is set to ASCII rather than printer mode.
- Check for a cabling problem. Sartorius's RS-232 cable has a unique pin out: it is not a standard cable. You need to either purchase the correct cable from Sartorius, or re-wire the connections.
|
Sartorius Connector
|
Standard RS-232 DB25 Connector
|
|
Description:
|
Pin#
|
Pin# |
Description:
|
|
TxD Output
|
2
|
3 |
RxD Input
|
|
RxD Input
|
3 |
2
|
TxD Output |
External Signal
Signal Ground |
4
14 |
7
|
Ground
|
|
CTS Input |
5
|
20 |
DTR Output
|
|
DTR Output |
20
|
5
6
8 |
CD DSR
CTS Input
|
|
Chassis Ground |
1 (Optional)
|
|
No Connection |
- If you are still having trouble see our Testing Serial Port Communication page
- If all else fails fill in our technical support form.
- If you see data but it doesn't make sense, check that your balance's operating mode is ASCII and not Universal Printer. Use the balance's Operating Menu - Data Interface - Communications mode.
- If, in ComDebug you see data coming in but DDE Panel isn't showing it, you may need to edit your parsing settings. Go to ComDebug's Terminal or Message Screen, click the Parse button. Enter your Ignore and Extract Settings and click the Step menu. Is your data shown in the Value column? If not adjust your settings. See also our Technical Support page.
- If you are getting accurate data readings, but much slower than expected, change your sampling rate. With COMIML, Windmill can make 5 readings per second per channel. So it can record one weight measurement every 0.2 seconds. If you have the sampling interval set much smaller than this, then Windmill may slow down considerably and only make a couple of readings per minute.
Success?
Have you successfully used Windmill with your balance? Let us know about your project.
|