![](/images/new-backgrounds/1278808/278808177x1.webp)
9.2Configuration and Status
i) Data structure
Byte 1: 0xFF
Byte 2: Command Type
0xAA: (SET) Update DVMRe with data.
0xBB: (GET) Extract data from DVMRe.
Byte 3: Data Length (n)
Byte 4: Data Type
0x61: Restart DVMRe
0xFE: Send configuration data to DVMRe
0x09: Read Alarm History from DVMRe
0xFF: Read configuration and status data from DVMRe
Byte 5: Data byte 1
Byte 6: Data byte 2
:
:
Byte x: Data byte n
ii)Sending data to the DVMRe
a)Restart DVMRe Triplex
This command will restart the DVMRe Triplex.
Byte 1: 0xFF
Byte 2: 0xAA
Byte 3: 0
Byte 4: 0x61
b)Send data to DVMRe Triplex
Configuration data can be sent to the DVMRe Triplex, to change the way it operates. The data is arranged in the form of 16 byte blocks, numbered from 1 to 213. Blocks 182, 183 and 185 are status blocks, and hence cannot be written to. For details about the contents of each block, contact
Byte 1: 0xFF
Byte 2: 0xAA
Byte 3: 17
Byte 4: 0xFE
Byte 5: Block Number
| |
Byte 6: data[0] | |
: | : |
: | : |
Byte 21:data[15]
After sending a block or series of blocks, block number 255 must be updated to signal the end of the configuration session. All data bytes for block 255 must be set to 0.
iii) Requesting data from the DVMRe
When a message of type 0xBB is sent to the DVMRe Triplex, it will respond by sending 16 bytes of requested data.
a) Read Alarm History List
Byte 1: 0xFF
Byte 2: 0xBB
Byte 3: 0
Byte 4: 0x09
When the "Read Alarm History List" message is received by the DVMRe Triplex, it responds by sending a start byte 0xFF, followed by ASCII strings for every alarm event in its alarm history list, and a stop byte, 0xFF. Each string is formatted as follows:
dd.bmm/ddbhh:mm:ssbaa<CR><LF>
dd:index number (00 - 99)
b:space character
mm:month
dd:day
hh:hours
mm:minutes
ss:seconds
aa:alarm number
<CR> | Carriage return (0x0D) |
<LF> | Line feed (0x0A) |
Example: 03. 11/27 22:48:58 15
b)Read data from DVMRe Triplex Configuration and status data can be read from the DVMRe Triplex. The data is arranged in the form of 16 byte blocks, numbered from 1 to 213. For details about the contents of each block, contact
Byte 1: 0xFF
Byte 2: 0xBB
Byte 3: 1
Byte 4: 0xFF
Byte 5: Block Number
The DVMRe Triplex responds to the “Read data” request by sending all the requested data bytes consecutively, without any start or stop bytes.
A total of either 16 bytes or 3408 bytes will be transmitted, depending on whether a single block or all the blocks were requested.
89 | DVMRe Triplex |