Badger Meter Model 3700 Data Acquisition Server User Manual

Page 18

Advertising
background image

18

The Model 3700 has an advanced menu that can be used to
perform system checks and clear all configuration options to
the default settings. To access the advanced menu, wait until
the LCD shows Model 3700 Ready and press both the Menu
and Select buttons at the same time. Hold both down together
for about 10 seconds. When the advanced menu is displayed,
you may release the two buttons. The following is a tree display
of the advanced menu.

[Advanced Menu]

Console on COM1 (RS485 port)

Check flash disk

Erase Log/Config

(previous menu)

The Check Flash Disk option will force the Model 3700 to check
the entire flash disk for file system integrity. This will require you
to reboot the Model 3700.

The Enable Console feature will provide a shell prompt on the
serial port for remote diagnostics. This is intended to be used
by Badger Meter technical support only.

The Reset Configuration option will remove all the user settings,
data, and passwords that have been configured and will return
the Model 3700 to the factory default settings. This is mainly
useful when reconfiguring an Model 3700 that has been used
previously on a different job or project.

LOg FILE daTa
The Model 3700 stores data from the Modbus devices in text
(csv) log files. One log file is created for each modbus device
on the system. On a daily basis, the log files are rotated, that
is the current log file is renamed and compressed with gzip
compression, and a new log file is started. This allows the
Model 3700 to make efficient use of the flash memory. When
the storage capacity is beyond 95% full, the oldest log file will
be removed from the system.

Log File Status
The Model 3700 can display a list of log files in the Log File Data/
Status web configuration page. A bar graph will show the amount
of storage capacity that is used by the existing log data. Below,
a list of Modbus device log file will be displayed along with the
file size and timestamp when the file was last modified.

Each Modbus device may have multiple log files. The log file
name starts with “mb-xxx.” where xxx is the Modbus device ID
number. One file, with the .log extension is the file where the most
recent data is being stored. Other log files have a .gz extension.
These are older log data files that have been compressed to
save space.

The file name will be a link that will open up a browser window
to view the contents of the single log file. Clicking on the single
log file will only show the contents of that log file, and not all
historical data for the device. Use the log export feature if all log
data is required.

Log File Format
Once you have downloaded the data from the Model 3700, you
will need to process it. The file is an ASCII text file with comma
delimited data. One line is recorded for each log cycle. The file

will look something like the following example from a 4A4P-M
IO Module.

‘2002-01-31 18:30:00’,0,0,0,-0.00,89.29,39.05,49.11,0,0,0,0
‘2002-01-31 18:35:00’,0,0,0x02,0.01,104.24, 39.05,49.11,
0,0,0,0
‘2002-01-31 18:40:00’,0,0,0,NULL,87.82,39.05,49.11,0, 0,0,0
‘2002-01-31 18:45:00’,139,NULL,NULL,NULL,NULL,NULL,
NULL,NULL,NULL,NULL,NULL

In this example, the first line shows a regular log entry. The second
line shows a high range alarm for data point 2. The third column
shows point 1 as invalid, and the fourth line shows the Modbus
device is not responding.

Notice the following columns are shown.

1. Date/Time in UTC (GMT) time. This field is quoted to handle

the space in the middle.

The format is YYYY-MM-DD HH-MM-SS

2. Modbus error (if any). 0=no-error, see table below.
3. Low Range alarm bitmap (hex notation).
4. High Range alarm bitmap (hex notation)
5. Data point 1
6. Data point 2
7. - - -
8. Data point N

Comments:
date/Time:
The date/time column reports the time at which data
was logged from the Modbus device.

NOTE:

This is not necessarily the time at the start of the log

cycle. Users with large number of devices may notice some
of the Modbus devices at higher address numbers report 1
or 2 seconds after the first modbus devices. This is because
the 9600 baud speed of the Modbus loop is not fast enough to
log all modbus devices in less than 1 second. If a device does
not respond during a log cycle, the Model 3700 will attempt to
query the device several more times. If a subsequent query is
successful, the time of the successful query will be used in the
log file but may be several seconds after the initial log cycle.

The log date/time is in Universal Time (UTC). This means that
the data is logged with no shift for daylight savings time, and
must be converted to local time for reporting purposes. When
importing into a database, data should be kept in UTC time for
ease of use. When reporting the final data, you should adjust
the time to reflect the local timezone for which you are reporting.
The data export option on the BMO website will prompt you for
a time zone when you export the data, and will adjust the log
date/time accordingly.

NOTE: UTC is sometimes referred to as Greenwich Mean Time
(GMT).

Modbus Error: If the error value is not 0, the remainder of the
columns for this line will be reported as NULL.
1

Operation not permitted

2

No such file or directory

3

No such process

4

Interrupted system call

5

Input/output error

Advertising