Input Name; Input Name Read - NEC X754HB Manual

Hide thumbs Also See for X754HB:
Table of Contents

Advertisement

18. Input Name

18.1 Input Name Read

This command is used in order to read the setting of Input Name.
1) The controller requests the monitor to reply Input Name setting.
Header
SOH-'0'-Monitor ID-
'0'-'A'-'0'-'8'
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".
'0'-'8'(30h, 38h): Message length (8bytes)
Message
STX (02h): Start of Message
'C'-'A'-'0'-'4' (43h, 41h, 30h, 34h): Input Name Command
'0'-'0' (30h. 30h): Read
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 Input Name to the controller.
Header
SOH-'0'-'0'-Monitor ID-
'B'-LN(H)-LN(L)
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".
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'-'B'-'0'-'4' (43h, 42h, 30h, 34h): Input Name command reply
'0'-'0' (30h, 30h): Read
Data(n) : Input name *n = Max 14
Ø
The byte data 20h is encoded as ASCII characters '2' and '0' (32h and 30h).
Ex.) For example when receiving Data(n) of 35h 36h 34h 37h 34h 31h
Step1: Input Name data is encoded as character code.
Step2: Decode pairs of ASCII characters to hexadecimal values.
Step3: Byte data represents the ASCII string data.
Message
STX-'C'-'A'-'0'-'4'-'0'-'0'-ETX
STX-'C'-'B'-'0'-'4'-'0'-'0'-
Data(0)-Data(1)-Data(2)- --- -Data(n)-ETX
Example:
35h 36h 34h 37h 34h 31h -> '5'-'6'-'4'-'7'-'4'-'1'
Example:
'5'-'6'-'4'-'7'-'4'-'1' -> 56h 47h 41h
Check code
BCC
Message
(93/139)
Delimiter
CR
Check
Delimiter
code
BCC
CR

Advertisement

Table of Contents
loading

Table of Contents