19.2 Input Name Write
This command is used in order to write the setting of Input Name.
1) The controller requests the monitor to write Input Name.
Header
SOH-'0'-Monitor ID-
'0'-'A'- LN(H)-LN(L)
Header
SOH (01h): Start of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID of which you want to change a setting.
Ex.) If Monitor ID is '1', specify 'A'.
'0' (30h): Message sender is the controller.
'A' (41h): Message type is "Command".
LN(H)-LN(L): Message length (byte length), from STX to ETX
Ex.) The byte data 20h is encoded as ASCII characters '2' and '0' (32h and 30h).
Message
STX (02h): Start of Message
'C'-'A'-'0'-'4' (43h, 41h, 30h, 34h): Input name Command
'0'-'1' (30h, 31h): Write
Data(n) : Input name *n = Max 14
The byte data 20h is encoded as ASCII characters '2' and '0' (32h and 30h).
Ex.) In the case of Input Name "VGA"
Step1: Input Name data is handled as character code.
Step2: The hexadecimal value of each original character is encoded as two ASCII
Result: The following data is assigned to Data(n).
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.3 "Check code" for a BCC calculation.
Delimiter
CR (0Dh): End of packet
2) The monitor replies a written in result.
Header
SOH-'0'-'0'-Monitor ID-
'B'-'0'-'A'
Header
SOH (01h): Start of Header
'0' (30h): Reserved
'0' (30h): Message receiver is the controller.
Monitor ID: Indicate a replying Monitor ID.
Ex.) When this byte is set to 'A', replying monitor's ID is '1'.
'B' (42h): Message type is "Command reply".
'0'-'A'(30h, 41h): Message length (10bytes)
Message
STX (02h): Start of Message
'C'-'B'-'0'-'4' (43h, 42h, 30h, 34h): Input name Command
'0'-'1' (30h, 31h): Write
STX-'C'-'A'-'0'-'4'-'0'-1'-
Data(0)-Data(1)-Data(2)- --- -Data(n)-ETX
Example:
"VGA" -> 56h 47h 41h (ASCII)
characters representing the value.
Example:
56h 47h 41h -> '5'-'6'-'4'-'7'-'4'-'1'
35h 36h 34h 37h 34h 31h
STX-'C'-'B'-'0'-'0'-'0'-'1'-ST-ETX
Message
Message
(83/104)
Check
Delimiter
code
BCC
CR
Check code
Delimiter
BCC
CR