2 file blocks – GBS Elektronik MCA-527 Binary Data Format User Manual
Page 12
![background image](https://www.manualsdir.com/files/787576/content/doc012.png)
MCA527
Position
Name
Data type
References
Byte offset 196 AHRC group 3 width
unsigned long
CMD_QUERY_STATE527_EX2, byte offset 12
Byte offset 200 AHRC group 4 width
unsigned long
CMD_QUERY_STATE527_EX2, byte offset 16
Byte offset 204 AHRC group 5 width
unsigned long
CMD_QUERY_STATE527_EX2, byte offset 20
Byte offset 208 AHRC group 6 width
unsigned long
CMD_QUERY_STATE527_EX2, byte offset 24
Byte offset 212 AHRC group 7 width
unsigned long
CMD_QUERY_STATE527_EX2, byte offset 28
Byte offset 216 AHRC group 8 width
unsigned long
CMD_QUERY_STATE527_EX2, byte offset 32
Byte offset 220 AHRC group 9 width
unsigned long
CMD_QUERY_STATE527_EX2, byte offset 36
Byte offset 224 AHRC trigger threshold
unsigned short CMD_QUERY_STATE527_EX2, byte offset 40
Byte offset 226 Data coding method
unsigned short
3.2 File blocks
Basis file block
This file block already exists. See above.
Timestamps
The file block size corresponds to the used memory size (basis file block, byte offset 72).
There are three data coding methods. The program automatically chooses the data coding
method with the minimal storage requirements.
Data coding method 0: The values are stored with varying byte length. At this method the
bytes are arranged in big-endian order. The first byte always contains the code for the byte
length of the value.
1 byte:
XXXXXXXX
0 … 191
2 byte:
11XXXXXX XXXXXXXX
192 … 12,479
3 byte:
1111XXXX XXXXXXXX XXXXXXXX
12,480 … 798,911
4 byte:
111111XX XXXXXXXX XXXXXXXX XXXXXXXX
798,912 ... 67,907,775
Each value represents the number of time units which are bygone since the previous event.
The time unit length is defined in the basis file block. Values of 67,907,775 means that no
event has occurred for 67,907,775 time units. Only the next value less than 67,907,775 marks
the next event.
Data coding method 1: Each unsigned char value represents the number of time units which
are bygone since the previous event. The time unit length is defined in the basis file block.
Values of 255 means that no event has occurred for 255 time units. Only the next value less
than 255 marks the next event.
Data coding method 2: Each unsigned short value represents the number of time units which
are bygone since the previous event. The time unit length is defined in the basis file block.
Values of 65,535 means that no event has occurred for 65,535 time units. Only the next value
less than 65,535 marks the next event.
RS232 received data
This file block exists if the used memory size (basis file block, byte offset 72) is greater that
zero
, and 'Extension port part A configuration' (basis file block, byte offset 102) is 'RS232
(TX/RX, with data buffering)' (=5) or 'Extension port part C configuration' (basis file block, byte
offset 104) is 'RS232 (RX, with data buffering)' (=5). The file block is already 1024 bytes long.
Remarks
This file block is optional. It is a freely defined file block.
6 If this parameter is missing in the file, data coding method 2 is assumed.
7 If the used memory size is equal to zero, the file contains no measurement data, and consequently also no RS232 received
data.
12