B.5.1: Data Formats - Electro Industries Shark 200 Installation & Operation Manual

Low-cost high performance multifunction electricity meter
Hide thumbs Also See for Shark 200:
Table of Contents

Advertisement

B.5: Retrieving Logs Using the Shark
This section describes the log interface system of the Shark
view. It is intended for Programmers implementing independent drivers for Log Retrieval from the
meter. It describes the meaning of the meter's Modbus Registers related to Log Retrieval and
Conversion, and details the procedure for retrieving a log's records.
NOTES:
All references assume the use of Modbus function codes 0x03, 0x06, and 0x10, where each
register is a 2 byte MSB (Most Significant Byte) word, except where otherwise noted.
The caret symbol (^) notation is used to indicate mathematical "power." For example, 2^8
8
means 2
; which is 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2, which equals 256.

B.5.1: Data Formats

Timestamp: Stores a date from 2000 to 2099. Timestamp has a Minimum resolution of 1 second.
Byte
0
Value
Year
Range
0-99 (+2000) 1-12
Mask
0x7F
The high bits of each timestamp byte are used as flags to record meter state information at the time of the
timestamp. These bits should be masked out, unless needed.
®
B.5.2: Shark
200 Meter Logs
®
The Shark
200 meter has 6 logs: System Event, Alarm (Limits), 3 Historical, and I/O Change. Each log
is described below.
1) System Event ( 0 ) : The System Event log is used to store events which happen in, and to, the
meter. Events include Startup, Reset Commands, Log Retrievals, etc.
The System Event Log Record takes 20 bytes, 14 bytes of which are available when the log is
retrieved.
Byte
0
1
2
Value
timestamp
NOTE: The complete Systems Events table is shown in Section B.5.5, step 1, on page B-19.
2) Alarm Log ( 1 ) : The Alarm Log records the states of the 8 Limits programmed in the meter.
Whenever a limit goes out (above or below), a record is stored with the value that caused the
limit to go out.
Whenever a limit returns within limit, a record is stored with the "most out of limit" value for
that limit while it was out of limit.
The Alarm Log Record uses 16 bytes, 10 bytes of which are available when the log is retrieved.
Byte
0
1
2
Value
timestamp
The limit # byte is broken into a type and an ID.
Bit
0
Value
type
E
Electro Industries/Gauge Tech
1
Month
0x0F
3
4
5
6
Group
3
4
5
6
direction
limit#
1
2
3
0
0
0
®
200 Meter's Modbus Map
®
200 meter from a programming point of
2
3
Day
Hour
1-31
0-23
0x1F
0x1F
7
8
9
Event
Mod
Chan
7
8
9
Value %
4
5
6
0
Limit ID
Doc# E149701
4
5
Minute
Second
0-59
0-59
0x3F
0x3F
10
11
12
Param1 Param2 Param3 Param4
7
13
B-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Shark 200t

Table of Contents