
40
Table 5-43 Partition Setup Registers
Parameter
Offset
Type
R/W
Range
The number of records in the partition
+0
UINT16 R/W
0-65535,
0 = delete a partition
The number of log parameters in the
record for a data log partition
+1
UINT16 R/W
1-16 (for event log partition, write 0)
Partition type
+2
UINT16 R/W
0 = non-wrap
1 = wrap around
16 = TOU monthly profile log (partition #7 only)
32 = TOU daily profile log (partition #8 only)
Record size, byte
+3
UINT16 R
Partition size, byte
+4, 5
UINT32 R
0-505568
These registers allow you to allocate a memory partition for logging and to specify the partition size and type. Before allocating
a partition, it is recommended to check the available memory by reading the extended memory status registers. To help you in
planning memory, Table 5-44 shows the record size for each partition.
Note that the existing partition may not be resized. To change the partition properties, you should first delete a partition and
then reallocate it with the desirable properties. To delete a partition, write zero into the first partition's register.
Data log partitions #7 and #8 can be configured as TOU monthly and daily profile log partitions respectively. Both will be set as
wrap-around partitions. Before you configure the partition as a profile partition, set up your TOU registers, daily profiles and
calendars. The memory for a profile log is allocated automatically in accordance with the number of TOU registers you defined
in the TOU setup. For each TOU energy and maximum demand register, a separate log sub-partition will be allocated within a
parent log partition. Each of these can be accessed and read individually (see Section 5.24). The number of log parameters in
the record should specify the maximum number of active season tariffs. The file record size will be set in accordance with this
number. If you specified it as less than the actual number of tariffs that may be in effect within a tariff season, then only part of
the tariff registers will be recorded to the profile.
When allocating a memory partition, all partition registers must be written at once using a single request. After reallocation of
memory, the instrument performs the memory optimization and will not respond to the host requests for approximately 1
second per 128 Kbytes of memory.
Writing into registers at o3, +4 and +5 does not affect the register contents. No error will occur.
Table 5-44 Partitions' Record Size
Partition
Record size, byte
Event log
14
Data log
8 + 4
∗
(NUMBER OF PARAMETERS)
5.20 Data Log Setup Registers
Table 5-45 Data Log Setup Registers
Partition
Registers (see Table 5-46)
Data log #1
1792-1807
Data log #2
1808-1823
Data log #3
1824-1839
Data log #4
1840-1855
Data log #5
1856-1871
Data log #6
1872-1887
Data log #7
1888-1903
Data log #8
1904-1919
Table 5-46 Data Log Setup
Parameter
Offset
Type
R/W
Range
Log parameter #1 ID
+0
UINT16
R/W
See Table 5-2
Log parameter #2 ID
+1
UINT16
R/W
See Table 5-2
Log parameter #3 ID
+2
UINT16
R/W
See Table 5-2
Log parameter #4 ID
+3
UINT16
R/W
See Table 5-2
Log parameter #5 ID
+4
UINT16
R/W
See Table 5-2
Log parameter #6 ID
+5
UINT16
R/W
See Table 5-2
Log parameter #7 ID
+6
UINT16
R/W
See Table 5-2
Log parameter #8 ID
+7
UINT16
R/W
See Table 5-2
Log parameter #9 ID
+8
UINT16
R/W
See Table 5-2