18.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
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 7
Ex.) The byte data 20h is encoded as ASCII characters '2' and '0' (32h and 30h).
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5 "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
ST: Status
00h (30h, 30h): No Error
01h (30h, 31h): Error
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5 "Check code" for a BCC calculation.
Message
STX-'C'-'A'-'0'-'4'-'0'-1'-
Data(0)-Data(1)-Data(2)- --- -Data(n)-ETX
Message
STX-'C'-'B'-'0'-'0'-'0'-'1'-ST-ETX
(91/137)
Check
Delimiter
code
BCC
CR
Check code
Delimiter
BCC
CR