
PCE-USM RS-232 - USB Logger
The logger enables the user to save the transmission data of the RS-232 interface to one or more
folders in txt format, along with the time and date. The logger can receive and retrieve data. This
means that with the right configuration (consider pin assignment of the RS-232), the PCE-USM
adaptor can be connected with any RS-232 interface to record the data.
With the scales PCE-LSM / PCE-LS / PCE-AB / PCE-ABZ / PCE-PM / PCE-TP / PCE-BDM / PCE-BT / PCETB and PCE-SD Series, the PCE-USM can be plugged directly onto the RS-232 interface.
In case it is not possible to plug the adaptor directly onto the RS-232 interface, you have the
possibility to use an extension cable. The standard edition comes with an external power supply.
(12V / 100 mA mains adaptor in + / out -)

1. Connect the PCE-USM adaptor with the RS-232 interface. Then provide power supply and watch
the diodes at the PCE-USM storage adaptor. Both diodes will light up briefly and the diode at the side
of the RS-232 interface should be lit now. If it does not, this normally means that the PCE-USM is not
connected to the power supply. Check the power supply. If the diode at the side of the RS-232
interface flashes, a data transfer to the PCE-USM storage adaptor takes place.
2. Now insert the USB pen drive into the PCE-USM USB storage adaptor and watch the diodes. The
diode at the side of the RS-232 interface will flash briefly and then light up permanently. During the
time the diode was flashing, a configuration file was saved to the pen drive (see below).If the diode
at the side of the USB interface did not light up, this can mean that the USB pen drive was not
recognised or that it is full. Check the USB pen drive’s formatting and, if necessary, try using another
pen drive. FAT12 / FAT16 and FAT32 formatting is possible. Now try to transmit a few data to the
PCE-USM adaptor via the RS-232 interface and watch the diodes of the PCE-USM adaptor. If the data
transmission was successful, the diode at the side of the RS-232 interface should flash first, followed
by the diode at the side of the RS-232 interface. This flashing indicates: date received and transferred
to USB.

In case the data transmission was successfully completed, there will be two files on the USB pen
drive.
„CONFIG.TXT“ This is the configuration file in which you can set individual parameters.
„LOG.TXT“ This is the file which contains your saved values.
The configuration file “CONFIG.TXT“ looks as follows:
The values can easily be changed and thus adapted to your individual needs and different devices.
The values behind the „=“ can be changed. On the right behind „//“, you can see the possibilities of
what you can enter (allowed values).

Settings of the logger
Path indication to enable data to be saved (format 8.3). You can enter a file name
of up to 8 digits. If not entered here, a “LOG” folder will be created automatically.
In case such a folder already exists, the data will be added to the folder at the end.
The setting can be “yes” or “no”.
If “no” is set, this means that the data are always saved to the same folder when
removing and reconnecting the logger.
If “yes” is set, the data are saved to different folders when removing and
reconnecting the logger. The logger will then add consecutive numbers to the
name “PATH” (as you have set before).
Example: LOG00001.TXT, LOG00002.TXT, LOG0003.TXT, etc.
Baud setting of the RS-232 interface. (Setup possibilities: 2400, 4800, 9600, 14400,
19200, 38400, 56000, 57600, 115200)
When using this setting, the data will be saved along with a date. Format: YYYYMM-DD.
The date will not be changed.
When using this setting, the data will be saved along with a time. Format:
HH:MM:SS.
The time will not be changed.
With some scales, it is possible to retrieve the weight via the interface. With this
function, up to 20 characters can be sent. When nothing is entered under
“COMMAND”, no queries are sent to the scales.

Here, you can set the time intervals within which the logger sends the abovementioned query to the scales. Indication in seconds.
Here, you can set whether the query which is sent to the scales is saved along with
the other data. Setup possibilities: “YES” or “NO”.
Here, you can set whether the receiving date is saved to the folders. Setup
possibilities: “YES” or “NO”.
Here, you can set whether the receiving time is saved to the folders. Setup
possibilities: “YES” or “NO”.
Here, you can set what characters are retrieved when time and date is saved. Max.
3 characters.
Here, you can set the transmission pause for the next data transmission. Time
indication in seconds.

The RS-232 attachment has no power supply.
No data transmission via the RS-232 interface takes place.
The pen drive is not correctly connected to the USB interface or is
not recognised by the attachment.
No light
The pen drive is now ready.
The pen drive contains a setup folder which has not been
recognised and read by the attachment.
The pen drive does not contain a setup folder and the attachment
will create one automatically.
The following pen drive errors are possible:
- The setup folder is too large and cannot be read
- The setup folder contains unknown parameters
- The parameters have the wrong setup formats
Data have been saved to the pen drive.
Data have been saved but the pen drive does not have enough free
space.
Example of a configuration file:
// *** CONFIG FILE VER.07 ***
PATH = /LOG.TXT // Path to log file
AUTO_NAME = NO // Allowed values: YES or NO
BAUD = 4800 // Allowed values: 2400,4800…
//DATE = 2010-01-01 // Date format: YYYY-MM-DD
//TIME = 08:00:00 // Time format: HH:MM:SS
COMMAND = SI // Command to send (max 20 char)
INTERVAL = 20 // seconds
ECHO = YES // Allowed values: YES or NO
LOG_DATE = YES // Allowed values: YES or NO
LOG_TIME = YES // Allowed values: YES or NO
TRIG_TOKEN = abc // Max 3 char
TRIG_PERIOD = 10 // seconds
Diodes
DIODE_RS232
DIODE_USB