(9/56)
4.1 Header block format (fixed length)
1
st
byte) SOH: Start of Header
ASCII SOH (01h)
2
nd
byte) Reserved: Reserved for future extensions.
MDT652S must be ASCII '0'(30h)
3
rd
byte) Destination: Destination equipment ID. (Receiver)
Specify a command’s receiver’s address.
If the command should be sent to certain monitor only, the either of character ‘A’(41h) to ‘Z’(5Ah)
which is corresponding to monitor ID from No1 to No.26 should be set to this portion. If it
is a broad cast command(only “set command” is available), then the ’*’(2Ah)should be applied.
4
th
byte) Source: Source equipment ID. (Sender)
Specify a sender address.
The controller must be ‘0’(30h).
5
th
byte) Message Type: (Case sensitive.)
Refer to section 4.2 “Message block format” for more details.
ASCII 'A' (41h): Command
ASCII 'B' (42h): Command reply.
ASCII 'C' (43h): Get current parameter from a monitor.
ASCII 'D' (44h): "Get parameter" reply.
ASCII 'E' (45h): Set parameter.
ASCII 'F' (46h): "Set parameter" reply.
6
th
-7
th
bytes) Message Length:
Specify the length of the message (that follows the header) from STX to ETX.
This length includes STX and ETX.
The byte data must be encoded to ASCII characters.
Ex.) The byte data 3Ah must be encoded to ASCII characters '3' and 'A' (33h and 41h).
The byte data 0Bh must be encoded to ASCII characters '0' and 'B' (30h and 42h).
Header
Message
Check code
Delimiter
SOH
Reserved
'0'
Destination
'A'
Source
Message
Type
Message
Length
1
st
2
nd
3
rd
4
th
5
th
6
th
-7
th