© EPRAD Incorporated
6.8 REPORT ID Command
Client
þ
eCNA
The REPORT ID command allows the client get the eCNA’s identification record. The eCNA returns it’s
Device Name, Software Version and Screen Id Number.
Command
CMD,RID,
psn
,
checksum
<CR><LF>
REPORT ID Command Message Format
Parameter
Description
CMD,
Start of Command string (This parameter is always “CMD”).
RID,
Report Id Command string (This parameter is always “RID”).
psn
,
Packet sequence number (0 to 65535). Can be used to match responses with commands, otherwise always 0.
checksum
Checksum (0 to 65535). Unsigned 16-bit decimal sum of all preceding characters or wildcard ‘??’
<CR>
Terminating carriage return. (ASCII control character, 0x0D).
<LF>
Terminating line feed. (ASCII control character, 0x0A).
Response
RSP,RID,
psn
,
err
,
record
,
checksum
<CR><LF>
REPORT ID Response Message Format
Parameter
Description
RSP,
Start of Response string (This parameter is always “RSP”).
RID,
Report Id Response string (This parameter is always “RID”).
psn
,
Packet sequence number (0 to 65535). Can be used to match responses with commands, otherwise always 0.
err
,
Error Number (0 to 999). 0 = okay, else number indicating problem.
record
,
eCNA Id Record. (This record will contain all of the following code strings).
code 1,
code 2,
code 3
Device name = “eCNA-10". ASCII Text. Max. Length = 8 characters.
Software version. ASCII Text. Max. Length = 6 characters.
Screen Id. Decimal number: 0 to 63. Max length = 2 characters.
checksum
Checksum (0 to 65535). Unsigned 16-bit decimal sum of all preceding characters or wildcard ‘??’
<CR>
Terminating carriage return. (ASCII control character, 0x0D).
<LF>
Terminating line feed. (ASCII control character, 0x0A).
RID Command & Response Example
Command
CMD,RID,0,615<CR><LF>
Response
RSP,RID,0,0,eCNA-10,1007,27,1630<CR><LF>
Note: For testing purposes, the don’t care “??” characters can be used in the command instead of a checksum.
99
eCNA-10 Operation and Installation Manual Version 1.270-00