20
Table 4-36 Write Request
Message type (ASCII)
‘j’
Message body (hexadecimal)
Request/Response
Field Offset Length Parameter Range
1 0 2 Pulse counter ID 0-3 (see Table 4-37)
2 2 2 Digital input ID 0-8 (see Table 4-38)
3 4 4 Scale factor - number of units per pulse 1-9999
Table 4-37 Pulse Counters
Counter ID Description
0 Pulse counter # 1
1 Pulse counter # 2
2 Pulse counter # 3
3 Pulse counter # 4
Table 4-38 Digital Inputs
Input ID Description
0 Not allocated
1 Digital input # 1
2 Digital input # 2
4.15 Log Memory Partition Setup
Table 4-39 Read Request
Message type (ASCII)
‘K’
Message body (hexadecimal)
Request
Field Offset Length Parameter Range
1 0 2 Partition number See Table 4-41
Response
Field Offset Length Parameter Range
1 0 2 Partition number See Table 4-41
2 2 8 Partition size, byte 0-524288
3 10 4 The number of records in the partition 0-65535
4 14 4 Record size, byte
5 18 2 The number of log parameters in the
record (for a data log partition)
0-16
6 20 2 Partition type 0 = non-wrap
1 = wrap around
16 = TOU monthly profile log (partition #7 only)
32 = TOU daily profile log (partition #8 only)
Table 4-40 Write Request
Message type (ASCII)
k
Message body (hexadecimal)
Request
Field Offset Length Parameter Range
1 0 2 Partition number See Table 4-41
2 2 4 The number of records in the partition 1-65535,
0=delete partition
3 6 2 The number of log parameters in the
record (for a data log partition)
0-16
4 8 2 Partition type 0 = non wrap
1 = wrap around
16 = TOU monthly profile log (partition #7 only)
32 = TOU daily profile log (partition #8 only)
Response
Field Offset Length Parameter Range
1 0 2 Partition number See Table 4-41